These functions apply mean, median or Sobel filters to an array.
meanFilter(x, kernel)medianFilter(x, kernel)
sobelFilter(x, dim, axis = 0)
A morphed array with the same dimensions as the original array.
An object that can be coerced to an array, or for which a
morph method exists.
A kernel array, indicating the scope of the filter.
For sobelFilter, the dimensionality of the kernel. If
missing, this defaults to the dimensionality of x.
For sobelFilter, the axis along which to apply the
operator, or 0 to apply it along all directions and generate a magnitude
image. See also sobelKernel.
Jon Clayden <code@clayden.org>
morph for the function underlying these operations,
  and kernels for kernel-generating functions.