FilterDifference Class Reference

Calculates the difference of two images. More...

#include <filters/difference.h>

Inheritance diagram for FilterDifference:

List of all members.


Public Member Functions

 FilterDifference ()
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Calculates the difference of two images.

Definition at line 29 of file difference.h.


Constructor & Destructor Documentation

FilterDifference::FilterDifference (  ) 

Constructor.

Definition at line 34 of file difference.cpp.


Member Function Documentation

void FilterDifference::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 41 of file difference.cpp.

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

Referenced by FilterTophatClosing::apply().


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