doku error
Hi
I also found a bug in the doku: http://docs.opencv.org/doc/tutorials/calib3d/camera_calibration/camera_calibration.html
The camera matrix. If we used the fixed aspect ratio option we need to set the f_x to zero:
cameraMatrix = Mat::eye(3, 3, CV_64F);
if( s.flag & CV_CALIB_FIX_ASPECT_RATIO )
cameraMatrix.at<double>(0,0) = 1.0;
shouldnt that become
Matrix.at<double>(0,0) = 0.0; ??
best regards Gerald
Hmm I am rather thinking that the text is wrong. AFAIK the fx parameter is a multiplier. By making it 1 you will have no ration aspect. Making it 1.5 for example and fy 1 would create a different aspect ration. So I would say description is wrong and not the value itself.
but the value is already 1 from Mat::eye. Then the whole if() does nothing...
hmm indeed, looked passed that. guess we need an expert in calibration here ... haven't done it before so.