Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

low res checkerboard detector gives inconsistent initial corner (ros ticket #4917) #62

Open
ahendrix opened this issue Sep 9, 2013 · 0 comments

Comments

@ahendrix
Copy link
Member

ahendrix commented Sep 9, 2013

This is in reference to pr2_plugs/checkerboard_pose_estimation/src/detector.cpp:

{{{
int ret = cvFindChessboardCornersLowres(&ipl, cvSize(width_, height_),
(CvPoint2D32f_)&points[0], &corners_found);
if (!ret) {
ret = cvFindChessboardCorners(&ipl, cvSize(width_, height_),
(CvPoint2D32f_)&points[0], &corners_found,
CV_CALIB_CB_ADAPTIVE_THRESH);
if(!ret) {
points.resize(corners_found);
return false;
}
}
}}}

When the lowres checkerboard detector is called, the first corner is not always consistent. This makes the pose estimation extremely unreliable.

detector.cpp should only rely on the standard opencv checkerboard detector in order to ensure a consistent first corner is chosen.

trac data:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant