Convert Mask to Grayscale Image

Description

This operator is used to convert the data type of a binarized mask image into a grayscale image.

Overview

Converts binary mask images to single-channel grayscale images.

Scenarios

Primarily used to facilitate connections between different operators and meet the data type requirements of the data flow.

Inputs and Outputs

Inputs

Mask image: The input binary image, typically with pixel values of 0 and 255.

Outputs

Grayscale image: The output grayscale image.