MxImageMask

Function Usage

Defines the information of image semantic segmentation data transferred between plugins in a stream.

Structure Definition

struct MxImageMask { 
    std::vector<MxMetaHeader> headers;
    std::vector<std::string> className;
    std::vector<int32_t> shape;
    int32_t dataType;
    std::string dataStr;
}

Parameter Description

Parameter

Input/Output

Description

headers

Input

Header information of semantic segmentation data

className

Input

Class information of semantic segmentation data

shape

Input

Shape information of semantic segmentation data

dataType

Input

Semantic segmentation data type. For details, see MxDataType.

dataStr

Input

Actual semantic segmentation data memory