LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Distance between centers of circles


input.png

Hi, I am a student doing my project in Labview. I am designing a code for detecting circles in an image without using inbuilt vis. The code I am developing gives the center coordinates and the radius of circles in the image. My next step is to find the distance between the centers. 

For the example image I've attached below. There are 2 rows of circles with each row having 8 circles each. 

I am interested in finding the distance between the circle in top line and bottom line(columnwise). Also I want to find distance between the 1st and 2nd circle, 3rd and 4th circle in a row.

Can any one help me come out with a solution for this

 

Thanks in advance 

0 Kudos
Message 1 of 4
(2,669 Views)

If you have the centers of the circles already.  Then the distance between two points is basic geometry!

0 Kudos
Message 2 of 4
(2,610 Views)

yes I know that, but I want a vi that csn be used to find distance in Labview 

0 Kudos
Message 3 of 4
(2,595 Views)

You would program those math calculations yourself using just a few basic LabVIEW math primitives.

0 Kudos
Message 4 of 4
(2,580 Views)