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

Graziano Fracasso's profile - activity

2013-01-07 11:01:31 -0500 received badge  Famous Question (source)
2012-08-17 11:19:12 -0500 received badge  Notable Question (source)
2012-08-17 11:19:12 -0500 received badge  Popular Question (source)
2012-07-31 12:50:27 -0500 answered a question cv_bridge give me darker images

up

I've used " kinect_depth" of type sensor_msgs/Image (Raw 16-bit depth data ) found here: http://www.cs.cmu.edu/~coral/projects/localization/source.html , the bag file is: http://data.cobotrobots.com/cgr_localization/cobot2_ghc7_kinect.bag@piyushk

2012-07-27 13:04:04 -0500 commented question cv_bridge give me darker images

Which ones? I've used " kinect_depth" of type sensor_msgs/Image (Raw 16-bit depth data ) found here: http://www.cs.cmu.edu/~coral/projects/localization/source.html , the bag file is: http://data.cobotrobots.com/cgr_localization/cobot2_ghc7_kinect.bag @piyushk

2012-07-26 08:44:56 -0500 received badge  Organizer (source)
2012-07-26 08:39:25 -0500 asked a question cv_bridge give me darker images

I am using ROS Fuerte on my system running Ubuntu 12.04.

I use those code lines to transform depth image to opencv image, but it give me a darker image ( max and min values < 10 ), but in Rviz I see perfect depth images

parameter : sensor_msgs::ImageConstPtr& msg
cv_bridge::CvImageConstPtr cv_ptr;
cv_ptr = cv_bridge::toCvCopy(msg, enc::MONO8);
image_pub_.publish(cv_ptr->toImageMsg());

How can I fix? Thanks.