Closed GoogleCodeExporter closed 8 years ago
Patched. Thanks.
The current Undistort2 wrapping function might be buggy as well, I have no demo
to
test it. I intended to convert the current stereo_calib C demo in OpenCV 1.1
into
Python, and to use it to verify the functions dealing with camera calibration
and
stereo correspondences. But I haven't got time for the task yet.
Minh-Tri
Original comment by pmtri80@gmail.com
on 9 Jan 2009 at 5:22
For what it's worth, I've been using cvUndistort2, cvGetPerspectiveTransform,
and
cvWarpPerspective just fine with OpenCV 1.0 - it was only with 1.1 that
cvUndistort2
is giving strange results. So far I've been loading previously computed camera
and
distortion matricies, but I'll also be doing checkerboard calibration shortly
so will
give those guys a workout. I don't currently have plans for stereo calibration
though.
Since adding this issue though I found a posting identifying a bug in
cvInitUndistortMap in 1.1, which appears to be my issue. Knowing the bug, if I
manually call cvInitUndistortMap and then bias the returned x/y maps via
cvAddS, then
use cvRemap directly, I can match the 1.0 behavior with 1.1.
-- David
Original comment by db3l.em...@gmail.com
on 9 Jan 2009 at 5:28
Original issue reported on code.google.com by
db3l.em...@gmail.com
on 9 Jan 2009 at 6:28Attachments: