| as.GrayscaleImage.matrix {aroma.core} | R Documentation |
Creates a Grayscale (TrueColor) Image from a matrix file.
## S3 method for class 'matrix':
as.GrayscaleImage(z, transforms=NULL, interleaved=c("none", "h", "v", "auto"), scale=1, ..., verbose=FALSE)
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. |
Returns an Image object.
Henrik Bengtsson and Ken Simpson.
Image.
For more information see matrix.