Skip to content
Snippets Groups Projects
Commit ed00437b authored by calrama's avatar calrama
Browse files

Merge branch 'findChessboardCornersSB' into 'master'

Use findChessboardCornersSB, which seems to work better

See merge request !1
parents 8cd25bc7 4a25acf5
Branches
No related tags found
1 merge request!1Use findChessboardCornersSB, which seems to work better
...@@ -314,7 +314,7 @@ int main(int argc, char* argv[]) ...@@ -314,7 +314,7 @@ int main(int argc, char* argv[])
bool found; bool found;
int chessBoardFlags = CALIB_CB_ADAPTIVE_THRESH | CALIB_CB_NORMALIZE_IMAGE; int chessBoardFlags = 0;
if(!s.useFisheye) { if(!s.useFisheye) {
// fast check erroneously fails with high distortions like fisheye // fast check erroneously fails with high distortions like fisheye
...@@ -324,7 +324,7 @@ int main(int argc, char* argv[]) ...@@ -324,7 +324,7 @@ int main(int argc, char* argv[])
switch( s.calibrationPattern ) // Find feature points on the input format switch( s.calibrationPattern ) // Find feature points on the input format
{ {
case Settings::CHESSBOARD: case Settings::CHESSBOARD:
found = findChessboardCorners( view, s.boardSize, pointBuf, chessBoardFlags); found = findChessboardCornersSB( view, s.boardSize, pointBuf, chessBoardFlags);
break; break;
case Settings::CIRCLES_GRID: case Settings::CIRCLES_GRID:
found = findCirclesGrid( view, s.boardSize, pointBuf ); found = findCirclesGrid( view, s.boardSize, pointBuf );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment