ColorGraphs.cpp
Go to the documentation of this file.
00001 #include <face_contour_detector/filters/ColorGraphs.h>
00002 #include <face_contour_detector/ImageForest.h>
00003 #include <string>
00004 
00005 namespace face_contour_detector {
00006 
00007         namespace filters {
00008 
00009                 ColorGraphs::ColorGraphs() {
00010                         ResetParameters();
00011                 }
00012 
00013                 std::vector<Parameter> ColorGraphs::GetParameters() {
00014                         std::vector<Parameter> re;
00015                         return re;
00016                 }
00017 
00018                 void ColorGraphs::Apply(const cv::Mat& input, cv::Mat& result) {
00019                         ImageForest forest = ImageForest(input, 200);
00020                         result = forest.GenerateImage();
00021                 }
00022 
00023                 void ColorGraphs::ResetParameters() {
00024 
00025                 }
00026 
00027                 const std::string& ColorGraphs::GetFilterName() {
00028                         return m_filterName;
00029                 }
00030 
00031                 //static
00032                 std::string ColorGraphs::m_filterName = std::string("ColorGraphs");
00033         } //namespace filters
00034 
00035 }//namespace face_contour_detector
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


face_contour_detector
Author(s): Fabian Wenzelmann and Julian Schmid
autogenerated on Wed Dec 26 2012 16:18:17