plotImage: Plot image data

Description Usage Arguments

View source: R/plotImage.R

Description

Plot a matrix representing a Grey-scale image or a 3-dimensional array representing a RGB image.

Usage

1
plotImage(x, max = 255, mar = c(0, 0, 0, 0), restore.par = TRUE, ...)

Arguments

x

a matrix of data values for Grey-scale images and a 3-dimensional array for RGB images.

max

the maximum value of Grey/RGB colour scale (default 255 for integer values in the range [0, 255]; another common value is 1 for values in the range [0, 1].

mar

the margin used in the base R graphic.

restore.par

logical, if TRUE the previous par() of graphical window are restored.

...

additional arguments to be passed to the low level functions.


luca-scr/smef documentation built on Feb. 22, 2022, 8:32 p.m.