FilterCompare Class Reference

Comparison filter. More...

#include <filters/compare.h>

Inheritance diagram for FilterCompare:

List of all members.


Public Member Functions

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

Static Public Attributes

static const unsigned int BACKGROUND = 0
 Background image.
static const unsigned int FOREGROUND = 1
 Foreground image.

Detailed Description

Comparison filter.

Definition at line 29 of file compare.h.


Constructor & Destructor Documentation

FilterCompare::FilterCompare (  ) 

Constructor.

Definition at line 39 of file compare.cpp.


Member Function Documentation

void FilterCompare::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 compare.cpp.

References BACKGROUND, Filter::dst, Filter::dst_roi, FOREGROUND, 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.


Member Data Documentation

const unsigned int FilterCompare::BACKGROUND = 0 [static]

Background image.

Definition at line 37 of file compare.h.

Referenced by apply().

const unsigned int FilterCompare::FOREGROUND = 1 [static]

Foreground image.

Definition at line 38 of file compare.h.

Referenced by apply().


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