Textile texture.
Namespace:
AForge.Imaging.TexturesAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public class TextileTexture : ITextureGenerator |
Remarks
The texture generator creates textures with effect of textile.
The generator is based on the Perlin noise function.
Sample usage:

// create texture generator TextileTexture textureGenerator = new TextileTexture( ); // generate new texture float[,] texture = textureGenerator.Generate( 320, 240 ); // convert it to image to visualize Bitmap textureImage = TextureTools.ToBitmap( texture );
Result image:
