Tool to convert bag files to image files for RealSense
MIT License
This is convert tool that works on cross-platform (Windows, Linux, MacOS) for RealSense. This tool converts all data of each stream types (Color, Depth, Infrared) that contained in bag file to image file.
rs_bag2image -b="./file.bag" -s=true -d=true
rs_bag2image.exe
file.bag
file
|-Color
| |-000001.jpg
| |-000002.jpg
|
|-Depth
| |-000001.png
| |-000002.png
|
|-Infrared 1
| |-000001.jpg
| |-000002.jpg
option | description |
---|---|
-b | input bag file path. (requered) |
-s | enable depth scaling for visualization. false is raw 16bit image. (bool) |
-q | jpeg encoding quality for color and infrared. [0-100] |
-d | display each stream images on window. false is not display. (bool) |
Copyright © 2018 Tsukasa SUGIURA Distributed under the MIT License.