LibMultiSense
LibMultiSense Documentation
|
Example code showing usage of the onboard feature detector. More...
#include <MultiSenseTypes.hh>
Public Member Functions | |
uint32_t | numberOfFeatures () const |
Query the maximum number of features applied to the camera feature detector. More... | |
bool | grouping () const |
Query the status of the feature detector feature grouping. More... | |
bool | motion () const |
Query the status of the feature detector motion detection. More... | |
void | setNumberOfFeatures (const uint32_t &numberOfFeatures) |
Set the maximum number of features applied to the camera feature detector. More... | |
void | setGrouping (const bool &g) |
Set the feature grouping capability the feature detector. More... | |
void | setMotion (const uint32_t &m) |
Set the feature motion detection capability of the feature detector Functions to enable motion detection on Octave 3. More... | |
FeatureDetectorConfig () | |
Default constructor. More... | |
Private Attributes | |
uint32_t | m_numberOfFeatures |
numberOfFeatures The maximum features to be searched for in one image. More... | |
bool | m_grouping |
grouping Enable/Disable the grouping feature in feaure detection. More... | |
uint32_t | m_motion |
motion Enable / disable motion detection in the feature detector. More... | |
Example code showing usage of the onboard feature detector.
Can also reference FeatureDetectorUtility.cc
Example code to set a device's feature detection parameters:
Definition at line 3959 of file MultiSenseTypes.hh.
|
inline |
Default constructor.
Definition at line 4065 of file MultiSenseTypes.hh.
|
inline |
Query the status of the feature detector feature grouping.
Definition at line 4011 of file MultiSenseTypes.hh.
|
inline |
Query the status of the feature detector motion detection.
Definition at line 4018 of file MultiSenseTypes.hh.
|
inline |
Query the maximum number of features applied to the camera feature detector.
Definition at line 4004 of file MultiSenseTypes.hh.
|
inline |
Set the feature grouping capability the feature detector.
g | The feature grouping to apply to this camera |
Definition at line 4049 of file MultiSenseTypes.hh.
|
inline |
Set the feature motion detection capability of the feature detector Functions to enable motion detection on Octave 3.
m | The feature detector motion detector. |
Definition at line 4060 of file MultiSenseTypes.hh.
|
inline |
Set the maximum number of features applied to the camera feature detector.
Current recommended settings. Full Resolution: 5000 Features @5FPS Quarter Resolution: 1500 Features @15FPS
numberOfFeatures | The maximum number of features. |
Definition at line 4029 of file MultiSenseTypes.hh.
|
private |
grouping Enable/Disable the grouping feature in feaure detection.
Grouping adds scale invariance to ORB features, by detecting the same feature in multiple octaves, and grouping the feature. Grouping reduces redundant features and eliminates the need to keep track of features referencing the same corner. When grouping is enabled, the user should expect less features than descriptors, which should result in computationally easier feature matching, between consecutive frames. Although grouping does come at a slightly reduced framerate, it is recommended and verified at the recommended settings.
Definition at line 3986 of file MultiSenseTypes.hh.
|
private |
motion Enable / disable motion detection in the feature detector.
When enabled, you can check the averageXMotion, averageYMotion and motionStatus of the feaure_detector::header. averageXMotion and averageYMotion == 65535 corresponds to a failed motion detection for that feature frame.
Definition at line 3996 of file MultiSenseTypes.hh.
|
private |
numberOfFeatures The maximum features to be searched for in one image.
Current recommended settings. Full Resolution: 5000 Features @5FPS Quarter Resolution: 1500 Features @15FPS
Definition at line 3971 of file MultiSenseTypes.hh.