Merge pull request #4084 from berak:patch-2

This commit is contained in:
Vadim Pisarevsky 2015-06-03 07:25:51 +00:00
commit 8ad6ba82fc

View File

@ -159,7 +159,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";