Merge pull request #20304 from vrabaud:master

pull/20306/head
Alexander Alekhin 3 years ago
commit f88fdf6a1b
  1. 2
      modules/calib3d/src/chessboard.cpp

@ -3924,7 +3924,7 @@ bool findChessboardCornersSB(cv::InputArray image_, cv::Size pattern_size,
{ {
meta_.create(int(board.rowCount()),int(board.colCount()),CV_8UC1); meta_.create(int(board.rowCount()),int(board.colCount()),CV_8UC1);
cv::Mat meta = meta_.getMat(); cv::Mat meta = meta_.getMat();
meta = 0; meta.setTo(cv::Scalar::all(0));
for(int row =0;row < meta.rows-1;++row) for(int row =0;row < meta.rows-1;++row)
{ {
for(int col=0;col< meta.cols-1;++col) for(int col=0;col< meta.cols-1;++col)

Loading…
Cancel
Save