GoodFeaturesToTrack detector. More...
#include <gft_detector.h>

Public Member Functions | |
| void | findFeatures (RGBDFrame &frame, const cv::Mat &input_img) |
| Implementation of the feature detector. | |
| GftDetector () | |
| Default constructor. | |
| 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. | |
| ~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 | |
GoodFeaturesToTrack detector.
Definition at line 37 of file 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.
| void ccny_rgbd::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 ccny_rgbd::FeatureDetector.
Definition at line 40 of file gft_detector.cpp.
| void ccny_rgbd::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 56 of file gft_detector.cpp.
| void ccny_rgbd::GftDetector::setNFeatures | ( | int | n_features | ) |
Set the desired number of features.
| n_features | desired number of features |
Definition at line 48 of file gft_detector.cpp.
boost::shared_ptr<cv::GoodFeaturesToTrackDetector> ccny_rgbd::GftDetector::gft_detector_ [private] |
OpenCV GTF detector object.
Definition at line 71 of file gft_detector.h.
double ccny_rgbd::GftDetector::min_distance_ [private] |
the minimum distance (in pixels) between the features
Definition at line 69 of file gft_detector.h.
int ccny_rgbd::GftDetector::n_features_ [private] |
the number of desired features
Definition at line 68 of file gft_detector.h.