fromImage

Reads a Bitmap into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image.

Since

1.5.0

Parameters

img

The image to read from.

Reads an image file into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image file.

Since

1.4.0

Parameters

file

The image file to read.


Reads a BufferedImage into an F64Array.

The resulting F64Array will have shape [width, height, 4], where the 3rd dimension is in order RGBA. All values are in range [0..1]

Return

The F64Array read from the image.

Since

1.4.1

Parameters

img

The image to read from.