graymap-smooth-region

Synopsis

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

Parameters

  • graymap : A 16 bit graymap
  • row
  • col
  • height
  • width
  • value

Description

Performs a smoothing operation on a given region of a 16 bit graymap 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) greymap-value is computed for each center pixel.

Side Effects

Return Value

The smoothed region is returned as a new graymap.

Example