subsample.cols {imageUtilities} | R Documentation |
subsample an array, averaging every dx cols.
subsample.cols(x, dx, ...)
x |
array to subsample |
dx |
how many cols to average over |
... |
passed into |
array of the same size as x
, except number of cols
is ncol(x)/dx
.
assumes nrow(x)
is exactly divisible by dy
Other subsample: imdownsample
,
imsubsample
, subsample.rows