How to measure a cylinder average diameter using Matlab Image Processing?
Afficher commentaires plus anciens
<<
<<
<<

>>
>>
>>
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
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 2 Sep 2015
0 votes
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 commentaire
Ario Madani
le 18 Sep 2015
Catégories
En savoir plus sur MATLAB Support Package for USB Webcams dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!