boxmed generates a frame where each new pixel is the median of the box of pixels centred on the old. Each window is treated independently. Edge pixels just use whichever pixels in the box actually exist.
boxmed input xhwidth yhwidth output
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 boxavg
This command is a member of the classes: Arithematic, Manipulation, Programs.
Author: T.R. Marsh
Created: 19 September 2005