Updated by Alexander Shishkov about 13 years ago
I am using ROS electric and the latest OpenCV. [[OpenCV]]. I have a node that takes a 640x480 usb image and resizes it to 320x240 and ships it out. This works fine. Works great and work, on my home laptop. BVut it bombs out on the cv::resize(large,small,cv::Size(),0.5,0.5) command on my other, smaller laptop. I took out the resize and the 640x480 images get published fine, and I can view them using ROS image_view, so the data is good. The only thing I can think of is that this smaller laptop in a 32-bit Ubuntu OS while the others (where the exact same code runs perfectly) are 64-bit. So, is seems that cv::resize() has a problem with 32-bit. BTW the resize doesn't work, no matter what the scaling factors (even 1's).