Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/UnaNancyOwen/rs_bag2image
Tool to convert bag files to image files for RealSense
https://github.com/UnaNancyOwen/rs_bag2image
Last synced: 3 months ago
JSON representation
Tool to convert bag files to image files for RealSense
- Host: GitHub
- URL: https://github.com/UnaNancyOwen/rs_bag2image
- Owner: UnaNancyOwen
- License: mit
- Created: 2018-04-14T19:18:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-06T04:39:46.000Z (over 1 year ago)
- Last Synced: 2024-10-27T12:42:29.150Z (4 months ago)
- Language: C++
- Size: 16.6 KB
- Stars: 69
- Watchers: 8
- Forks: 16
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-ros-tools - rs_bag2image - convert tool that works on cross-platform (Windows, Linux, MacOS) **for RealSense**. (Bag files / Extracting data)
README
rs_bag2image
============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.Sample
------
### Command
```
rs_bag2image -b="./file.bag" -s=true -d=true
```
### Output
```
rs_bag2image.exe
file.bag
file
|-Color
| |-000001.jpg
| |-000002.jpg
|
|-Depth
| |-000001.png
| |-000002.png
|
|-Infrared 1
| |-000001.jpg
| |-000002.jpg
```Option
------
| 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) |Environment
-----------
* Visual Studio 2015/2017 / GCC 5.3 / Clang (require\
supported)
* RealSense SDK 2.x (librealsense v2.x)
* OpenCV 3.4.0 (or later)
* CMake 3.7.2 (latest release is preferred)License
-------
Copyright © 2018 Tsukasa SUGIURA
Distributed under the [MIT License](http://www.opensource.org/licenses/mit-license.php "MIT License | Open Source Initiative").Contact
-------
* Tsukasa Sugiura
*
*