8 #ifndef META_OCEAN_TRACKING_RMV_RMV_FEATURE_DETECTOR_H
9 #define META_OCEAN_TRACKING_RMV_RMV_FEATURE_DETECTOR_H
58 static inline bool needSmoothedFrame(
const DetectorType detectorType);
65 static inline bool needPyramidInitialization(
const DetectorType detectorType);
120 switch (detectorType)
130 ocean_assert(
false &&
"Invalid detector type!");
136 switch (detectorType)
146 ocean_assert(
false &&
"Invalid detector type!");
This class implements Ocean's image class.
Definition: Frame.h:1792
This class implements an abstraction layer for individual feature detectors.
Definition: RMVFeatureDetector.h:34
static Vectors2 detectFeatures(const Frame &frame, const DetectorType detectorType, const Scalar approximatedThreshold, const size_t numberFeatures, const bool frameIsUndistorted, Worker *worker=nullptr)
Detects features in a given frame and sort them according to their strength.
static Vectors2 detectFeatures(const Frame &frame, const DetectorType detectorType, const Scalar threshold, const bool frameIsUndistorted, Worker *worker=nullptr)
Detects features in a given frame and sort them according to their strength.
static bool needPyramidInitialization(const DetectorType detectorType)
Returns whether the specified detector prefers a pyramid initialization.
Definition: RMVFeatureDetector.h:134
static Vectors2 detectFeatures(const Frame &yFrame, const Box2 &boundingBox, const DetectorType detectorType, const Scalar threshold, const bool frameIsUndistorted, Worker *worker=nullptr)
Detects features in a subregion of a given frame and sort them according to their strength.
static Vectors2 detectFeatures(const Frame &frame, const Box2 &boundingBox, const DetectorType detectorType, const Scalar approximatedThreshold, const size_t numberFeatures, const bool frameIsUndistorted, Worker *worker=nullptr)
Detects features in a subregion of a given frame and sort them according to their strength.
DetectorType
Definition of individual feature detectors.
Definition: RMVFeatureDetector.h:41
@ DT_HARRIS_FEATURE
Harris corner detector.
Definition: RMVFeatureDetector.h:47
@ DT_INVALID
Invalid feature detector.
Definition: RMVFeatureDetector.h:43
@ DT_FAST_FEATURE
FAST feature detector.
Definition: RMVFeatureDetector.h:45
static bool needSmoothedFrame(const DetectorType detectorType)
Returns whether the specified detector prefers a smoothed image for tracking.
Definition: RMVFeatureDetector.h:118
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< Vector2 > Vectors2
Definition of a vector holding Vector2 objects.
Definition: Vector2.h:64
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15