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 314 of file service-maker/includes/metadata.hpp.


Public Types | |
| typedef std::unique_ptr< AbstractIterator< UserMetadata > > | Iterator |
| 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... | |
| 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... | |
| virtual | operator bool () override |
| operator to check if a metadata is void More... | |
| int | metaType () const |
| Get the meta type. More... | |
| int | metaType () const |
| Get the meta type. More... | |
| void | setMetaType (int type) |
| Set the meta type. More... | |
| void | setMetaType (int type) |
| Set the meta type. More... | |
| void * | userData () const |
| Get the user data pointer. More... | |
| void * | userData () const |
| Get the user data pointer. More... | |
| void | setUserData (void *data, void *(*copy)(void *, void *), void(*release)(void *, void *)) |
| Set user data with copy and release functions. More... | |
| void | setUserData (void *data, void *(*copy)(void *, void *), void(*release)(void *, void *)) |
| Set user data with copy and release functions. More... | |
Protected Member Functions | |
| void | get_ (void *&) |
| void | get_ (void *&) |
Protected Attributes | |
| void * | data_ |
|
inherited |
Definition at line 103 of file service-maker/includes/metadata.hpp.
|
inherited |
Definition at line 103 of file 9.0/service-maker/includes/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.
| 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 |
|
protectedinherited |
| unsigned int deepstream::SegmentationUserMetadata::getClasses | ( | ) | const |
Get the number of classes in the segmentation.
| 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 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.
| 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::getHeight | ( | ) | const |
Get the height of the segmentation map.
| unsigned int deepstream::SegmentationUserMetadata::getWidth | ( | ) | const |
Get the width of the segmentation map.
| unsigned int deepstream::SegmentationUserMetadata::getWidth | ( | ) | const |
Get the width of the segmentation map.
|
inherited |
Get the meta type.
|
inherited |
Get the meta type.
|
inlineoverridevirtualinherited |
operator to check if a metadata is void
Reimplemented from deepstream::Metadata.
Definition at line 116 of file 9.0/service-maker/includes/metadata.hpp.
References deepstream::Metadata::data_.
|
inlineoverridevirtualinherited |
operator to check if a metadata is void
Reimplemented from deepstream::Metadata.
Definition at line 116 of file service-maker/includes/metadata.hpp.
References deepstream::Metadata::data_.
|
inherited |
Set the meta type.
|
inherited |
Set the meta type.
|
inherited |
Set user data with copy and release functions.
| data | Pointer to user data |
| copy | Copy function for the user data (can be NULL) |
| release | Release function for the user data (can be NULL) |
|
inherited |
Set user data with copy and release functions.
| data | Pointer to user data |
| copy | Copy function for the user data (can be NULL) |
| release | Release function for the user data (can be NULL) |
| unsigned int deepstream::SegmentationUserMetadata::uniqueId | ( | ) | const |
Get the unique identifier for this metadata.
| unsigned int deepstream::SegmentationUserMetadata::uniqueId | ( | ) | const |
Get the unique identifier for this metadata.
|
inherited |
Get the user data pointer.
|
inherited |
Get the user data pointer.
|
protectedinherited |
Definition at line 54 of file service-maker/includes/metadata.hpp.
Referenced by deepstream::Metadata::operator bool(), and deepstream::UserMetadata::operator bool().