GoodFeaturesToTrack detector. More...
#include <gft_detector.h>
Public Member Functions | |
void | findFeatures (RGBDFrame &frame, const cv::Mat &input_img) |
Implementation of the feature detector. | |
void | findFeatures (RGBDFrame &frame, const cv::Mat &input_img) |
Implementation of the feature detector. | |
GftDetector () | |
Default constructor. | |
GftDetector () | |
Default constructor. | |
void | setMinDistance (double min_distance) |
Set the minimum distance (in pixels) between the features. | |
void | setMinDistance (double min_distance) |
Set the minimum distance (in pixels) between the features. | |
void | setNFeatures (int n_features) |
Set the desired number of features. | |
void | setNFeatures (int n_features) |
Set the desired number of features. | |
~GftDetector () | |
Default destructor. | |
~GftDetector () | |
Default destructor. | |
Private Attributes | |
boost::shared_ptr < cv::GoodFeaturesToTrackDetector > | gft_detector_ |
OpenCV GTF detector object. | |
double | min_distance_ |
the minimum distance (in pixels) between the features | |
int | n_features_ |
the number of desired features | |
cv::OrbDescriptorExtractor | orb_descriptor_ |
OpenCV feature detector object. |
GoodFeaturesToTrack detector.
Definition at line 36 of file include/rgbdtools/features/gft_detector.h.
Default constructor.
Definition at line 28 of file gft_detector.cpp.
Default destructor.
Definition at line 35 of file gft_detector.cpp.
Default constructor.
Default destructor.
void rgbdtools::GftDetector::findFeatures | ( | RGBDFrame & | frame, |
const cv::Mat & | input_img | ||
) | [virtual] |
Implementation of the feature detector.
frame | the input frame |
input_img | the image for feature detection, derived from the RGB image of the frame after (optional) blurring |
Implements rgbdtools::FeatureDetector.
Definition at line 40 of file gft_detector.cpp.
void rgbdtools::GftDetector::findFeatures | ( | RGBDFrame & | frame, |
const cv::Mat & | input_img | ||
) | [virtual] |
Implementation of the feature detector.
frame | the input frame |
input_img | the image for feature detection, derived from the RGB image of the frame after (optional) blurring |
Implements rgbdtools::FeatureDetector.
void rgbdtools::GftDetector::setMinDistance | ( | double | min_distance | ) |
Set the minimum distance (in pixels) between the features.
min_distance | minimum distance (in pixels) between the features |
void rgbdtools::GftDetector::setMinDistance | ( | double | min_distance | ) |
Set the minimum distance (in pixels) between the features.
min_distance | minimum distance (in pixels) between the features |
Definition at line 60 of file gft_detector.cpp.
void rgbdtools::GftDetector::setNFeatures | ( | int | n_features | ) |
Set the desired number of features.
n_features | desired number of features |
Definition at line 52 of file gft_detector.cpp.
void rgbdtools::GftDetector::setNFeatures | ( | int | n_features | ) |
Set the desired number of features.
n_features | desired number of features |
boost::shared_ptr< cv::GoodFeaturesToTrackDetector > rgbdtools::GftDetector::gft_detector_ [private] |
OpenCV GTF detector object.
Definition at line 70 of file include/rgbdtools/features/gft_detector.h.
double rgbdtools::GftDetector::min_distance_ [private] |
the minimum distance (in pixels) between the features
Definition at line 68 of file include/rgbdtools/features/gft_detector.h.
int rgbdtools::GftDetector::n_features_ [private] |
the number of desired features
Definition at line 67 of file include/rgbdtools/features/gft_detector.h.
cv::OrbDescriptorExtractor rgbdtools::GftDetector::orb_descriptor_ [private] |
OpenCV feature detector object.
Definition at line 72 of file include/rgbdtools/features/gft_detector.h.