views:

570

answers:

1

Hi to all,

Does someone know the field of view values for the new iPhone4 camera? I'm doing some AR app's, and I want to know the horizontal and vertical angle of the rear camera.

Thanks!

+3  A: 

If the sensor is 3.39 mm tall (referenced to landscape mode), then half that is 1.695 mm. Focal length is listed as 3.85 mm. atan(1.695/3.85) is 23.75 degrees from center to top, or 47.5 degrees top to bottom.

For the longer dimension 4.52/2 = 2.26 mm, atan(2.26/3.85) = 30.41 center to side, or 60.8 degrees left to right (again referencing with respect to landscape orientation).

So 47.5 degrees by 60.8 degrees.

Do you need the diagonal as well? (more trig...)

hotpaw2
Nice info hotpaw2! I'm making an AR app using AVFoundation overlay camera, and there the camera image is like the video record on iPhone 4 (is cropped compared with the still camera). I think that this calculations there are not right at all...If the camera has 60.8 degrees horizontally (in landscape), and the app has 480 pixels width, can we say that one degree equivals to 7.89px ?
scummbar
@scummbar have you tried with the 'default' values that are always set in `glFrustum` in a sample OpenGL ES demo app?
rano