plotmtx: Image manipulation

View source: R/plotmtx.R

plotmtxR Documentation

Image manipulation

Description

A function which rearranges image content for nice plotting.

Usage

plotmtx(m)

Arguments

m

An image (matrix) for converting so that it can be plotted.

Details

Due to the input and plotting output of the R base function image, this function reorders the pixels within an image such that, when used, the image function produces a plot of a image (matrix) "as is".

Value

m.out

The manipulated image corresponding to the input image.

Author(s)

Matt Nunes

See Also

image

Examples


Im<-simTexture(n=256,type="NS4",K=1)[[1]]

image(plotmtx(Im))


LS2Wstat documentation built on Sept. 17, 2023, 9:06 a.m.