LabVIEW Development Best Practices Discussions

Showing results for 
Search instead for 
Did you mean: 

vision distance measurement

hi friends

i have to work on vision based project to measure the lengh of the object.In this project  camera position is not stable,and  zooming also this case how to make accurate distance measurement.?

now i developed the edge detection method to measure distance between two points .but if zoom is changed ,its wont give proper value...

so pls tell me what steps i need to do..

expecting your replay..

0 Kudos
Message 1 of 8

I think your question might receive a quicker answer by asking it in the NI Forums. I would suggest the Machine Vision section:

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 2 of 8

Philippe is absolutely right. However, I cannot here is my response.

Ideally, you need to calibrate the image in order to get robust results.  This will also help with the unstable camera position. Calibration involves adding a calibrated feature in the image. The information about the calibrated feature and the measurement values help to compute the measurements of interest more precisely.

Here are some helpful links:

Calibration features:


Ashish Uttarwar
Certified LabVIEW Developer
0 Kudos
Message 3 of 8

If you have a feature of a known length, let's say on the platform where you put your test object, you can calculate the offset/factor by which the measured length has changed and apply the same offset/factor to the feature you are trying to measure. You could create markings at known distances on the platform, at about the same depth as the feature you are trying to measure.

0 Kudos
Message 4 of 8

Hello, I see you do not find the solution, try with it Kinect sensor is a good alternative, you can consult the following link

0 Kudos
Message 5 of 8

i tried using the kinesthesia toolkit as u suggested but could not figure out how to measure distance,, Can you please help me?

0 Kudos
Message 6 of 8

I Would like to know how to measure the distance between camera and image for tracking process.Do u know any method for measurement and answer me.

0 Kudos
Message 7 of 8

Distance is difficult to measure with a standard single camera. Stereovision would be better. 

You might want to try a marker, ARmarker for instance. But that probably hasn't any Labview support.

0 Kudos
Message 8 of 8