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

Simple question: "Raw uint16 IR image" meaning ?

asked 2014-06-27 05:17:51 -0500

ROSkinect gravatar image

updated 2014-06-30 04:34:18 -0500

Hi there my question is very simple, what does it mean: "Raw uint16 IR image" ? (it's topic's data information: /camera/ir/image_raw)

and what should I put at rgb8 place when subscribing to that topic :

cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::rgb8);

Thank you so much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-06-27 17:37:37 -0500

fergs gravatar image

It would mean that image has only a single unsigned 16-bit value per pixel. The actual meaning of that 16-bit value would be driver specific.

For cv_bridge, you probably want sensor_msgs::image::encodings::TYPE_16UC1 which would be a single channel of 16-bit values.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-27 05:17:51 -0500

Seen: 277 times

Last updated: Jun 30 '14