ros-visualization / rqt_bag

http://wiki.ros.org/rqt_bag
31 stars 55 forks source link

export images from a bag file and save using rqt_bag #8

Open dirk-thomas opened 7 years ago

dirk-thomas commented 7 years ago

From @saikrishna-1996 on July 2, 2015 19:2

this option is not available right now

_Copied from original issue: ros-visualization/rqt_commonplugins#325

dirk-thomas commented 7 years ago

From @ablasdel on July 2, 2015 20:27

I would be open to a pull requests to add a button to the image_view plugin that saves the currently displayed image: https://github.com/ros-visualization/rqt_common_plugins/blob/groovy-devel/rqt_bag_plugins/src/rqt_bag_plugins/image_view.py

is that what you are thinking?

dirk-thomas commented 7 years ago

From @saikrishna-1996 on July 3, 2015 13:43

well, I am a beginner to ROS, and, I don't understand what I am supposed to do with the github code. I have a bag file from which I need to extract stereo images

On Fri, Jul 3, 2015 at 1:57 AM, Aaron Blasdel notifications@github.com wrote:

I would be open to a pull requests to add a button to the image_view plugin that saves the currently displayed image: https://github.com/ros-visualization/rqt_common_plugins/blob/groovy-devel/rqt_bag_plugins/src/rqt_bag_plugins/image_view.py

is that what you are thinking?

— Reply to this email directly or view it on GitHub https://github.com/ros-visualization/rqt_common_plugins/issues/325#issuecomment-118157312 .

dirk-thomas commented 7 years ago

From @ablasdel on July 3, 2015 15:14

If you have a specific problem you need solved I think a better solution is to ask your question over at answers.ros.org. Writing a simple node to dump the topic to a file would probably get you there quicker anyway.

I still think this enhancement is a good idea and if anyone out there has time to work on it I would be willing to review the pull request.

dirk-thomas commented 7 years ago

I have created a PR to extend rqt_image_view to export images to files: ros-visualization/rqt_common_plugins#326

While that does not solve this specific use case I thought it was a useful first step.

shoemakerlevy9 commented 6 years ago

Not sure if this was saikrishna-1996's original idea but it would be nice to export all images published to a camera topic (raw or compressed) so that they can be used for training nueral networks.