array2im {imageUtilities}R Documentation

Coerces input to image, shorthand for as.image

Description

Coerces input to image, shorthand for as.image

Usage

  array2im(arr, transpose = FALSE, ...)

Arguments

arr

array to convert

transpose

boolean, whether to transpose the resultant array.

Note that Voir images are of dimension (nx,ny,nchanns), and the returned array will also have dimensions (nx,ny,nchanns).

That is, *the returned array will be transposed*, since usually an image as an array would have dimensions (ny,nx,nchanns), being (rows,columns,channels).

If transpose=TRUE, then the returned array will have dimensions (ny, nx, nchanns).

...

IGNORED

See Also

Other convert: as.image, im2array, imbinary, imchar, imint, is.image


[Package imageUtilities version 1.0.3 Index]