star_detector.h
Go to the documentation of this file.
00001 
00024 #ifndef RGBDTOOLS_STAR_DETECTOR_H
00025 #define RGBDTOOLS_STAR_DETECTOR_H
00026 
00027 #include <opencv2/core/core.hpp>
00028 #include <opencv2/features2d/features2d.hpp>
00029 
00030 #include "rgbdtools/features/feature_detector.h"
00031 
00032 namespace rgbdtools {
00033 
00036 class StarDetector: public FeatureDetector
00037 {
00038   public:
00039 
00042     StarDetector();
00043     
00046     ~StarDetector();
00047 
00053     void findFeatures(RGBDFrame& frame, const cv::Mat& input_img);
00054     
00058     void setMinDistance(double min_distance);    
00059     
00063     void setThreshold(double threshold);
00064 
00065   private:
00066     
00067     double min_distance_; 
00068     double threshold_;    
00069       
00070     boost::shared_ptr<cv::FeatureDetector> star_detector_; 
00071 };
00072 
00073 typedef boost::shared_ptr<StarDetector> StarDetectorPtr;
00074 
00075 } // namespace rgbdtools
00076 
00077 #endif // RGBDTOOLS_STAR_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