SemanticSegInfo

Function

Defines semantic segmentation information.

Structure Definition

class SemanticSegInfo {
public:
    std::vector<std::vector<int>> pixels;
    std::vector<std::string> labelMap;
};

Parameter Description

Parameter

Description

pixels

ID of the class to which each pixel in the image belongs

labelMap

Mapping between class IDs and names