09-14-2011 02:51 PM
Hello,
I am trying to work out a grid based system for checking for circular edges on a live image.
Essentially, I want to feed a live image to IMAQ Find Circular Edge that has one circular edge somewhere on a grid and I want the program to tell me where this droplet currently is. Because the grid system is quite large and can change depending on scale, I don't want to make a manual sequence of IMAQ Find Circular Edge VIs that feed into each other, but would rather iterate through a set amount of ROIs. The ROI Descriptor has the Global Rectangle and Annulus descriptors that I need to modify, but I am unsure of how to implement it.
How would I go about achieving this programatically?
Thank you kindly,
Konstantine
09-14-2011 04:42 PM
ROI Descriptors can be tricky to modify. One simpler approach would be to create an array of annuluses (IMAQ Circle Type Def) and call IMAQ Convert Annulus to ROI and IMAQ Find Circular Edge in a loop.
IMAQ Find Circular Edge does not support ROIs with multiple contours.
Christophe
09-15-2011 09:36 AM
Would you be so kind as to describe the steps in creating such an array? Because the IMAQ Find Circular Edge requires both a global rectangle and annulus coordinates, I am a bit confused as to how to create something like that
Thank you in advance,
Konstantine
09-16-2011 12:51 PM
I am attaching a example VI. Just fill in the constant array with the hardcoded values of the annulus you want.
If the problem is to locate the droplet, this brute force approach is probably not the best solution.
If you attach a couple images, we could help better advising on how to locate the droplet.
Best regards,
Christophe