STScI Logo

boxcar images.imfilter


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · TIME_REQUIREMENTS
BUGS · SEE_ALSO

NAME

boxcar -- boxcar smooth a list of images

USAGE

boxcar input output xwindow ywindow

PARAMETERS

input
List of images to be smoothed.
output
List of output images. The number of output images must equal the number of input images. If the input images name equals the output image name the smoothed image will replace the input image.
xwindow, ywindow
The size of the smoothing window.
boundary = "nearest"
The boundary extension options are:
nearest
Use the value of the nearest boundary pixel.
constant
Use a constant value.
reflect
Generate a value by reflecting around the boundary.
wrap
Generate a value by wrapping around to the opposite side of the image.
constant = 0.
The constant for constant-valued boundary extension.

DESCRIPTION

BOXCAR smooths the list of images specified by input with a flat-topped rectangular kernel of dimensions xwindow by ywindow and places the smoothed images in output . The type of boundary extension is optional and set by the boundary parameter.

EXAMPLES

1. Smooth an image using a 3 by 3 smoothing box and nearest neighbour boundary extension.

    cl> boxcar m82 m82.box 3 3

TIME REQUIREMENTS

BOXCAR requires approximately 30 cpu seconds to smooth a 512 square real image with a 5 by 5 kernel (VAX 11/750 with fpa).

BUGS

SEE ALSO

convolve, gauss, laplace, gradient


Source Code · Search Form · STSDAS