smooth generates a frame where each new pixel is the mean of a box of pixels centred on the old. Each window is treated independently. Edge pixels just use whatever pixels are near them. This can be applied multiple times to simulate gaussian smoothing. This routine may be useful in spotting bad pixels.
smooth input hwidth output
input | --- | Input frame |
hwidth | --- | half-width of the box. The actual box size will be 2*hwidth+1 |
output | --- | Output frame |
This command is a member of the classes: Arithematic, Manipulation, Programs.
Author: T.R. Marsh
Created: 29 June 2004