colormap-smooth-region

Synopsis

(colormap-smooth-region colormap row col height width value)

Parameters

  • colormap
  • row
  • col
  • height
  • width
  • value

Description

Performs a smoothing operation on a given region of a colormap and returns that region. The region’s origin is row and col, its height and width are given in height and width respectively. value is the odd height of a square, wherefrom the average (mean) colormap-value is computed for each center pixel and for each channel.

Side Effects

Return Value

The smoothed region is returned as a new colormap.

Example