Ask Your Question
2

why the order of colors in drawChessboardCorners() changes?

asked 2020-09-12 16:29:05 -0600

Abeer0d gravatar image

updated 2020-09-13 04:05:38 -0600

I'm doing camera calibration and I noticed that images could have different order in coloring when using the function (drawchessboardcorner) and I removed the images that don't match the dominant order to see the difference in the final result and the mean error decreased a bit (from 0.1 to 0.08), does that mean anything?

here's the two images

image description

edit retag flag offensive close merge delete

Comments

1

You have to use the asymmetric chessboard pattern if you want to have unique chessboard pose.

Eduardo gravatar imageEduardo ( 2020-09-13 04:41:26 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-09-13 03:41:17 -0600

berak gravatar image

updated 2020-09-13 04:17:10 -0600

the color is choosen according to the y position in the image, so that's pretty arbitrary, meaningless.

on the other hand, if you notice a color difference it means, e.g the y position for the top-left quare is not the same in the left and right image, so you either tilted the whole camera pair , or one of them does not look straight, please check.

again, the epilines later must be absolutely horizontal, so take care to align your cams properly.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-12 16:29:05 -0600

Seen: 1,510 times

Last updated: Sep 13 '20