You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Any pointer on how to calculate iPhone X, XS, XR sensor? #18
I can see the database was kind of up to date on iPhone, but I am trying to calculate the one for iPhone X especially. Any idea? Does it correspond to certain lens, because the Plus size and iPhone X also has 2 lenses? Except for XR.
focal_pix = 4032 pixel * 4 mm / 4.80 mm == 3360 pixel ? --> but what to do with this value?
focal_pix: the focal length in pixels,
focal_mm: the EXIF focal length (mm),
w,h the image of width and height (pixels),
ccdw_mm: the known sensor width size (mm).
Activity
enzyme69 commentedon Nov 11, 2018
iPhone X
focal_pix = (max( w, h ) * focal_mm) / ccdw_mm
focal_pix = 4032 pixel * 4 mm / 4.80 mm == 3360 pixel ? --> but what to do with this value?
focal_pix: the focal length in pixels,
focal_mm: the EXIF focal length (mm),
w,h the image of width and height (pixels),
ccdw_mm: the known sensor width size (mm).
CameraMaker;CameraModel;SensorWidth(mm)
Apple;iPhone 4;4.54
Apple;iPhone 4S;4.54
Apple;iPhone 5;4.54
Apple;iPhone 5S;4.89
Apple;iPhone 6;4.89
Apple;iPhone 6 Plus;4.89
enzyme69 commentedon Nov 11, 2018
I am comparing all the iPhone and trying to get some numbers to work with the formula, it's really confusing at the moment:
CameraMaker;CameraModel;SensorDescription;SensorWidth(mm);SensorHeight(mm),SensorWidth(pixels),SensorHeight(pixels)
Apple;iPhone 4;"1/3.2"" (~ 4.54 × 3.42 mm);4.54;3.42;2592;1936
Apple;iPhone 4S;"1/3.2"" (~ 4.54 × 3.42 mm);4.54;3.42;3264;2448
Apple;iPhone 5;"1/3.2"" (~ 4.54 × 3.42 mm);4.54;3.42;3264;2448
Apple;iPhone 5S;"1/3"" (~ 4.89 × 3.67 mm);4.89;3.67;3264;2448
Apple;iPhone 6;"1/3"" (~ 4.89 × 3.67 mm);4.89;3.67;3264;2448
Apple;iPhone 6 Plus;"1/3"" (~ 4.89 × 3.67 mm);4.89;3.67;3264;2448
enzyme69 commentedon Nov 11, 2018
Searching around Google, I got an arbitrary guess that iPhone X is 4.8mm?
@pmoulon
I think the sensor size is 1/3" so 4.80 mm must be the sensor width.According your metadata, it gives Fpix = std::max ( width, height ) * focalmm / ccdw = 3291 = 4032 * 4 / 4.9Internet seems confused and cannot decide if the sensor size is 1/2.8" or 1/3"
https://forums.macrumors.com/threads/8-8-x-has-the-same-sensor-size-1-3-as-6-6-where-is-the-promoted-improvement.2071530/page-4https://www.gsmarena.com/apple_iphone_x-8858.php
openMVG/openMVG#1203
In my previous test, I am using value of 4.0 from focal length and Regard3D still process it, although not sure about the accuracy.
slowly77 commentedon Jan 28, 2019
@enzyme69 hey,have you finished your work? I want to use openmvg to deal with my photo captured with Iphone 7 PLUS,but i meet the same problem