Convert texture to grayscale bitmap.

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

Syntax

C#
public static Bitmap ToBitmap(
	float[,] texture
)

Parameters

texture
Type: array< System..::.Single ,2>[,](,)[,]
Texture to convert to bitmap.

Return Value

Returns bitmap of the texture.

See Also