RectToROI

Convert rectangle (geometry_msgs/Polygon) into ROI with camera info (sensor_msgs/CameraInfo).

We expect it will be used with image_view2.

Subscribing Topic

  • ~input (geometry_msgs/Polygon)

    Polygon to represent rectangle region of image.

  • ~input/camera_info (sensor_msgs/CameraInfo)

    Original camera info.

Publishing Topic

  • ~output (sensor_msgs/CameraInfo)

    camera info with ROI filled by ~input.