The function is a wrapper of image(). It arranges and prints multiple or single images.
Usage
see(X, title = "Image", col = "heat", input = "multi", layout = "auto", ...)
Arguments
X
a numeric matrix. X is either a matrix where each column contains
the pixels of a vectorized image, or simply the pixel matrix of one
single image. The type of X is indicated by the argument 'input'.
title
a charactor string. Title of the graph.
col
a character string. Defult = "heat". What color scheme to use?
Currently allows:
"heat" for heat color
"br" for (blue-cyan-green-yellow-red) palette
"grey" for grey scale
input
a charactor string with default = "multi", specifying the type of
images in X. Possible options are:
"multi" if X contains multiple vectorized square images.
"single" if X is the matrix of a single image.
layout
a vector of 2 possible integers or a charactor string "auto" (default). If layout
= "auto", multiple images will be arranged in an approximatedly 9 by 16 ratio.
If layout = c(a,b), then images will be arranged in a rows and b columns.
...
further arguments to pass to image().
Details
If the input is a matrix of vectorized images (input = "multi",
default setting), that is, each column contains pixels of one vectorized
image, then see() restores each column into a matrix and show all images in
one frame. Current version assumes the images are squared images.
If the input is a matrix of one image (input = "single"), see() shows this
image. Different color palette can be selected by specify the "col" argument.
Build-in color palette includes greyscale, blue-red and heat color.
## Load a build-in data set Symbols, a 5625 by 30 matrix containing 30 75x75## images.data(Symbols)
see(Symbols, title = "Sample images of four symbols")