as.GrayscaleImage.matrix {aroma.core}R Documentation

Creates a Grayscale (TrueColor) Image from a matrix file

Description

Creates a Grayscale (TrueColor) Image from a matrix file.

Usage

## S3 method for class 'matrix':
as.GrayscaleImage(z, transforms=NULL, interleaved=c("none", "h", "v", "auto"), scale=1, ..., verbose=FALSE)

Arguments

z A KxN matrix.
transforms A list of transform functions.
interleaved A character string specifying how the image data should be interleaved, if at all.
scale A numeric scale factor in (0,+Inf) for resizing the imaging. If 1, no resizing is done.
... Passed to colorize() of Image.
verbose A logical or a Verbose object.

Value

Returns an Image object.

Author(s)

Henrik Bengtsson and Ken Simpson.

See Also

Image. For more information see matrix.


[Package aroma.core version 1.4.0 Index]