Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Object length measurement

Solved!
Go to solution

 

hi friends

 

I have to work on vision based project to measure the length of the object.In this project  camera position is not stable,and  zooming also varied ,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
0 Kudos
Message 1 of 5
(4,551 Views)
Solution
Accepted by topic author Pandiyan

It is impossible to measure something accurately if you are changing the zoom on the lens unless you have a reference included in the image that can be used for calibration.  The only way to do it is to calibrate the image at known zoom positions and only use those positions.

 

The distance between the part and the camera is also an issue.  If the distance is changing, the calibration factor changes just like the zoom.  If the distance isn't fixed you need to calibrate at multiple distances and only place objects at those distances.  The only way to make distance not matter is to use a telecentric lens.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 5
(4,533 Views)

 Hi BRUCE Thanks for your reply.i am also suspect that.but now you clarified me .

Raj
0 Kudos
Message 3 of 5
(4,530 Views)

I have been working for some time with high resolution Acama, with adequate lighting and digital zoom I can get 1mm menorahs measures, the automatic zoom was a problem but manually configure the vision assistant

 

3.png

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

if still not solved the problem you can measure distance passing an RGB image to 8bit and extract a color plane insert VERTICAL CLAMP IMAQ function MIN which will measure the minimum height of the piece analyzed, this function block can be located within the MACHINE VISION path / MEASURE DISTANCES

 

5.png

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