Getting clear kinect depth data
I am using ros node and getting topic with
sub = nh.subscribe("/camera/depth/image", 1, &Subscribe_Depth::callback, this);
and convert to opencv
cv_ptr = cv_bridge::toCvCopy(im, sensor_msgs::image_encodings::TYPE_32FC1);
I am getting kinect depth data but it is too noisy and shaded image. How do ı clean them from image.Is opencv is good way? How else can I do? Any link or code? (I study on ubuntu and use c++ language )
Thanks...