LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find image centroid & seperation between two images

How to find image centroid and seperation between the images,
i have 2 images pixel values as shown in the picture i should calculate the centroid of the image & find the distance of seperation of the image.
help me how to do this
I am using LabView 7.1
 
thanks
sk 
 
 
0 Kudos
Message 1 of 5
(7,047 Views)

Do you have IMAQ Vision?  This is not part of what is shipped with LabVIEW but is an additional software package.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 2 of 5
(7,039 Views)
I have a center of energy program similar to the one used by IMAQ. I have attached an example using your data. I first found the center of the entire image. Then I split the array in two and found the centers of each half. That gives you the position of the two spots. This program won't work if the spots are too close to each other or are separeted in the other axis.
0 Kudos
Message 3 of 5
(7,030 Views)

I am detecting the later ventricle of brain contours.After that I wanted to extract that single contour and wanna detect centroid of that contour.

Finally I wanna measure distance between centroid to boundry or contour .. Can you help me in this regard ???

My mail id is d4.damu@gmail.com.If find out the code or algorithm plz send to my mail id ..

 

Thank you

0 Kudos
Message 4 of 5
(5,422 Views)

sir m having a problem i.e. m unable to find the centroid of the image captured by an usb cam 

actually m trying to trace the motion of an object, the cam will capture the image with an interval of 2 or 3 sec, n i need the centroid of all the images one at a time. this image centroid will compared to the original image centroid n the cam will move accordingly using stepper motor.

 

 

 

 

 

 

please help me to complete it...

0 Kudos
Message 5 of 5
(4,507 Views)