A function which rearranges image content for nice plotting.
An image (matrix) for converting so that it can be plotted.
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".
The manipulated image corresponding to the input image.
1 2 3