Converts a pixel image to a matrix or an array.
1 2 3 4
A pixel image (object of class
as.matrix.im converts the pixel image
into a matrix containing the pixel values.
It is handy when you want to extract a summary of the pixel values.
See the Examples.
as.array.im converts the pixel image to an array.
By default this is a three-dimensional array of dimension n by
m by 1.
If the extra arguments
... are given, they will be passed
array, and they may change the dimensions of the
A matrix or array.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.