02-24-2015 09:20 AM
Hi,
I use the CWIMAQViewer in my VB.Net application to display images from a CCD camera. I want to use the toolbar that comes with the viewer to draw graphics (e.g. a circler) over the image. Is it possible to get the position and radius of the circle as I drag it and change its size? If not, what library should I use (I do have the NI Vision module) to achieve my goal? Thank you so much for your help.
02-25-2015 06:51 PM
Have you tried to use any of the overlays? That's where I'd start if I wanted to draw a circle over a portion of the image.
02-26-2015 10:41 AM
@BoKnows wrote:
Have you tried to use any of the overlays? That's where I'd start if I wanted to draw a circle over a portion of the image.
I can draw a circle overlay over the image with no problem. My question is: when I move the circle or change its size, is there a way to know its new location and size?
02-27-2015 09:16 PM
Try creating the circle as a ROI. Then take a look at ROI properties. As an example, ROITop Property: CWIMAQ.ROITop