!!created 19 September 2005

boxavg - averages an Ultracam frame in boxes

boxavg generates a frame where each new pixel is the mean of the 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

boxavg input xhwidth yhwidth output

Arguments

input---Input frame
xhwidth---half-width of the box in X. The actual box size in X will be 2*xhwidth+1
yhwidth---half-width of the box in Y. The actual box size in Y will be 2*yhwidth+1
output---Output frame

See also boxmed

Classes

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

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


Page generated Fri Jul 5 12:23:42 2013