ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

image_view image_saver

asked 2012-06-11 11:10:20 -0500

mikeS gravatar image

updated 2012-07-06 07:05:43 -0500

tfoote gravatar image

What is this error?

mike@spinach:~/ros_workspace/phototest$ rosrun image_view image_saver image:=/prosilica/image_raw
OpenCV Error: Image step is wrong () in cvInitMatHeader, file /tmp/buildd/ros-fuerte-opencv2-2.4.0-1precise-20120510-1801/modules/core/src/array.cpp, line 162
terminate called after throwing an instance of 'cv::Exception'
  what():  /tmp/buildd/ros-fuerte-opencv2-2.4.0-1precise-20120510-1801/modules/core/src/array.cpp:162: error: (-13)  in function cvInitMatHeader
Aborted (core dumped)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-06 07:05:18 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It looks like your image is improperly formatted. "Image step is wrong"

A quick search finds a lot of similar problems: search

If you want more information you will need to debug a little more and provide more information.

edit flag offensive delete link more

Question Tools


Asked: 2012-06-11 11:10:20 -0500

Seen: 1,448 times

Last updated: Jul 06 '12