How do I convert focal length from mm to pixels?
35 次查看(过去 30 天)
显示 更早的评论
Hello,
I used the Exif data to determine the focal length of an image. and i get it with measure unit (mm) and in need to convert it to pixels
How do I convert focal length from mm to pixels??
0 个评论
回答(2 个)
bym
2011-7-2
Does the Exif data contain the CCD width information? If so, use: focal length in pixels = (image width in pixels) * (focal length in mm) / (CCD width in mm)
George Abrahams
2024-1-23
Let F be the focal length in mm, be the focal length in pixels, and be the pixel size in mm.
Then, and .
The values for should be available in, or derivable from, the camera's technical specifications.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!