Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::FiniteDifferenceX Class Reference

#include <convolve.h>

Inheritance diagram for fl::FiniteDifferenceX:

fl::Filter List of all members.

Public Methods

virtual Image filter (const Image &image)
 This could be const, but it is useful to allow filters to collect statistics. Note that such filters are not thread safe.


Detailed Description

Similar to convolving with the kernel [1,0,-1], but written to run more efficiently than the general ConvolutionDiscrete1D. Handles borders with a modified form of the kernel: [1,-1]*2. In general, the entire result is effectively scaled by 2, since we avoid the extra division in the (much more repetitive) non-border case, and instead multiply by 2 in border case.


Member Function Documentation

Image FiniteDifferenceX::filter const Image   image [virtual]
 

This could be const, but it is useful to allow filters to collect statistics. Note that such filters are not thread safe.

Implements fl::Filter.


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18