#include <convolve.h>
Inheritance diagram for fl::Convolution:

Public Methods | |
| virtual Image | filter (const Image &image)=0 |
| Convolve the entire image with the kernel contained in this object. | |
| virtual double | response (const Image &image, const Point &p) const=0 |
| Strength of response of filter to image at pixel (x, y). | |
Public Attributes | |
| BorderMode | mode |
Coordinate system convention: For efficiency's sake, we follow the standard coordinate system for pixel rasters. The origin is in the upper left. Positive x axis goes toward the right, and positive y axis goes downward.
Note about handedness: If you like to imagine that you are looking down at the plane where the pixels live, and that the positive z-axis comes out of the plane towards you, then this forms a "left-handed" coordinate system, which is universally condemned by purists. However, it is better to imagine that the positive z-axis is heading away from you, in which case this is a proper right-handed system. It is even better to realize that there is no z-axis whatsoever and that a 2D plane has no intrinsic handedness. (It is possible to define a handedness by choosing three non-colinear points as a basis. Since we have a coordiate system, we have implicitly already made this choice.)
All float-valued pixel coordinates follow the convention for Point (integral numbers refer to center of pixel). Integer-valued pixel coordinates refer to either the entire pixel or to its center, depending on context.
|
|
Convolve the entire image with the kernel contained in this object.
Implements fl::Filter. Implemented in fl::ConvolutionDiscrete2D, fl::ConvolutionDiscrete1D, and fl::ConvolutionRecursive1D. |
|
||||||||||||
|
Strength of response of filter to image at pixel (x, y).
Implemented in fl::ConvolutionDiscrete2D, fl::ConvolutionDiscrete1D, and fl::ConvolutionRecursive1D. |
|
|
|
1.2.18