11-24-2009 02:24 PM
I am trying to use the annulus control on the front panel to specify a circle of a particuly pixel radius, and I'd like to be able to drag the circle around to different X/Y positions. I have been able to do that, but the problem is, I can't see where the annulus is located on my image (the annulus controls do not output the corresponding circle anywhere)--there's no visual feedback, only text output in the control boxes. Alternatively, I have been able to create a circle overtop of my image that acts as a region of interest using the ROI property on the property node. The problem here is that I cannot specify the pixel radius of the circle I draw overtop of my image.
So basically I want to have a circle appear overtop of my image indicating the ROI and I want to be able to control the radius through a controls box.
Jessica
Solved! Go to Solution.
11-25-2009 05:32 PM
Hello Jessica,
You can use the IMAQ Convert Annulus to ROI VI and the IMAQ Overlay ROI VI to accomplish this. The IMAQ Convert Annulus VI takes a control input through which you can specify the radius, X,Y and angles of the annulus. After that, the IMAQ Overlay ROI VI will allow you to see the annulus displayed in the Image Display control. I hope this helps.
11-30-2009 09:21 AM
10-04-2016 12:08 PM
The problem with that routine is it is an integer. The circle and radius is usually subpixel !
10-05-2016 04:48 PM - edited 10-05-2016 04:48 PM
Hi ChuckS,
Thanks for posting on the forums! If you're just trying to add info to this post, we appreciate it! If you're looking for help with this function, I'd recommend starting a new thread that will be more recent and therefore more likely to have visiblity for the rest of our community. If you're looking for a place to suggest a change to this function, you can head over to the Idea Exchange (http://forums.ni.com/t5/Vision-Idea-Exchange/idb-p/visionideas) and post there.
Best!