Match Result NMS (Project to 2D)
Description
This operator performs Non-Maximum Suppression (NMS) on the input Pose list to remove redundant or overlapping pose results. Unlike 3D NMS, this operator determines the degree of overlap by projecting the 3D Model Point Cloud corresponding to each pose onto the 2D image plane and then calculating the 2D Intersection over Union (IoU) of these projections on the image.
The specific process is: First, sort the input poses according to the user-selected strategy (by score or by position); then, for each pose, transform its corresponding Model Point Cloud to that pose and project these 3D points to pixel coordinates using the input Camera intrinsics; next, generate a 2D mask (or optionally use its minimum bounding rectangle) for each projected point set; finally, calculate the IoU between the 2D masks corresponding to different poses. If the IoU is greater than the set threshold, the pose ranked lower is removed.
Scenarios
-
Suppress target object poses that project to almost the same image region.
-
Align 3D target object pose deduplication with image-space overlap.
Inputs and Outputs
Inputs |
Matching results: The input pose list. Scene Point Cloud (Optional): Scene Point Cloud, mainly used to display poses and models in the visualization interface, not directly involved in the NMS calculation logic. Camera parameters: Camera intrinsics, distortion, color-camera, and passive-stereo parameters. |
Outputs |
Match results after filtering: The Pose list remaining after 2D NMS processing. Mask image list: List of 2D projection masks (or masks filled with minimum bounding rectangles) generated for each input pose. Can be used for visualization or debugging. |
Parameters
Initialization Parameters
Model Point Cloud File
Description |
Specifies the PLY model point cloud transformed by each pose and projected for NMS. |
Tuning Instructions |
Choose the model corresponding to the input pose results. |
Parameter Range |
Options: .ply |
Parameter Range |
Values/Range:
|
Use downsampling
Description |
Controls voxel-grid downsampling of the model after loading. |
Tuning Instructions |
Enable to reduce projected model points; disable to retain the loaded points. |
Parameter Range |
Default: True |
Point Cloud Downsampling Interval
Description |
Sets the voxel size used when model downsampling is enabled. |
Tuning Instructions |
Increase to retain fewer model points and generally reduce processing time; decrease to preserve finer model detail. |
Parameter Range |
[0.0, 50.0], Default: 3 |
Parameter Range |
Values/Range: [0.0, 50.0] Default: 3 |
Run Parameters
Sorting Strategy
Description |
Sets the priority order before NMS; earlier poses are retained over later overlapping poses. Score sorts high to low, while position sorts X then Y in descending order. |
Tuning Instructions |
Choose Score to prioritize confidence or Position to prioritize larger X, then larger Y. |
Parameter Range |
Options: By Score, By Position (X then Y), Default: By Score |
Parameter Range |
Values/Range:
Default: By Score |
Intersection IOU Threshold
Description |
Sets the 2D projection IoU above which the later pose is removed. |
Tuning Instructions |
Lower values suppress more poses; higher values retain more overlapping poses. |
Parameter Range |
[0.0, 1.1], Default: 0.5 |
Parameter Range |
Values/Range: [0.0, 1.1] Default: 0.5 |
Take Minimum Bounding Box
Description |
Controls whether each projected mask is replaced by its minimum-area rectangle before IoU calculation. |
Tuning Instructions |
Enable for rectangle-based overlap; disable to use the projected contour mask. |
Parameter Range |
Default: True |
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: Texture camera, depth camera, Default: depth camera |
Parameter Range |
Values/Range:
Default: Depth Camera |