|
ToolsToBitmap Method (Double)
|
Converts an image given as a matrix of pixel values into a
Bitmap.
For more options, please use the
MatrixToImage class.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public static Bitmap ToBitmap(
this double[,] pixels
)
<ExtensionAttribute>
Public Shared Function ToBitmap (
pixels As Double(,)
) As Bitmap
Request Example
View SourceParameters
- pixels
- Type: SystemDouble
A matrix containing the grayscale pixel
values as bytes.
Return Value
Type:
BitmapA
Bitmap of the same width
and height as the pixel matrix containing the given pixel values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also