Generate Detection Results from Mask List

Description

This operator converts a list of binary mask images into detection instances.

Overview

Extracts polygons from binary masks and creates detection instances.

Scenarios

Converts the results after image segmentation processing into a detection result format for subsequent processing.

Inputs and Outputs

Inputs

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

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

Outputs

Detection Results: A list of detection result information, containing the polygon contour, category, score, and other information for each target.

Parameters

Result Category

Description

Assigns a class number to detection instances generated from binary masks.

Tuning Instructions

The selected number is assigned to each valid instance with an extractable polygon.

Parameter Range

Options: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, Default: 0

Parameter Range

Values/Range:

  • 0

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10

  • 11

  • 12

  • 13

  • 14

  • 15

  • 16

  • 17

  • 18

  • 19

  • 20

  • 21

  • 22

  • 23

  • 24

  • 25

  • 26

  • 27

  • 28

  • 29

Default: 0