arrayLowReso | R Documentation |
Reduce resolution of image
arrayLowReso(A, pixel, func)
A |
an array |
pixel |
a vector determining how much pixels of initial image one pixel
of the output image contains; such as |
func |
the operation executed to get the output image; such as |
an array with dim = ceiling(dim(A)/pixel)
A = array(1:27, c(3, 3, 3)) pixel = c(2, 2, 2) B = arrayLowReso(A, pixel, mean)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.