[ros-users] Camera_calibration Error: Stereo calibration

James Bowman jamesb at willowgarage.com
Sun Apr 25 22:57:13 UTC 2010


Hi Adam,

Is this the monocular or stereo calibrator?
And what size image /camera is this working with?

On Sun, Apr 25, 2010 at 2:50 PM, Adam Stambler <adasta at gmail.com> wrote:

> Hello Folks,
>
> I am using boxturtle to do stereo calibration.  I have been running the
> cameracalibrator.py node with no trouble up until the point where it needs
> to calibrate.  When I hit the green calibrate button, and it outputs this
> error message:
>
> epipolar error: 0.740361764685
> OpenCV Error: Assertion failed (src.type() == dst.type() && dst.size() ==
> mapx.size()) in cvRemap, file
> /home/asher/ros/stacks/vision_opencv/opencv2/build/opencv-svn/src/cv/cvimgwarp.cpp,
> line 3083
> Exception in thread Thread-9:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
>     self.run()
>   File "./cameracalibrator.py", line 59, in run
>     self.function(m)
>   File "./cameracalibrator.py", line 233, in handle_stereo
>     lscrib = self.c.lremap(lrgb)
>   File
> "/home/asher/ros/stacks/image_pipeline/camera_calibration/src/camera_calibration/calibrator.py",
> line 407, in lremap
>     cv.Remap(src, r, self.lmapx, self.lmapy)
> error: src.type() == dst.type() && dst.size() == mapx.size()
>
> I am a bit flummoxed by the error as the arguments to lremap all seem to be
> OK.  Is there some way I could be making a mistake in setting up the
> calibrator?
>
> Have other people had this problem with the current revision of boxturtle?
>
>
> Thank you for the help and guidance,
> Adam Stambler
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100425/d53ea8fa/attachment-0003.html>


More information about the ros-users mailing list