ORB detector. More...
#include <orb_detector.h>
Public Member Functions | |
void | findFeatures (RGBDFrame &frame, const cv::Mat &input_img) |
Implementation of the feature detector. | |
OrbDetector () | |
Default constructor. | |
void | setNFeatures (int n_features) |
Sets the number of desired features. | |
void | setThreshold (int threshold) |
Sets the detection threshold. | |
~OrbDetector () | |
Default destructor. | |
Private Attributes | |
int | n_features_ |
number of desired features | |
cv::OrbDescriptorExtractor | orb_descriptor_ |
OpenCV feature detector object. | |
boost::shared_ptr < cv::OrbFeatureDetector > | orb_detector_ |
OpenCV descriptor extractor object. | |
double | threshold_ |
threshold for detection |
ORB detector.
Definition at line 34 of file orb_detector.h.
Default constructor.
Definition at line 28 of file orb_detector.cpp.
Default destructor.
Definition at line 40 of file orb_detector.cpp.
void ccny_rgbd::OrbDetector::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 45 of file orb_detector.cpp.
void ccny_rgbd::OrbDetector::setNFeatures | ( | int | n_features | ) |
Sets the number of desired features.
n_features | number of desired features |
Definition at line 73 of file orb_detector.cpp.
void ccny_rgbd::OrbDetector::setThreshold | ( | int | threshold | ) |
Sets the detection threshold.
threshold | the detection threshold |
Definition at line 61 of file orb_detector.cpp.
int ccny_rgbd::OrbDetector::n_features_ [private] |
number of desired features
Definition at line 65 of file orb_detector.h.
cv::OrbDescriptorExtractor ccny_rgbd::OrbDetector::orb_descriptor_ [private] |
OpenCV feature detector object.
Definition at line 68 of file orb_detector.h.
boost::shared_ptr<cv::OrbFeatureDetector> ccny_rgbd::OrbDetector::orb_detector_ [private] |
OpenCV descriptor extractor object.
Definition at line 69 of file orb_detector.h.
double ccny_rgbd::OrbDetector::threshold_ [private] |
threshold for detection
Definition at line 66 of file orb_detector.h.