A class to handle user metadata for segmentation.
This class extends the UserMetadata class and provides additional functionality specific to segmentation metadata.
Definition at line 294 of file metadata.hpp.


Public Types | |
| typedef std::unique_ptr< AbstractIterator< UserMetadata > > | Iterator | 
Public Member Functions | |
| SegmentationUserMetadata (void *data=nullptr) | |
| Constructor for SegmentationUserMetadata.  More... | |
| SegmentationUserMetadata (const UserMetadata &other) | |
| Copy constructor for SegmentationUserMetadata.  More... | |
| virtual | ~SegmentationUserMetadata () | 
| Destructor for SegmentationUserMetadata.  More... | |
| unsigned int | uniqueId () const | 
| Get the unique identifier for this metadata.  More... | |
| unsigned int | getClasses () const | 
| Get the number of classes in the segmentation.  More... | |
| unsigned int | getWidth () const | 
| Get the width of the segmentation map.  More... | |
| unsigned int | getHeight () const | 
| Get the height of the segmentation map.  More... | |
| const int * | getClassMap () const | 
| Get the class map for the segmentation.  More... | |
| const float * | getClassProbabilitiesMap () const | 
| Get the class probabilities map for the segmentation.  More... | |
| virtual | operator bool () override | 
| operator to check if a metadata is void  More... | |
Protected Member Functions | |
| void | get_ (void *&) | 
Protected Attributes | |
| void * | data_ | 
      
  | 
  inherited | 
Definition at line 103 of file metadata.hpp.
| deepstream::SegmentationUserMetadata::SegmentationUserMetadata | ( | void * | data = nullptr | ) | 
Constructor for SegmentationUserMetadata.
| data | Optional pointer to data. Defaults to nullptr. | 
| deepstream::SegmentationUserMetadata::SegmentationUserMetadata | ( | const UserMetadata & | other | ) | 
Copy constructor for SegmentationUserMetadata.
      
  | 
  virtual | 
Destructor for SegmentationUserMetadata.
      
  | 
  protectedinherited | 
| unsigned int deepstream::SegmentationUserMetadata::getClasses | ( | ) | const | 
Get the number of classes in the segmentation.
| const int* deepstream::SegmentationUserMetadata::getClassMap | ( | ) | const | 
Get the class map for the segmentation.
| const float* deepstream::SegmentationUserMetadata::getClassProbabilitiesMap | ( | ) | const | 
Get the class probabilities map for the segmentation.
| unsigned int deepstream::SegmentationUserMetadata::getHeight | ( | ) | const | 
Get the height of the segmentation map.
| unsigned int deepstream::SegmentationUserMetadata::getWidth | ( | ) | const | 
Get the width of the segmentation map.
      
  | 
  inlineoverridevirtualinherited | 
operator to check if a metadata is void
Reimplemented from deepstream::Metadata.
Definition at line 116 of file metadata.hpp.
References deepstream::Metadata::data_.
| unsigned int deepstream::SegmentationUserMetadata::uniqueId | ( | ) | const | 
Get the unique identifier for this metadata.
      
  | 
  protectedinherited | 
Definition at line 54 of file metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().