tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.59k stars 1.23k forks source link

Is it ok to run lsd_slam on a color topic without converting it to monochrome ? #232

Open ap108 opened 7 years ago

ap108 commented 7 years ago

Hi

Thanks for the LSD-SLAM package. I've been running it on the "camera/rgb/image_color" from a kinect bag file and seems to have been working fine.

But I saw http://answers.ros.org/question/208413/how-to-use-lsd-slam-with-a-usb-webcam/
which said you have to use monochrome images.

Is it ok to run lsd_slam on a color topic without converting it to monochrome ?

Does it affect the results in anyway ?

Thank you

af-silva commented 7 years ago

Hi,

You can run lsd_slam using a color topic, the lsd_slam will convert to monochrome for you. The important thing that you have to have in mind, is to give the lsd_slam the correct resolution, I suggest that you crop the image using the video_stream_opencv package. You can use another package if you don't trust the conversion to monochrome to do this job XD

I hope it helped.

ap108 commented 7 years ago

Cool, thanks!