Inheritance diagram for Loonim.GaussianFilter:
Loonim.ConvolveFilter Loonim.UnsharpFilter

Public Member Functions

 GaussianFilter ()
 
 GaussianFilter (float radius)
 
override void Filter (int width, int height, Color[] srcAndTarget, Color[] buffer)
 
- Public Member Functions inherited from Loonim.ConvolveFilter
 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...
 

Static Public Member Functions

static void ConvolveAndTranspose (Kernel kernel, Color[] inPixels, Color[] outPixels, int width, int height, bool alpha, ConvolveWrapping edgeAction)
 
static Kernel MakeKernel (float radius)
 Makes a Gaussian blur kernel. More...
 
- Static Public Member Functions inherited from Loonim.ConvolveFilter
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

float Radius
 
- Public Attributes inherited from Loonim.ConvolveFilter
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...
 

Constructor & Destructor Documentation

Loonim.GaussianFilter.GaussianFilter ( )
inline
Loonim.GaussianFilter.GaussianFilter ( float  radius)
inline

Member Function Documentation

static void Loonim.GaussianFilter.ConvolveAndTranspose ( Kernel  kernel,
Color[]  inPixels,
Color[]  outPixels,
int  width,
int  height,
bool  alpha,
ConvolveWrapping  edgeAction 
)
inlinestatic
override void Loonim.GaussianFilter.Filter ( int  width,
int  height,
Color[]  srcAndTarget,
Color[]  buffer 
)
inlinevirtual

Reimplemented from Loonim.ConvolveFilter.

Reimplemented in Loonim.UnsharpFilter.

static Kernel Loonim.GaussianFilter.MakeKernel ( float  radius)
inlinestatic

Makes a Gaussian blur kernel.

Member Data Documentation

float Loonim.GaussianFilter.Radius