Creates a Grayscale (Color) Image from a matrix file.
# S3 method for matrix
as.GrayscaleImage(z, transforms=NULL, interleaved=c("none", "h", "v", "auto"), scale=1,
..., verbose=FALSE)
Returns a bitmap image object.
A KxN matrix
.
A character
string specifying how the image data
should be interleaved, if at all.
A numeric
scale factor in (0,+Inf) for resizing the
imaging. If 1
, no resizing is done.
Passed to colorize()
for the object created.
A logical
or a Verbose
object.
Henrik Bengtsson, Ken Simpson
For more information see matrix
.