NVIDIA DeepStream SDK API Reference

4.0.1 Release

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

Detailed Description

Holds the information parsed from segmentation network output for one frame.

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

Field Documentation

int* NvDsInferSegmentationOutput::class_map

Pointer to the array for 2D pixel class map.

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

Definition at line 430 of file nvdsinfer_context.h.

float* NvDsInferSegmentationOutput::class_probability_map

Pointer to the raw array containing the probabilities.

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

Definition at line 433 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::classes

Number of classes supported by the network.

Definition at line 427 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::height

Height of the output.

Same as network height.

Definition at line 425 of file nvdsinfer_context.h.

unsigned int NvDsInferSegmentationOutput::width

Width of the output.

Same as network width.

Definition at line 423 of file nvdsinfer_context.h.


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