00001 #ifndef FACE_CONTOUR_DETECTOR_FILTER_RESIZE_H_ 00002 #define FACE_CONTOUR_DETECTOR_FILTER_RESIZE_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 Resize : public Filter { 00014 public: 00015 Resize(); 00016 virtual std::vector<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_maxWidth; 00022 int m_maxHeight; 00023 00024 //static 00025 static std::string m_filterName; 00026 }; 00027 } 00028 } 00029 00030 #endif /* FACE_CONTOUR_DETECTOR_FILTER_RESIZE_H_ */