ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Image pixel data as Int32 elements
Load pixel data from image.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- image
- Type: System.DrawingImage
The image. - rect (Optional)
- Type: SystemNullableRectangle
[Optional] Rectangular area in the image to read data from. Default: the whole image is read.
Return Value
Type: RetArrayInt32Image pixel data as Int32 elements
Remarks
Each pixel in the image is converted to a single element in the array returned. All channels are accumulated in the single element. Each channel is represented by 8 bits in the 32 bits of each Int32 element.
The image data are considered as PixelFormat.Format32bppArgb. If you get unexpected results, make sure, the image is provided in a compatible format.[ILNumerics Computing Engine]
See Also