NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvDsInferSegmentationOutput Struct Reference

Detailed Description

Holds information parsed from segmentation network output for one frame.

Definition at line 454 of file nvdsinfer_context.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

int* NvDsInferSegmentationOutput::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 464 of file nvdsinfer_context.h.

float* NvDsInferSegmentationOutput::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 468 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::classes

Holds the number of classes supported by the network.

Definition at line 461 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::height

Holds the height of the output.

Same as network height.

Definition at line 459 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::width

Holds the width of the output.

Same as network width.

Definition at line 457 of file nvdsinfer_context.h.


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