Hi,<br><br>I am working with the stereo calibrator.  I am trying to calibrate a stereo rig with two logitech webcams whose images are  320 by 240.  The camera drivers are based off of modified v4l2stereo code.  Is it possible that we introduced this kind of error with an incorrectly written image publisher?<br>
<br>Thank you again for the help,<br>Adam<br><br><div class="gmail_quote">On Sun, Apr 25, 2010 at 6:57 PM, James Bowman <span dir="ltr"><<a href="mailto:jamesb@willowgarage.com" target="_blank">jamesb@willowgarage.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Adam,<br><br>Is this the monocular or stereo calibrator?<br>And what size image /camera is this working with?<br>


<br><div class="gmail_quote"><div><div></div><div>On Sun, Apr 25, 2010 at 2:50 PM, Adam Stambler <span dir="ltr"><<a href="mailto:adasta@gmail.com" target="_blank">adasta@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hello Folks,<br><br>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:<br>




<br>epipolar error: 0.740361764685<br>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<br>




Exception in thread Thread-9:<br>Traceback (most recent call last):<br>  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br>    self.run()<br>  File "./cameracalibrator.py", line 59, in run<br>




    self.function(m)<br>  File "./cameracalibrator.py", line 233, in handle_stereo<br>    lscrib = self.c.lremap(lrgb)<br>  File "/home/asher/ros/stacks/image_pipeline/camera_calibration/src/camera_calibration/calibrator.py", line 407, in lremap<br>




    cv.Remap(src, r, self.lmapx, self.lmapy)<br>error: src.type() == dst.type() && dst.size() == mapx.size()<br><br>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?<br>




<br>Have other people had this problem with the current revision of boxturtle?  <br><br>Thank you for the help and guidance,<br><font color="#888888">Adam Stambler<br>
</font><br></div></div>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font color="#888888">J.<br><br>
</font><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>