Texture tools.

Namespace:  AForge.Imaging.Textures
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public class TextureTools

Remarks

The class represents collection of different texture tools, like converting a texture to/from grayscale image.

Sample usage:

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

Inheritance Hierarchy

System..::.Object
  AForge.Imaging.Textures..::.TextureTools

See Also