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

fl::ConvolutionDiscrete2D Class Reference

#include <convolve.h>

Inheritance diagram for fl::ConvolutionDiscrete2D:

fl::Convolution fl::Image fl::Filter fl::DifferenceOfGaussians fl::Gaussian2D fl::GaussianDerivativeFirst fl::GaussianDerivativeSecond fl::GaussianDerivativeThird fl::Laplacian List of all members.

Public Methods

 ConvolutionDiscrete2D (const BorderMode mode=Crop, const PixelFormat &format=GrayFloat)
 ConvolutionDiscrete2D (const Image &image, const BorderMode mode=Crop)
virtual Image filter (const Image &image)
 Convolve the entire image with the kernel contained in this object.

virtual double response (const Image &image, const Point &p) const
 Strength of response of filter to image at input pixel (x, y). Crop mode is treated as if ZeroFill mode, ie: no shift between input and output coordinate system.

void normalFloats ()
 Zero out any sub-normal floats in kernel, because they cause numerical exceptions that really drag down performance.


Detailed Description

Stores the kernel as a discrete set of points (a raster).


Constructor & Destructor Documentation

ConvolutionDiscrete2D::ConvolutionDiscrete2D const BorderMode    mode = Crop,
const PixelFormat   format = GrayFloat
 

ConvolutionDiscrete2D::ConvolutionDiscrete2D const Image   image,
const BorderMode    mode = Crop
 


Member Function Documentation

Image ConvolutionDiscrete2D::filter const Image   image [virtual]
 

Convolve the entire image with the kernel contained in this object.

Implements fl::Convolution.

void ConvolutionDiscrete2D::normalFloats  
 

Zero out any sub-normal floats in kernel, because they cause numerical exceptions that really drag down performance.

double ConvolutionDiscrete2D::response const Image   image,
const Point   p
const [virtual]
 

Strength of response of filter to image at input pixel (x, y). Crop mode is treated as if ZeroFill mode, ie: no shift between input and output coordinate system.

Implements fl::Convolution.


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