Why is the Charuco Board Calibration so much better against a flipping Z-Axis then the normal OpenCV chessboard?

asked 2017-12-12 03:38:18 -0600

sarah1802 gravatar image

updated 2017-12-13 07:12:01 -0600

Hi Together,

I have many problems with a flipping Z-Axis on my ArUco Markers when I used the normal OpenCV chessboard. Since I used the CharUco Board to calibrate my camera, I have nearly no flipping axis anymore. But I have no idea why it is so much better? For sure it is much more accurate but in which way does this affect the flipping axis?

Thank you for every answer :) Sarah

edit retag flag offensive close merge delete

Comments

1

Can you post the images with the chessboard when there is the issue?

Other people have experienced the Z-axis issue but as the number of points were low (4 points), it could be possible there is something like a singularity when solving for the pose. With much greater number of points, it makes sense if the issue disappears. In your case, it is strange that there is an issue with the chessboard as the number of points is high.

Eduardo gravatar imageEduardo ( 2017-12-12 09:41:14 -0600 )edit
1

Thank you for your response. I am not able to post a picture but I am uploaded it here: http://www.bilder-upload.eu/show.php?...

sarah1802 gravatar imagesarah1802 ( 2017-12-13 07:13:53 -0600 )edit

Thanks for the image, I have understood the issue now.

Somehow, it looks like the intrinsic parameters estimated using the CharUco Board were "more accurate" than using the classical chessboard and do not impact negatively the pose estimation (solvePnP) from Aruco marker. Calibration can be a tricky step. Looks like you had the same issue than the post I have linked. I don't think you can do much about the Z-axis flipping. If you have the issue again, maybe:

  • try to use the refine option when detecting the marker to have more precise corner coordinates
  • try to detect if the rotation matrix is right-handed and try to "fix it" somehow, maybe with polar decomposition of the rotation matrix?
Eduardo gravatar imageEduardo ( 2017-12-13 08:50:39 -0600 )edit

A big thank to you! I hope it will help other people to calibrate with CharUco instead of the "normal" chessboard :)

sarah1802 gravatar imagesarah1802 ( 2017-12-13 09:29:27 -0600 )edit

The camera calibration step can be tricky as it requires:

  • a chessboard object the most possible flat
  • multiple acquired images with good views (multiple orientations, positions in space), see for instance

To be honest, I cannot guarantee that calibrating with CharUco is better than the regular one as the main advantage of CharUco should be that it can handle occlusion of the CharUco board.

Eduardo gravatar imageEduardo ( 2017-12-13 10:27:32 -0600 )edit