ros-visualization / rqt_bag

http://wiki.ros.org/rqt_bag
30 stars 54 forks source link

support 16-bit bayer images #45

Closed bk-mtg closed 4 years ago

bk-mtg commented 4 years ago

At least in the same limited sense as 8-bit bayer images, namely that they are displayed as monochrome and scaled to 8 bits. This may not be the best way to remap these onto 8-bits, but at least it's something and its consistent with what rqt_bag already does with mono 16-bit images.

Also, FWIW, I originally tried to duplicate the code under the mono16 encoding, and I was getting errors from PIL about "unknown raw mode", so I'm concerned that code may be broken.

dirk-thomas commented 4 years ago

Thanks for the improvement.