Extract Point Cloud from 2D Detection Results With Normals
Description
This operator is a key node connecting 2D vision detection and 3D point cloud processing. It precisely extracts the 3D point cloud of the region where each detection target is located from a corresponding organized point cloud, based on the input 2D detection results (such as masks or bounding boxes output by the "Object Detection" operator).
Scenarios
After completing target detection on a 2D image, use this operator to quickly segment the 3D point cloud corresponding to each target for subsequent 3D analysis. For example, by extracting the point cloud of a specific object, background and irrelevant object interference can be effectively removed, providing a target point cloud for robot grasping.
Inputs and Outputs
Inputs |
Detection Results: 2D detection results: a list containing classification, score, polygon contour, and angle information. Color Image: Image used to produce detections. Point cloud with normals: Organized XYZ point cloud. Camera parameters: Dictionary containing 2D calibration. |
Outputs |
Point Cloud: A list of point clouds, where each point cloud element in the list corresponds to a detection instance in the input. |
Parameters
Bounding Box Scale Ratio
Description |
Only for Bounding box detection, multiplies the width and height of each detection instance’s minimum-area rectangle by this ratio. |
Tuning Instructions |
Use a value below 1 to shrink the extraction region or above 1 to expand it; Segmentation mask detection does not use this parameter. |
Parameter Range |
[0.01, 10.0], Default: 1.0 |
Parameter Range |
Values/Range: [0.01, 10.0] Default: 1.0 |
Reverse Extraction
Description |
When disabled, extracts points inside each detection region by instance; when enabled, outputs points outside all regions as one point cloud. |
Tuning Instructions |
Disable it for target point clouds; enable it for the background after all detection regions are excluded. |
Parameter Range |
Default: False |
Detection Type
Description |
Defines the projected extraction region with a minimum-area rectangle or polygon contour. |
Tuning Instructions |
Select Bounding box for box regions or Segmentation mask for filled contour regions. |
Parameter Range |
Options: Bounding box, Segmentation mask, Default: Bounding box |
Parameter Range |
Values/Range:
Default: Bounding box |
Image Source
Description |
Selects texture- or main-camera calibration for projection. Auto resolves the source from image dimensions and camera parameters and can fall back from unsuitable placeholder texture calibration to valid main-camera calibration. |
Tuning Instructions |
Select Auto when the source can be resolved, Texture camera for a known texture-camera image, or Depth camera for a known main-camera image. |
Parameter Range |
Options: Auto, Texture camera, depth camera, Default: Auto |
Parameter Range |
Values/Range:
Default: Auto |