Publish resized image and camera_info.

Subscribing Topic

  • ~input/image (sensor_msgs/Image)

    Input image.

  • ~input/camera_info (sensor_msgs/CameraInfo)

    Input camera info.


The subscribing topic name is changed when you remap the one of input image, because it uses image_transport.

Publishing Topic

  • ~output/image (sensor_msgs/Image)

    Resized image.

  • ~output/camera_info (sensor_msgs/CameraInfo)

    Resized camera info.


  • ~resize_scale_x, ~resize_scale_y (Double, default: 0.25)

    Resizing scale.

  • ~use_messages (Bool, default: true)

    If true, topic publishing rate will be limited, and it causes some problems on handling rostime: for example rosbag play --loop won’t work with this option, and the topic publication is stopped.

  • ~msg_par_second (Double, default: 15.0)

    Topic publishing rate if ~use_messages is true.


$ roslaunch resized_image_transport sample_image_resizer.launch