NVIDIA DeepStream SDK API Reference

6.4 Release
NvDsPostProcessSegmentationOutput Struct Reference

Detailed Description

Holds information parsed from segmentation network output for one frame.

Definition at line 463 of file post_processor_struct.h.

Data Fields

unsigned int width
 Holds the width of the output. More...
 
unsigned int height
 Holds the height of the output. More...
 
unsigned int classes
 Holds the number of classes supported by the network. More...
 
int * class_map
 Holds a pointer to an array for the 2D pixel class map. More...
 
float * class_probability_map
 Holds a pointer to an array containing raw probabilities. More...
 

Field Documentation

◆ class_map

int* NvDsPostProcessSegmentationOutput::class_map

Holds a pointer to an array for the 2D pixel class map.

The output for pixel (x,y) is at index (y*width+x).

Definition at line 473 of file post_processor_struct.h.

◆ class_probability_map

float* NvDsPostProcessSegmentationOutput::class_probability_map

Holds a pointer to an array containing raw probabilities.

The probability for class c and pixel (x,y) is at index (c*width*height + y*width+x).

Definition at line 477 of file post_processor_struct.h.

◆ classes

unsigned int NvDsPostProcessSegmentationOutput::classes

Holds the number of classes supported by the network.

Definition at line 470 of file post_processor_struct.h.

◆ height

unsigned int NvDsPostProcessSegmentationOutput::height

Holds the height of the output.

Same as network height.

Definition at line 468 of file post_processor_struct.h.

◆ width

unsigned int NvDsPostProcessSegmentationOutput::width

Holds the width of the output.

Same as network width.

Definition at line 466 of file post_processor_struct.h.


The documentation for this struct was generated from the following file: