I am using it in general not ROS. I want to extract RGB and depth images at runtime(Live) but the method you told can used for recorded video. What can i do for extracting images live?
I found an openCV implemention for this, is this correct acoording to rtabmap format wise for both depth and color images?
http://stackoverflow.com/questions/26848658/opencv-c-how-to-save-a-16bit-image
Thanks :)