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

Public Member Functions

 UnsharpFilter (float amount, float threshold, float radius)
 
override void Filter (int width, int height, Color[] src, Color[] target)
 
- Public Member Functions inherited from Loonim.GaussianFilter
 GaussianFilter ()
 
 GaussianFilter (float radius)
 
- 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...
 

Public Attributes

float Amount
 
float Threshold
 
- Public Attributes inherited from Loonim.GaussianFilter
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from Loonim.GaussianFilter
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...
 

Constructor & Destructor Documentation

Loonim.UnsharpFilter.UnsharpFilter ( float  amount,
float  threshold,
float  radius 
)
inline

Member Function Documentation

override void Loonim.UnsharpFilter.Filter ( int  width,
int  height,
Color[]  src,
Color[]  target 
)
inlinevirtual

Reimplemented from Loonim.GaussianFilter.

Member Data Documentation

float Loonim.UnsharpFilter.Amount
float Loonim.UnsharpFilter.Threshold