greymap-smooth

Synopsis

(greymap-smooth greymap)

Parameters

  • greymap

Description

Performs a simple mean smoothing operation on a greymap using a 3x3 convolution kernel.

Side Effects

Return Value

The resulting new greymap is returned.

Example

> (pp greymap-smooth)
(lambda (greymap)
 (greymap-smooth-region
   greymap
   0
   0
   (greymap-height greymap)
   (greymap-width greymap)
   3))
ok
>