Some RGBD camera drivers (in my case, the Orbbec Astra's) publish IR images as mono16, whereas the nifty command line capture tool expects images to use rgb8. This means that the IR images end up as entirely black -- not especially useful. I wanted to use IR images in my calibration process so I added a special case to command_line_cal.cpp to massage the bytes into the right configuration.
There's probably a better/cleaner/more elegant way to do this but I just wanted to get this tweak out there since it helped me solve a problem.
Some RGBD camera drivers (in my case, the Orbbec Astra's) publish IR images as
mono16
, whereas the nifty command line capture tool expects images to usergb8
. This means that the IR images end up as entirely black -- not especially useful. I wanted to use IR images in my calibration process so I added a special case tocommand_line_cal.cpp
to massage the bytes into the right configuration.There's probably a better/cleaner/more elegant way to do this but I just wanted to get this tweak out there since it helped me solve a problem.