|
TextureToolsFromBitmap Method (BitmapData)
|
Note: This API is now obsolete.
Obsolete. Please use the
ImageToMatrix class instead. See remarks for an example.
Namespace:
Accord.Imaging.Textures
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the ImageToMatrix class instead.")]
public static float[,] FromBitmap(
BitmapData imageData
)
<ObsoleteAttribute("Please use the ImageToMatrix class instead.")>
Public Shared Function FromBitmap (
imageData As BitmapData
) As Single(,)
Request Example
View SourceParameters
- imageData
- Type: System.Drawing.ImagingBitmapData
Return Value
Type:
SingleExamples ImageToMatrix i2m = new ImageToMatrix();
float[,] texture;
i2m.Convert(image, out texture);
return texture;
See Also