NVIDIA DeepStream SDK API Reference6.1.1 Release |
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 104 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... | |
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 114 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 117 of file gstnvdsinfer.h.
guint NvDsInferSegmentationMeta::classes |
Number of classes in the segmentation output.
Definition at line 107 of file gstnvdsinfer.h.
guint NvDsInferSegmentationMeta::height |
Height of the segmentation output class map.
Definition at line 111 of file gstnvdsinfer.h.
void* NvDsInferSegmentationMeta::priv_data |
Private data used for the meta producer's internal memory management.
Definition at line 119 of file gstnvdsinfer.h.
guint NvDsInferSegmentationMeta::width |
Width of the segmentation output class map.
Definition at line 109 of file gstnvdsinfer.h.