A bag of word of keyframe. This class provides a data structure of keyframe retrieval model (BoW).
More...
#include <KeyframeRetrieval.h>
|
class | boost::serialization::access |
|
A bag of word of keyframe. This class provides a data structure of keyframe retrieval model (BoW).
◆ addDescriptor()
FrameworkReturnCode SolAR::datastructure::KeyframeRetrieval::addDescriptor |
( |
uint32_t |
id, |
|
|
const SolAR::datastructure::BoWFeature & |
bowDesc, |
|
|
const SolAR::datastructure::BoWLevelFeature & |
bowLevelDesc |
|
) |
| |
This method allow to add a keyframe descriptor to keyframe retrieval.
- Parameters
-
[in] | id | the id of the keyframe |
[in] | bowDesc | fbow descriptor |
[in] | bowLevelDesc | fbow2 descriptor |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ getBoWFeature()
FrameworkReturnCode SolAR::datastructure::KeyframeRetrieval::getBoWFeature |
( |
uint32_t |
id, |
|
|
SolAR::datastructure::BoWFeature & |
bowDesc |
|
) |
| |
This method allow to get bow descirptor.
- Parameters
-
[in] | id | the id of the keyframe |
[out] | bowDesc | bow descriptor |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ getBoWLevelFeature()
FrameworkReturnCode SolAR::datastructure::KeyframeRetrieval::getBoWLevelFeature |
( |
uint32_t |
id, |
|
|
SolAR::datastructure::BoWLevelFeature & |
bowLevelDesc |
|
) |
| |
This method allow to get bow descirptor at the desired level.
- Parameters
-
[in] | id | the id of the keyframe |
[out] | bowLevelDesc | bow level descriptor |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ getInvertedIndex()
FrameworkReturnCode SolAR::datastructure::KeyframeRetrieval::getInvertedIndex |
( |
uint32_t |
nodeId, |
|
|
std::set< uint32_t > & |
invertedIndex |
|
) |
| |
This method allow to get inverted index at each node.
- Parameters
-
[in] | nodeId | the id of node |
[out] | invertedIndex | inverted index at each node |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ removeDescriptor()
This method allow to remove a keyframe descriptor in keyframe retrieval.
- Parameters
-
[in] | id | the id of the keyframe |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following files: