Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Conversation focal distance from mm to pixels

For my calculations i need the local length in pixels(opencv format). The andriod API getFocusDistances(float[]) give me the focal length in mm. I try to convert from mm to pixels

In opencv exists the function cv::CalibrationMatrixValues that convert from pixels to mm. I want to do the inverse conversation (based on the function's source code). But i can't understand the apertureWidth and apertureHeight parameters.

Can someone help me?

click to hide/show revision 2
No.2 Revision

updated 2013-07-19 03:00:40 -0600

berak gravatar image

Conversation Conversion focal distance from mm to pixels

For my calculations i need the local length in pixels(opencv format). The andriod API getFocusDistances(float[]) give me the focal length in mm. I try to convert from mm to pixels

In opencv exists the function cv::CalibrationMatrixValues that convert from pixels to mm. I want to do the inverse conversation conversion (based on the function's source code). But i can't understand the apertureWidth and apertureHeight parameters.

Can someone help me?