Holds the information parsed from segmentation network output for one frame.
Holds information parsed from segmentation network output for one frame.
Definition at line 80 of file infer_post_datatypes.h.
Data Fields | |
unsigned int | width |
Width of the output. More... | |
unsigned int | height |
Height of the output. More... | |
unsigned int | classes |
Number of classes supported by the network. More... | |
int * | class_map |
Pointer to the array for 2D pixel class map. More... | |
float * | class_probability_map |
Pointer to the raw array containing the probabilities. More... | |
int * NvDsInferSegmentationOutput::class_map |
Pointer to the array for 2D pixel class map.
Holds a pointer to an array for the 2D pixel class map.
The output for pixel (x,y) will be at index (y * width + x).
The output for pixel (x,y) is at index (y*width+x).
Definition at line 89 of file infer_post_datatypes.h.
float * NvDsInferSegmentationOutput::class_probability_map |
Pointer to the raw array containing the probabilities.
Holds a pointer to an array containing raw probabilities.
The probability for class c and pixel (x,y) will be at index (c * width *height + y * width + x).
The probability for class c and pixel (x,y) is at index (c*width*height + y*width+x).
Definition at line 93 of file infer_post_datatypes.h.
unsigned int NvDsInferSegmentationOutput::classes |
Number of classes supported by the network.
Holds the number of classes supported by the network.
Definition at line 86 of file infer_post_datatypes.h.
unsigned int NvDsInferSegmentationOutput::height |
Height of the output.
Holds the height of the output.
Same as network height.
Definition at line 84 of file infer_post_datatypes.h.
unsigned int NvDsInferSegmentationOutput::width |
Width of the output.
Holds the width of the output.
Same as network width.
Definition at line 82 of file infer_post_datatypes.h.