LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Draw Fitted Ellipses onto Image

Hello,

 

I am currently working on an image processing project that requires fitting ellipses to certain features of an image. I have been able to do this quite effectively using the NI Vision Assistant. However, it would be greatly helpful if I could draw my fitted ellipses on the original image, which I have not yet been able to accomplish. For example, if I could find a way to use the "Processed Image" from the Vision Assistant (including the fitted ellipses) and overlay this onto my original image, I would be very happy. Or, a methof to manually use the fitted ellipses parameters (location, major/minor axes, and orientation) to draw ellipses onto my original image would work, too. 

 

Thanks in advance!

Andrew

 

 

0 Kudos
Message 1 of 2
(2,896 Views)

Greetings;

 

After doing a bit of research, I came across the following discussion:

http://forums.ni.com/t5/Machine-Vision/How-do-I-draw-an-ellipse-in-IMAQ/td-p/1666796

 

In it, they are using the IMAQ Overlay Oval with a few transformations; would it happen to be something similar to what you are looking into? Alternatively, you might also be interested in using the IMAQ Draw and fit an Oval directly with similar transformations. 

 

Let me know if that helps!

 

Simon P.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,849 Views)