Method | Description | |
---|---|---|
createBlurredGrayscaleTexture ( Color srcData, int width, int height, double deviation = 1 ) : Color[] | ||
createBlurredGrayscaleTexture ( Microsoft.Xna.Framework.Graphics.Texture2D image, double deviation = 1 ) : Microsoft.Xna.Framework.Graphics.Texture2D |
creates a new texture that is a gaussian blurred version of the original in grayscale
|
|
createBlurredTexture ( Color srcData, int width, int height, double deviation = 1 ) : Color[] | ||
createBlurredTexture ( Microsoft.Xna.Framework.Graphics.Texture2D image, double deviation = 1 ) : Microsoft.Xna.Framework.Graphics.Texture2D |
creates a new texture that is a gaussian blurred version of the original
|
Method | Description | |
---|---|---|
calculate1DSampleKernel ( double deviation ) : ].double[ | ||
calculate1DSampleKernel ( double deviation, int size ) : ].double[ | ||
calculateNormalized1DSampleKernel ( double deviation ) : ].double[ | ||
gaussianConvolution ( double matrix, double deviation ) : ].double[ | ||
normalizeMatrix ( double matrix ) : ].double[ | ||
processPoint ( double matrix, int x, int y, double kernel, int direction ) : double |
public static createBlurredGrayscaleTexture ( Color srcData, int width, int height, double deviation = 1 ) : Color[] | ||
srcData | Color | |
width | int | |
height | int | |
deviation | double | |
return | Color[] |
public static createBlurredGrayscaleTexture ( Microsoft.Xna.Framework.Graphics.Texture2D image, double deviation = 1 ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
image | Microsoft.Xna.Framework.Graphics.Texture2D | Image. |
deviation | double | Deviation. |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static createBlurredTexture ( Color srcData, int width, int height, double deviation = 1 ) : Color[] | ||
srcData | Color | |
width | int | |
height | int | |
deviation | double | |
return | Color[] |
public static createBlurredTexture ( Microsoft.Xna.Framework.Graphics.Texture2D image, double deviation = 1 ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
image | Microsoft.Xna.Framework.Graphics.Texture2D | Image. |
deviation | double | Deviation. |
return | Microsoft.Xna.Framework.Graphics.Texture2D |