LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extract specific data from cluster

Solved!
Go to solution

Hi,

 

I have a IMAQ FindCircles Vi from which I want to extract the data pertaining radius (in the detected circles) only. Currently I am using Unbundle by Name and manually selecting the radius, however this method is impractical when dealing with images where a greater amount of circles are detected. The following picture describes my situation:

 

LabView cluster.JPG

I want to streamline this process so that the program autmatically extracts the radiuses without me having to do it manually. Some help is dearly apreciated.

0 Kudos
Message 1 of 3
(4,921 Views)
Solution
Accepted by Ahsin

Hi,

 

Instead of converting the array of clusters into a cluster of clusters (by using the array to cluster function) just iterate the array through a for loop. The for loop can extract the radius value using the unbundle by name function. This way you can deal with any number of detected circles. Please see the enclosed image for an illustration...

 

find circles.PNG

 

Hope this helps!

Regards,

Dave.

Senior Software Engineer
www.Adansor.com
Message 2 of 3
(4,914 Views)

The solution was perfect, exactly what I was looking for! Thanks a lot

0 Kudos
Message 3 of 3
(4,904 Views)