메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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. |
리턴 | 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 | |
리턴 | 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. |
리턴 | Microsoft.Xna.Framework.Graphics.Texture2D |