ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The point of everything is that I want to process two file images saved in a certain directory using a ros node which outputs a processed image file which should be saved in a certain directory.

Can you explain why you'd want to do that with a ROS node?

The point of everything is that I want to process two file images saved in a certain directory using a ros node which outputs a processed image file which should be saved in a certain directory.

Can you explain why you'd want to do that with a ROS node?

If you're going to read files from a directory and write the output to files in (a different) directory, that sounds like something that could be realised without using ROS -- or at least, without using any of the communication infrastructure ROS offers for input/output of the images (you could of course still use ROS for other functionality).

Answers to all of your questions would be: "yes".

The point of the exercise you link to is to show you how to setup a message processing pipeline with different nodes using topics to communicate (intermediate) results and to make you familiar with the OpenCV integration provided by cv_bridge.

If you're not looking for distributing computation or are comfortable with using file I/O for everything, then that would certainly be ok. But it wouldn't be a ROS image processing application.