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

Example of using image_proc/resize in ROS2 Foxy.

asked 2021-03-01 11:43:16 -0500

joseecm gravatar image

updated 2021-03-01 11:46:36 -0500

Hello all.

I have not been able to find an example of using image_proc/resize in ROS2 Foxy. Can someone give me a usage example from the command line?

Best regards.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-12 11:04:15 -0500

clyde gravatar image

updated 2021-10-12 12:17:55 -0500

I was confused by this as well. The answer appears in the CMake file:


The image_proc executable contains 2 nodes: RectifyNode and DebayerNode. Example usage:

ros2 run image_proc image_proc

You can use various --ros-args to remap topics as needed.

To use ResizeNode you will need to write a launch file. This example might be helpful:

edit flag offensive delete link more

Question Tools



Asked: 2021-03-01 11:43:16 -0500

Seen: 829 times

Last updated: Oct 12 '21