Convert polygon array into label image. Label starts with 1 and 0 mean the pixel does not belong to any polygons. No z-buffer is taken into account and occlusion is not solved correctly.
Frame ID of polygons and camera_info must be the same.
Input 3-D polygon array.
Input camera info to project 3-D polygon.
Label image filled with
~inputpolygons. Currently only convex polygon is supported.
roslaunch jsk_perception sample_polygon_array_to_label_image.launch