NVIDIA DeepStream SDK API Reference

6.2 Release
NvDsInferSegmentationOutput Struct Reference

Detailed Description

Holds information parsed from segmentation network output for one frame.

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

Definition at line 521 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

◆ class_map

int * NvDsInferSegmentationOutput::class_map

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

Pointer to the array for 2D pixel class map.

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

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

Definition at line 531 of file nvdsinfer_context.h.

◆ class_probability_map

float * NvDsInferSegmentationOutput::class_probability_map

Holds a pointer to an array containing raw probabilities.

Pointer to the raw array containing the probabilities.

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

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

Definition at line 535 of file nvdsinfer_context.h.

◆ classes

unsigned int NvDsInferSegmentationOutput::classes

Holds the number of classes supported by the network.

Number of classes supported by the network.

Definition at line 528 of file nvdsinfer_context.h.

◆ height

unsigned int NvDsInferSegmentationOutput::height

Holds the height of the output.

Height of the output.

Same as network height.

Definition at line 526 of file nvdsinfer_context.h.

◆ width

unsigned int NvDsInferSegmentationOutput::width

Holds the width of the output.

Width of the output.

Same as network width.

Definition at line 524 of file nvdsinfer_context.h.


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