FilterMedian Class Reference

Median filter. More...

#include <filters/median.h>

Inheritance diagram for FilterMedian:

List of all members.


Public Member Functions

 FilterMedian (unsigned int mask_size)
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Median filter.

Author:
Tim Niemueller

Definition at line 33 of file median.h.


Constructor & Destructor Documentation

FilterMedian::FilterMedian ( unsigned int  mask_size  ) 

Constructor.

Parameters:
mask_size size of median mask

Definition at line 37 of file median.cpp.


Member Function Documentation

void FilterMedian::apply (  )  [virtual]

Apply the filter.

Apply the filter to the given source and destination buffers with given width and height and orientation (ori may be ignored for some filters).

Implements Filter.

Definition at line 45 of file median.cpp.

References Filter::dst, Filter::dst_roi, ROI::height, ROI::line_step, ROI::pixel_step, Filter::src, Filter::src_roi, ROI::start, ROI::width, fawkes::point_t::x, and fawkes::point_t::y.


The documentation for this class was generated from the following files: