surf_detector.h
Go to the documentation of this file.
00001 
00024 #ifndef RGBDTOOLS_SURF_DETECTOR_H
00025 #define RGBDTOOLS_SURF_DETECTOR_H
00026 
00027 #include <opencv2/core/core.hpp>
00028 #include <opencv2/nonfree/features2d.hpp>
00029 
00030 #include "rgbdtools/features/feature_detector.h"
00031 
00032 namespace rgbdtools {
00033 
00036 class SurfDetector: public FeatureDetector
00037 {
00038   public:
00039 
00042     SurfDetector();
00043         
00046     ~SurfDetector();
00047 
00053     void findFeatures(RGBDFrame& frame, const cv::Mat& input_img);
00054 
00058     void setThreshold(double threshold);
00059     
00060   private:
00061 
00062     double threshold_;    
00063 
00065     boost::shared_ptr<cv::SurfFeatureDetector> surf_detector_;     
00066     
00067     cv::SurfDescriptorExtractor surf_descriptor_; 
00068 };
00069 
00070 typedef boost::shared_ptr<SurfDetector> SurfDetectorPtr;
00071 
00072 } // namespace rgbdtools
00073 
00074 #endif // RGBDTOOLS_SURF_DETECTOR_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


lib_rgbdtools
Author(s): Ivan Dryanovski
autogenerated on Tue Aug 27 2013 10:33:54