10-15-2015 12:25 PM
Hi,
I'm trying to find centroid of two circular objects in an intensity graph. My data type is floating point in 64x64 pixels. Recently I have found a VI from other discussion that discussed the same thing. I make a minor changes and try to obtain the centroid location (x,y). The VI is almost achieve to what I'm looking: it can identify the objects and its centroids. I just wondering if the VI should be able to display the centroid of each objects but it did not happened. What is missing here? If someone can guide me to achieve this I would be grateful. I need to know the location (x,y) of each centroids. Here is the attached image of the VI.
Thank you.
Solved! Go to Solution.
10-15-2015 01:26 PM
I didn't even bother looking at the "attached image of the VI". Please attach the VI itself -- we cannot execute or modify an image. It would also be helpful to attach an example of an image whose centroid(s) you are trying to find. Also, please respond to my comment on your earlier post.
Bob Schor
11-05-2015 06:04 PM
Hi all,
I finally found the solution! I used the IMAQ local threshold and IMAQ find circle to get number of circirls detected and its (x,y) locations. I also used the array to cluster to get the array data.
Ledang