Point Cloud to Mask Image
Description
The operator receives one or more point clouds and uses the camera intrinsic matrix to project these 3D points onto the 2D image plane, generating a corresponding binary mask image for each input point cloud. The final generated mask is a filled solid region containing all projected points.
Scenarios
Projecting the calculated 3D point cloud back onto the 2D image allows finding the region corresponding to the 3D object on the 2D image, enabling visual verification of whether the projected contour matches the actual object edges in the image.
Inputs and Outputs
Inputs |
Image: A reference image used to define the dimensions of the output mask. Point Cloud: A list of point clouds. Each point cloud will be converted into an independent mask image. Generally, unorganized point clouds after ROI or segmentation are input. Camera parameters: Camera intrinsics, distortion, color-camera, and passive-stereo parameters. |
Outputs |
Mask image list: A list of binary mask images, the quantity of which is the same as the number of elements in the input point cloud list. |
Parameters
Region Type
Description |
Controls whether projected points remain discrete or are filled as a contour polygon or minimum-area rectangle. |
Tuning Instructions |
Use discrete points for exact occupancy, polygon for the projected contour, or minimum-area rectangle for a rectangular region. |
Parameter Range |
Options: Polygon, Minimum bounding rectangle, Direct Point Cloud Conversion, Default: Polygon |
Parameter Range |
Values/Range:
Default: Polygon |
Image Source
Description |
Selects which camera calibration is used for projection or reconstruction. Auto infers it from the input image where supported. |
Tuning Instructions |
Use Auto when an image is available and identification is reliable; otherwise choose the camera to which the pixels, depth, or desired projection belong. |
Parameter Range |
Options: Auto, Texture camera, depth camera, Default: Auto |
Parameter Range |
Values/Range:
Default: Auto |