smooth - smooths an ULTRACAM frame

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.

Invocation

smooth input hwidth output

Arguments

input---Input frame
hwidth---half-width of the box. The actual box size will be 2*hwidth+1
output---Output frame

Classes

This command is a member of the classes: Arithematic, Manipulation, Programs.

Author: T.R. Marsh
Created: 29 June 2004


Page generated Fri Sep 16 14:05:02 2005