LabVIEW Development Best Practices Discussions

cancel
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 varied.in 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..

Raj
Message 1 of 8
(14,619 Views)

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

http://forums.ni.com/t5/Machine-Vision/bd-p/200


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
(8,607 Views)

Philippe is absolutely right. However, I cannot resist...so 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: http://digital.ni.com/public.nsf/allkb/815CFD0DACE4AFB08625770F004EE84E

Discussion: http://forums.ni.com/t5/Machine-Vision/Calibration-grids/m-p/1521256?requireLogin=False

Ashish Uttarwar
Certified LabVIEW Developer
0 Kudos
Message 3 of 8
(8,607 Views)

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
(8,607 Views)

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

http://forums.ni.com/t5/LabVIEW/Measure-distance-height-with-Kinect/td-p/2320166

http://sine.ni.com/nips/cds/view/p/lang/en/nid/210938

0 Kudos
Message 5 of 8
(8,607 Views)

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
(8,607 Views)

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
(7,525 Views)

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
(7,336 Views)