graymap-smooth

Synopsis

(graymap-smooth graymap)

Parameters

  • graymap

Description

Performs a simple mean smoothing operation on a 16 bit graymap using a 3x3 convolution kernel.

Side Effects

Return Value

The resulting new graymap is returned.

Example

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