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 conversion (based on the function's source code). But i can't understand the apertureWidth and apertureHeight parameters.
Can someone help me?