ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

image_view image_saver

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

mikeS gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


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

Seen: 1,404 times

Last updated: Jul 06 '12