Ask Your Question
0

Camera calibration - getting bad rectified image

asked 2013-05-22 03:29:51 -0500

kajtusa gravatar image

Hello,

I am working on a project in which I have to calibrate my cameras, but the problem is that after rectifying the images by this sample I get bad results - the images are several times zoomed. What could be the problem? Could someone help me please?

Here is link where are the left, right camera view and the rectified image.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-23 00:22:07 -0500

NightLife gravatar image

Maybe the problem is the size of your images. The images (Chessboard Images) that you use to calculate calibration matrixes should have the same size with the images that you want to calibrate.

edit flag offensive delete link more

Comments

1

I found out what was problem: when I was using stereoRectify() method from OpenCV I accidently set the alpha parameter to 0, that means that the rectified images is zoomed so just the valid pixels are visible. Also I had to experiment with the flags in method stereoCalibrate, because I don't know the parameters of my cameras. Thank you for your answer.

kajtusa gravatar imagekajtusa ( 2013-05-23 02:13:55 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-22 03:29:51 -0500

Seen: 235 times

Last updated: May 23 '13