Thanks for the patch, I'll take a look.<br><br>The OpenCV online documentation corresponds to the latest version of OpenCV.<br><br>The numpy integration features were added to OpenCV after the ROS boxturtle release, so are not present boxturtle's vision_opencv.<br>

<br>However, <b>latest</b> vision_opencv does have the feature, as will c-turtle.  (Also in this OpenCV, the cv module has the __version__ attribute, which I find useful to avoid confusions:<br><div style="margin-left: 40px;">
<span style="font-family: courier new,monospace;">>>> import cv</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">>>> cv.__version__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">'$Rev: 3057 $'</span><br></div><br><br><div class="gmail_quote">On Thu, Jun 10, 2010 at 6:40 PM, Advait Jain <span dir="ltr"><<a href="mailto:advait@cc.gatech.edu" target="_blank">advait@cc.gatech.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Attached is a patch that seems to work for desired_encoding = 'passthrough'.<br>
<br>
Also, from the opencv python cookbok there should be a cv.fromarray to go<br>
from cvMat to numpy array. I don't see this in the vision_opencv-1.0.3.<br>
What version of the vision_opencv stack does the online documentation<br>
correspond to?<br>
<div><div></div><div><br>
<br>
On Thu, Jun 10, 2010 at 9:00 PM, Advait Jain <<a href="mailto:advait@cc.gatech.edu" target="_blank">advait@cc.gatech.edu</a>> wrote:<br>
> In the python implementation of cv_bridge the imgmsg_to_cv function<br>
> returns a CvMat object instead of an IplImage. This is different from the<br>
> documentation and the C++ implementation. Is this intentional or a bug?<br>
><br>
> Advait<br>
><br>
</div></div><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><br clear="all"><br>-- <br>J.<br><br>