

NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · TIME_REQUIREMENTS
BUGS · SEE_ALSO
boxcar -- boxcar smooth a list of images
boxcar input output xwindow ywindow
- 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.
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.
1. Smooth an image using a 3 by 3 smoothing box and nearest neighbour boundary
extension.
cl> boxcar m82 m82.box 3 3
BOXCAR requires approximately 30 cpu seconds to smooth a
512 square real image with a 5 by 5 kernel (VAX 11/750 with fpa).
convolve, gauss, laplace, gradient
Source Code · Search Form · STSDAS
Maintained by the Science Software Group at STScI
This file last updated on 13 Jan 1997