How to measure a cylinder average diameter using Matlab Image Processing?
Ältere Kommentare anzeigen
<<
<<
<<

>>
>>
>>
Hi, I would like to measure average diameter of cylinders (Diamater 7-15") using matlab image processing. I am using a checkerboard and using a V shape jig so I can place the cylinder's center align with checkerboard plane. I calibrate my camera and capture the edges of the cylinder and get an average of each edge and calculate the diameter. Then I can rotate the cylinder and repeat the process. I have two problems: 1.No matter from what direction you look, the cylinder has the same diameter, but the checkerboard angle is different, resulting in different diameters. 2. I have ensured that the checkerboard and cylinder are level but when I get the boundaries in world coordinate, my cylinder is tilted, any idea why? I greatly appreciate it if you have any better ideas on how to measure the diameter of the cylinder (not by looking at it from the top). Thank You Ario
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 2 Sep. 2015
0 Stimmen
Did you see the camera calibrator app: http://www.mathworks.com/products/computer-vision/features.html#camera-calibration
Also, unless your checkerboard is in the plane of the max diameter or you have parallel light rays, you'll have a magnification. For this reason, telecentric lenses are often used in caliper/gauging industrial applications.
Here's an excellent description:
and some others:
1 Kommentar
Ario Madani
am 18 Sep. 2015
Kategorien
Mehr zu MATLAB Support Package for USB Webcams finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!