MxImageMask

Description

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

Structure Definition

1
2
3
4
5
6
7
struct MxImageMask { 
    std::vector<MxMetaHeader> headers;
    std::vector<std::string> className;
    std::vector<int32_t> shape;
    int32_t dataType;
    std::string dataStr;
}

Parameters

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.