android - What is the focal length of the Nexus 4 rear camera? -


According to the Android-API call "getFocalLength ()", the focal length of Nexus 4 is 4.6 mm and the most

Google search results .

According to the focal length of 3.51 mm

According to my own calculations with the following equation, the focal length should be between 3.3 and 3.4 mm. If you consider some inaccuracies due to the height of the object in pixels, then there may be 3.51 valid values.

Distance (mm) = (Focal Length * realHeightOfObject) / (Pixel WhiteOffAbjectImage * Physical Pixel Size)

The equation can be found in PhD- thesis: (P 121F). This sensor works for the highest resolution of the chip.

It seems that the result of the API call "getFocalLength ()" is incorrect for Nexus 4 and maybe for other devices too! It affects what you do with this API-call, anybody is facing the same issue, or am I missing something?

Edit:

  • I did the same calculation with the Galaxy S3 which is focal length 3.7 mm and this result is valid.

  • Just created a small example app to check whether the results of the focal length () change in focus. This is not the case. It always gives 4.6. The focal length is also always 4.6 in the XF-data of my images.

    Fixed a focal length in the phone camera device (Focus) Changes the distance (between the CDD surface and the convex lens) Because the objects that you want to focus on, these input light rays can not be equally understood, the focus point will move the focal length to the original correction

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -