Deletes lines that are shorter than the minLineLength parameter. More...
#include <DeleteShortLines.h>
Public Member Functions | |
virtual void | Apply (const cv::Mat &input, cv::Mat &result) |
DeleteShortLines () | |
virtual const std::string & | GetFilterName () |
virtual std::vector < filters::Parameter > | GetParameters () |
virtual void | ResetParameters () |
Resets all the paramters of the filter to the default values. | |
Protected Attributes | |
int | m_minNumPixels |
Static Protected Attributes | |
static std::string | m_filterName = std::string("DeleteShortLines") |
Deletes lines that are shorter than the minLineLength parameter.
Definition at line 13 of file DeleteShortLines.h.
Definition at line 10 of file DeleteShortLines.cpp.
void face_contour_detector::filters::DeleteShortLines::Apply | ( | const cv::Mat & | input, |
cv::Mat & | result | ||
) | [virtual] |
Applies the filter
input | the data of this cv::Mat is beeing used as input for the filter |
result | the result will be saved here |
Implements face_contour_detector::filters::Filter.
Definition at line 21 of file DeleteShortLines.cpp.
const std::string & face_contour_detector::filters::DeleteShortLines::GetFilterName | ( | ) | [virtual] |
Returns the name of the filter in std::string form
Implements face_contour_detector::filters::Filter.
Definition at line 49 of file DeleteShortLines.cpp.
std::vector< Parameter > face_contour_detector::filters::DeleteShortLines::GetParameters | ( | ) | [virtual] |
Returns a vector of the parameters of the filter
Implements face_contour_detector::filters::Filter.
Definition at line 14 of file DeleteShortLines.cpp.
void face_contour_detector::filters::DeleteShortLines::ResetParameters | ( | ) | [virtual] |
Resets all the paramters of the filter to the default values.
Implements face_contour_detector::filters::Filter.
Definition at line 45 of file DeleteShortLines.cpp.
std::string face_contour_detector::filters::DeleteShortLines::m_filterName = std::string("DeleteShortLines") [static, protected] |
Definition at line 24 of file DeleteShortLines.h.
int face_contour_detector::filters::DeleteShortLines::m_minNumPixels [protected] |
Definition at line 22 of file DeleteShortLines.h.