measure height of object in millimeter
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Walaa
el 3 de Dic. de 2022
Comentada: Walaa
el 3 de Dic. de 2022
If I have these details (FOV, distance between the object and the lens, object height in pixels), is it possible to measure the object's height in millimetres, provided that I am unable to measure the physical height of the object?
0 comentarios
Respuesta aceptada
Image Analyst
el 3 de Dic. de 2022
Yes. If you know the FOV (field of view) in mm then you can. Of course you know the size of your image. So the spatial calibration vertically = (FOV in mm) / (num rows in image array)
mmPerPixel = size(imageArray, 1) / FOVinMm
So now, for any arbitrary object height in pixels in your image, it's real world height in mm is
heightInMm = heightInPixels * mmPerPixel
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!