What is the angle of view of the wide-angle iPhone XS rear camera? I tried searching for this information on google, but I was unable to find a specific number (just that wide-angle lenses are generally between 60 and 85 degrees).
-
\$\begingroup\$ How do I calculate the angle of view from that? \$\endgroup\$– Alecto Irene PerezApr 10, 2019 at 21:31
-
\$\begingroup\$ For a programmatic solution, see stackoverflow.com/questions/55621167/…. \$\endgroup\$– CosmicVarionApr 10, 2019 at 21:38
-
3\$\begingroup\$ Related: What is “angle of view” in photography? \$\endgroup\$– floliloApr 10, 2019 at 21:39
-
\$\begingroup\$ iPhone specs give "35mm equivalent" focal lengths. You can use that to look up the angle of view in a table, such as may be found at nikonians.org: FOV Tables: Field-of-view of lenses by focal length \$\endgroup\$– xiotaApr 10, 2019 at 21:54
2 Answers
The iPhone certainly does NOT have focal lengths of 26 or 52 mm, which are implausible numbers. Because the camera body is only 7.7 mm thick, how could it contain a 26 or 52 mm lens? And also phone sensors are tiny, requiring very short focal lengths to see a normal field width.
The 26 or 52 mm numbers are 35 mm Equivalent focal lengths, and is about the lens that a 35 mm film camera would have to use to see the same field of view as the phone. That Equivalent focal length is a standard specification we often see, but it is about the lens on the 35 mm camera, and is NOT about the lens on the iPhone. It just says both have the same field of view. That is very meaningful to the many users with years of 35 mm film experience, but is about useless info if 35 mm film has no interest. Still, some small cameras do spec it that way. Apple specs say almost nothing about the camera, just f/1.4 and 12 megapixels. No info about sensor size either.
The image Exif data in a photo taken by it will show the focal length. For an iPhone XR camera, it shows FocalLength 4.25 mm, which is a very reasonable number. XR only has the wide angle camera. The Exif also shows FocalLengthin35mmFilm 26 mm.
If any trouble seeing that in the Exif, the free photo viewer Irfanview will show it, at its menu Image - Information, and then the Exif button there.
Or the free ExifTool is the classic Exif answer, but may be less suitable for a computer novice (see my site https://www.scantips.com/lights/exif.html for info).
A couple of other sources show the focal lengths for the XS, at
https://qz.com/1395779/the-amazing-sorcery-of-the-iphones-newest-cameras/
https://blog.halide.cam/iphone-xs-vs-iphone-x-the-camera-hardware-changes-496b40ceae3a
And they say (presumably from their Exif) that the XS is 4.25 mm Wide and they both add the 6 mm Tele focal lengths, and they also show the numbers 26 and 52 mm that are the 35 mm Equivalent Focal Lengths. The Exif should show all of those numbers, but my XR does not have the 6 mm camera.
These are always slightly rounded numbers, but sensor size dimensions can be computed from crop factor. So the numbers make Crop Factors be 26/4.25 = 6.117 crop Wide and 52/6 = 8.667 crop Tele, which is two rather different sensor sizes. So that raises a question, since Apple says both are 12 megapixels (however pitch and sensor size is not specified, so they could be different sizes?) But the crop math is correct, and Apple Exif does specify all those mm numbers just mentioned, so I choose to believe them.
That makes Field of View of the 4.25 mm Wide lens (the so called "26 mm Equivalent") on a 6.117 Crop sensor compute to be 67.3 x 53.06 DEGREE Field of View (for the 4:3 photo aspect ratio). That would also compute Field of View dimensions of 5.3 x 4 feet at 4 feet distance. My sites FOV calculator at https://www.scantips.com/lights/fieldofview.html will compute all of this with with option 3 and 6.117 Crop factor and 4:3 Aspect, along with 4.25 mm focal length (and will also compute sensor sizes in mm accordingly).
The way to verify the field of view for unknowns is to simply lay out a 6 foot tape measure horizontally across the visible field, at a measured distance from camera (that will show less than full length of tape), and take its picture. A further distance is better than closer if you can still read it. If the lens zooms, that is another complication.
Then if that picture captures say 64 inches of tape in the overall width at 48 inches of distance, then that angle of view is 2 x arc tan (48 x 64/2) == 66 degrees of width.
-
\$\begingroup\$ Wow. This was really thorough. Thanks! \$\endgroup\$ Apr 12, 2019 at 4:15
It is easier to search for focal length and calculate the angle of view (AOV) based on that, as typically, we refer to lenses in terms of their focal length and not their AOV.
This is because the focal length is a fixed value (okay, zooms can change in a certain range, but a 70-200mm cannot be changed to e.g. a 35-400mm). It is actually the angle of view that depends on the focal length and the sensor size - when we talk about "35mm equivalent focal length", what is meant is "the focal length that would give the same AOV on a 35mm sensor that this lens offers on a non-35mm-sensor".
µ4/3, for example, has a crop factor of 2 (the sensor is roughly 1/4th of the size of 35mm sensors)1, so a 10mm lens on a µ4/3 sensor creates the same AOV as a 20mm would on a 35mm camera.
1: The crop factors are different, though, so to be exact: the diagonal size (√(w^2+b^2)
) is halfed, but width and height are not exactly halfed, since µ4/3 is 4:3 and 35mm is 3:2.
The second result on DuckDuckGo when searching for "focal length iphone xs":
The main snapper sports a 26mm focal length[...], while the secondary lens features a [...] 52mm focal length.
I take it for granted that those are 35mm-equivalent numbers, because otherwise, those lenses would be...well, you wouldn't need telescopes any more. ;-)
AOV [°] = 2 * arctan( d [mm] / (2 * f [mm]) )
AOV
... angle of view; d
... one of the dimensions of the sensor (35mm has 36x24mm); f
... focal length