finding focal length of mobile camera
2 views (last 30 days)
Show older comments
Hi, I want to get specification of my camera e.g., focal length of lens etc.I made a picture of known distance. By measuring pixel difference of known 3D distance, how can I proceed further? I also know how many Mega pixel camera I have. Regards,
0 Comments
Accepted Answer
Ivan van der Kroon
on 20 May 2011
The magnification of a positive lens is M=f/(f-v) (see wikipedia), with f the focal length and v the distance of the center of the lens to the object. So if you can find the magnification with your pixel difference and know distance to the lens, you can find it with this formula.
It is also written on the lens in 99% of the cases.
2 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Support Package for IP Cameras 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!