Merge pull request #4085 from berak:patch-3

This commit is contained in:
Vadim Pisarevsky 2015-06-03 07:25:17 +00:00
commit 83ace8d580

View File

@ -158,7 +158,7 @@ StereoCalib(const vector<string>& imagelist, Size boardSize, bool useCalibrated=
{
for( j = 0; j < boardSize.height; j++ )
for( k = 0; k < boardSize.width; k++ )
objectPoints[i].push_back(Point3f(j*squareSize, k*squareSize, 0));
objectPoints[i].push_back(Point3f(k*squareSize, j*squareSize, 0));
}
cout << "Running stereo calibration ...\n";