NVIDIA DeepStream SDK API Reference

4.0.1 Release

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

Detailed Description

Holds the segmentation model output information for one frame / one object.

The "nvinfer" plugins adds this meta for segmentation models.

This meta data is added as NvDsUserMeta to the frame_user_meta_list of the corresponding frame_meta or object_user_meta_list of the corresponding object with the meta_type set to NVDSINFER_SEGMENTATION_META.

Definition at line 100 of file gstnvdsinfer.h.

Data Fields

guint classes
 Number of classes in the segmentation output. More...
 
guint width
 Width of the segmentation output class map. More...
 
guint height
 Height of the segmentation output class map. More...
 
gint * class_map
 Pointer to the array for 2D pixel class map. More...
 
gfloat * class_probabilities_map
 Pointer to the raw array containing the probabilities. More...
 
void * priv_data
 Private data used for the meta producer's internal memory management. More...
 

Field Documentation

gint* NvDsInferSegmentationMeta::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 110 of file gstnvdsinfer.h.

gfloat* NvDsInferSegmentationMeta::class_probabilities_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 113 of file gstnvdsinfer.h.

guint NvDsInferSegmentationMeta::classes

Number of classes in the segmentation output.

Definition at line 103 of file gstnvdsinfer.h.

guint NvDsInferSegmentationMeta::height

Height of the segmentation output class map.

Definition at line 107 of file gstnvdsinfer.h.

void* NvDsInferSegmentationMeta::priv_data

Private data used for the meta producer's internal memory management.

Definition at line 115 of file gstnvdsinfer.h.

guint NvDsInferSegmentationMeta::width

Width of the segmentation output class map.

Definition at line 105 of file gstnvdsinfer.h.


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