00001
00002
00003 #ifndef _FDETECT_HARRIS_LAPLACE_DETECTOR_HPP_
00004 #define _FDETECT_HARRIS_LAPLACE_DETECTOR_HPP_
00005
00006 #include "image/Image.hpp"
00007
00008 #include "fdetect/Detector.hpp"
00009 #include "fdetect/HarrisDetector.hpp"
00010
00011 namespace jafar {
00012 namespace fdetect {
00013 class HarrisLaplaceDetector : public Detector {
00014 public:
00015 HarrisLaplaceDetector(double sigma0 = 2.0, jafar::fdetect::HarrisDetector::Cornerness cornerness = jafar::fdetect::HarrisDetector::HS_EIGEN, double threshold = 3.0, double scalestep = 1.2, int scaleSpaceSize = 10);
00016 public:
00017 virtual jafar::fdetect::DetectionResult detectIn(jafar::image::Image const& image);
00018 private:
00020 double computeLoG(jafar::image::Image const& image, int pu, int pv, double sigma, double scale);
00021 private:
00022 double m_sigma0, m_threshold, m_scaleStep;
00023 HarrisDetector** m_harrisDetector;
00024 int m_scaleSpaceSize;
00025 };
00026
00027 }
00028 }
00029
00030 #endif