Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Camera calibration and aspect ratio

$
0
0
Hello! I am calibrating a wide-angle IP Cam. Here as an example of the image after calling remap() with the calibration data: ![image description](/upfiles/14673814658585426.png) Lines are straight. Good. However, notice that the checkboard squares are tall. They are rectangles instead of squares. **Bad.** Should the calibration process have made this good? How do I correct for this? When performing the calibration (for the example posted), I am *not* using the CALIB_FIX_ASPECT_RATIO flag. However, I have tried it with the flag (using it correctly as per the sample) and end up with the same problem. I understand that this flag indicates that there is a known pixel-size-ratio, but if I don't provide the flag, I assumed that this would have been calculated, right? **Edit:** I think think this is definitely related to the camera not having square pixels (at least the resolution I was trying here), but I'm still not clear as to whether OpenCV's calibration should be able to correct for this automatically or not...?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>