Detection Result Overlap Filtering
Description
This operator is used to determine and filter overlaps in image detection instances, suitable for scenarios with multiple detection targets that intersect or overlap. By analyzing the overlap between target masks and minimum bounding boxes in the detection results, it filters out significantly occluded targets and retains clearer, unoccluded detection results.
Overview
Evaluates and filters overlapping image detection instances, removing targets that are significantly occluded by overlap.
Scenarios
-
In multi-object scenarios with partially overlapping targets, filter out significantly occluded targets to improve detection accuracy.
-
In complex scenarios or object stacking environments, used to precisely determine which targets are in the foreground, optimizing subsequent object analysis and processing flows.
Inputs and Outputs
Inputs |
Detection Results: Detection results containing target bounding boxes, classifications, confidence scores, and polygon contours. Image (Optional): Input image. An RGB color image used for drawing. The original image can be used, but it is recommended to input the visualization image output by the deep learning node for better viewing after drawing. This input is optional. |
Outputs |
Top-layer Detection Results: Detection results retained after overlap judgment that are not significantly occluded. Rendered Image: The result image with visualization data drawn on it. Arrows indicate overlap relationships, pointing from the top-layer object to the overlapped object. |
Parameters
Minimum Bounding Box IOU Threshold
Description |
Defines the Intersection over Union (IoU) threshold between the minimum bounding boxes of two targets. Targets whose IoU exceeds this threshold undergo further mask overlap evaluation; targets below it are considered non-overlapping. |
Tuning Instructions |
A smaller value applies stricter filtering, resulting in more targets being filtered out. You can refer to the values displayed below the arrows in the result image to adjust this parameter. |
Parameter Range |
[0,1], Default value: 0.02 |
Parameter Range |
Values/Range: [0.0, 1.0] Default: 0.02 |
Only Check IOU
Description |
When this option is enabled, the operator performs Non-Maximum Suppression (NMS) filtering based solely on bounding box IoU, without conducting a detailed mask overlap ratio analysis. |
Tuning Instructions |
|
Parameter Range |
Values/Range:
Default: False |
Overlap Ratio Difference Threshold
Description |
Targets are judged to significantly overlap only when the difference between their mask overlap-area ratios exceeds this threshold. |
Tuning Instructions |
A smaller value enforces stricter overlap detection criteria, resulting in more targets being filtered out. Fine-tune this parameter based on the values annotated above the arrows in the result image. |
Parameter Range |
[0,1], Default value: 0.12 |
Parameter Range |
Values/Range: [0.0, 1.0] Default: 0.12 |