Image manipulation

Share:

Description

A function which rearranges image content for nice plotting.

Usage

1

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

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

image(plotmtx(Im))