Public Member Functions | |
ConvolveFilter () | |
Construct a filter with a null kernel. This is only useful if you're going to change the kernel later on. More... | |
ConvolveFilter (float[] matrix) | |
Construct a filter with the given 3x3 kernel. More... | |
ConvolveFilter (int rows, int cols, float[] matrix) | |
Construct a filter with the given 3x3 kernel. More... | |
ConvolveFilter (Kernel kernel) | |
Construct a filter with the given 3x3 kernel. More... | |
virtual void | Filter (int width, int height, Color[] src, Color[] target) |
Static Public Member Functions | |
static void | Convolve (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, ConvolveWrapping edgeAction) |
Convolve with a 2D kernel More... | |
static void | Convolve (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, bool alpha, ConvolveWrapping edgeAction) |
Convolve with a 2D kernel More... | |
static void | ConvolveHV (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, bool alpha, ConvolveWrapping edgeAction) |
Convolve with a 2D kernel More... | |
static void | ConvolveH (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, bool alpha, ConvolveWrapping edgeAction) |
static void | ConvolveV (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, bool alpha, ConvolveWrapping edgeAction) |
Public Attributes | |
Kernel | Kernel |
The kernel to use. More... | |
bool | Alpha =true |
True if alpha channel is in use. More... | |
ConvolveWrapping | EdgeAction =ConvolveWrapping.ClampEdges |
The wrapping to use. More... | |
|
inline |
Construct a filter with a null kernel. This is only useful if you're going to change the kernel later on.
|
inline |
Construct a filter with the given 3x3 kernel.
matrix | an array of 9 floats containing the kernel |
|
inline |
Construct a filter with the given 3x3 kernel.
rows | the number of rows in the kernel |
cols | the number of columns in the kernel |
matrix | an array of rows*cols floats containing the kernel |
|
inline |
Construct a filter with the given 3x3 kernel.
kernel | The kernel. |
|
inlinestatic |
Convolve with a 2D kernel
|
inlinestatic |
Convolve with a 2D kernel
|
inlinestatic |
Convolve with a kernel consisting of one row
|
inlinestatic |
Convolve with a 2D kernel
|
inlinestatic |
Convolve with a kernel consisting of one column
|
inlinevirtual |
Reimplemented in Loonim.GaussianFilter, and Loonim.UnsharpFilter.
bool Loonim.ConvolveFilter.Alpha =true |
True if alpha channel is in use.
ConvolveWrapping Loonim.ConvolveFilter.EdgeAction =ConvolveWrapping.ClampEdges |
The wrapping to use.
Kernel Loonim.ConvolveFilter.Kernel |
The kernel to use.