All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Private Attributes
face_contour_detector::filters::MaskBlur Class Reference

A filter which blurs out the areas which are not in the mask Note: This class is not supported by filters::RosServices or filters::List, because filters::Parameter does not support cv::Mat as arguments (yet) More...

#include <MaskBlur.h>

List of all members.

Public Member Functions

virtual void Apply (const cv::Mat &input, cv::Mat &output) const
 MaskBlur (int blurWidth, Bgr8 blurColor)
void SetMask (const cv::Mat &mask, unsigned char maskTrue=0, unsigned char maskFalse=255)

Private Attributes

Bgr8 m_blurColor
int m_blurWidth
unsigned char m_maskFalse
const cv::Mat * m_maskPtr
unsigned char m_maskTrue

Detailed Description

A filter which blurs out the areas which are not in the mask Note: This class is not supported by filters::RosServices or filters::List, because filters::Parameter does not support cv::Mat as arguments (yet)

Definition at line 12 of file MaskBlur.h.


Constructor & Destructor Documentation

Create the filter

Parameters:
blurWidth
blurColor

Definition at line 12 of file MaskBlur.cpp.


Member Function Documentation

void face_contour_detector::filters::MaskBlur::Apply ( const cv::Mat &  input,
cv::Mat &  output 
) const [virtual]

Applys the filter with the previous set mask

Parameters:
inputthe input image
outputthe output image

Definition at line 19 of file MaskBlur.cpp.

void face_contour_detector::filters::MaskBlur::SetMask ( const cv::Mat &  mask,
unsigned char  maskTrue = 0,
unsigned char  maskFalse = 255 
)

Sets the pointer to the mask image

Parameters:
maskthe mask image (must be a 8bit mono image)
maskTruethe value where the mask value is true
maskFalseif the point in the mask has this value, this point will be blured out in the given image

Definition at line 13 of file MaskBlur.cpp.


Member Data Documentation

Definition at line 29 of file MaskBlur.h.

Definition at line 28 of file MaskBlur.h.

Definition at line 31 of file MaskBlur.h.

Definition at line 32 of file MaskBlur.h.

Definition at line 30 of file MaskBlur.h.


The documentation for this class was generated from the following files:
 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