🟠 Generate Detection Results from Mask List

Function Description

This operator converts a set of binary mask images to detection instances.

Usage Scenarios

Convert results after image segmentation processing to detection result format for subsequent processing.

Input Output

Input

Mask image list: A list composed of multiple mask images, each mask represents a target region to be converted.

Image (optional): Color image, used only for visualization display.

Output

Detection results: A detection result information list containing polygon contours, classes, scores and other information for each target.

Parameter Description

Result Class

Parameter Description

All targets generated from mask images will be uniformly set to this class label.

Parameter Adjustment

If mask images come from different classes, it’s recommended to split first or call this operator by groups; when visualization and analysis by class are needed, please adjust this parameter according to actual situations.

Parameter Range

"0" to "29", supporting 30 classes total.