Giter Site home page Giter Site logo

Comments (4)

enzyme69 avatar enzyme69 commented on June 21, 2024

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

from camerasensorsizedatabase.

enzyme69 avatar enzyme69 commented on June 21, 2024

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

from camerasensorsizedatabase.

enzyme69 avatar enzyme69 commented on June 21, 2024

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.

from camerasensorsizedatabase.

slowly77 avatar slowly77 commented on June 21, 2024

@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

from camerasensorsizedatabase.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.