FilterSum Class Reference

Sum filter. More...

#include <filters/sum.h>

Inheritance diagram for FilterSum:

List of all members.


Public Member Functions

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

Detailed Description

Sum filter.

Adds two images.

Author:
Tim Niemueller

Definition at line 29 of file sum.h.


Constructor & Destructor Documentation

FilterSum::FilterSum (  ) 

Constructor.

Definition at line 37 of file sum.cpp.


Member Function Documentation

void FilterSum::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 44 of file sum.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.


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