How do I convert focal length from mm to pixels?
37 views (last 30 days)
Show older comments
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 Comments
Answers (2)
bym
on 2 Jul 2011
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
on 23 Jan 2024
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 Comments
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!