02-13-2021 04:50 AM
Hello,
I need to use an annulus ROI with imaq count objects vi function.
As far as I see, this function only works with rectangles. But sometimes I have to define the ROI as an annulus.
I know this is possible on VBAI with detect objects function. But I could not find a solution on Labview.
Is there any workaround that I can use annulus ROIs to find objects/blobs?
Below picture is just an example on VBAI. I would like to do the same on Labview.
Solved! Go to Solution.
02-14-2021 04:16 PM
If you just need to count objects, you can unwrap the image, and then apply your choice of tools.
IMAQ Unwrap VI - NI Vision 2019 for LabVIEW Help - National Instruments
Let me know if there are questions!
Good luck.
🙂
02-16-2021 09:25 PM
You can also use IMAQ Convert ROI to Annulus.vi follow by IMAQ ROI to mask2.vi.
Those two functions will do the same like what you have in VBAI
Thanks - Amit
02-17-2021 11:30 PM
Hi,
IMAQ Count Objects 2.vi is not protected. Possible solution could be to use mask the image (Use ROI to Mask) and do particle analysis. You can see the see the block diagram of the VI for reference.
-Hit KUDOS for Thanks
Rahul