Photography Asked by Ammar Taha on September 1, 2020
I have a course problem that asks to calculate the focal length of a camera with the following specifications:
and it requires to compute the focal length (in pixels) along X-axis and Y-axis, and I don’t know how to start.
You can draw a right triangle from the center of the lens to the center of the sensor to the edge of the sensor. The angle at the lens is half the field of view. The leg opposite the angle is half the width of the sensor. The focal length is the other leg. You can find the focal length by trig. The two axes have inconsistent data, so will result in different focal lengths.
Answered by Ross Millikan on September 1, 2020
To work such a problem you need to know the dimensions of the imagining chip. Chips with 480 x 640 and labeled VGA resolution and typically they are CCD’s containing 0.3 megapixels. Typical is a chip measuring 6.6mm height by 8.8mm length. Now using trigonometry we can compute the focal length of a lens that delivers a horizontal angle of view of 60° and a vertical angle of view of 45°.
This works out to 7.9mm focal length.
Answered by Alan Marcus on September 1, 2020
I wrote in the comment section then "Expressing focal length in pixels is weird"
After thinking about it, expressing the data in pixels has a kind of interest.
To answer the question:
With the following definition:
From the formula:
tan(AoF/2) = (W/2) / f
=> f = W/2 / tan(Aof/2)
So in this case (Aof: 60°, W:640px):
f = 640px /2 / tan(60°/2) = 320 * sqrt(3) = 554.256px
Answered by hpchavaz on September 1, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP