00001 #ifndef FACE_CONTOUR_DETECTOR_FILTERS_GAUSSIANBLUR_H_ 00002 #define FACE_CONTOUR_DETECTOR_FILTERS_GAUSSIANBLUR_H_ 00003 00004 #include <face_contour_detector/filters/Filter.h> 00005 #include <face_contour_detector/filters/Parameter.h> 00006 #include <vector> 00007 #include <string> 00008 #include <opencv/cv.h> 00009 00010 namespace face_contour_detector { 00011 namespace filters { 00013 class GaussianBlur : public Filter { 00014 public: 00015 GaussianBlur(); 00016 virtual std::vector<filters::Parameter> GetParameters(); 00017 virtual void Apply(const cv::Mat& input, cv::Mat& result); 00018 virtual void ResetParameters(); 00019 virtual const std::string& GetFilterName(); 00020 protected: 00021 int m_blurWidth; 00022 int m_blurHeight; 00023 00024 //static 00025 static std::string m_filterName; 00026 }; 00027 } 00028 } 00029 00030 #endif /* FACE_CONTOUR_DETECTOR_FILTERS_GAUSSIANBLUR_H_ */