PolygonToMaskImage

Convert polygon into mask image.

Subscribing Topic

  • ~input (geometry_msgs/PolygonStamped)

    Input 3-D polygon.

  • ~input/camera_info (sensor_msgs/CameraInfo)

    Input camera info to project 3-D polygon. frame_id of ~input and ~input/camera_info should be same.

Publishing Topic

  • ~output (sensor_msgs/Image)

    Mask image to fill ~input polygon. Currently only convex polygon is supported.