diff --git a/modules/calib3d/src/chessboard.cpp b/modules/calib3d/src/chessboard.cpp index 8716e9ce24..74238ecf84 100644 --- a/modules/calib3d/src/chessboard.cpp +++ b/modules/calib3d/src/chessboard.cpp @@ -3323,14 +3323,16 @@ cv::Scalar Chessboard::Board::calcEdgeSharpness(cv::InputArray _img,float rise_d // build vertical lines for(int col = 1;col< tcols-1;++col) { - std::vector::const_iterator iter1 = centers.begin()+col; - std::vector::const_iterator iter2 = iter1+tcols; - for(int row= 0;row >::const_iterator iter = pairs.begin();