gsmooth


Purpose:

This program will perform Gaussian smoothing of the input image.


Usage:

gsmooth input FWHM-x FWHM-y FWHM-z output [options]

options:
[-m maskfile]
restricts smooth to non-zero values in mask
[-o]
grants permission to overwrite output
[-p]
prevents default wraparound padding for periodic data)
[-r]
prevents default rescaling of data
[-s]
smears any wraparound padding into data
[-v]
suppresses notification of magnitude of rescaling)
where the following definitions apply:
input
the name of the file to be smoothed
FWHM-x
The full-width-at-half-maximum of the x-axis smoothing filter in millimeters (or whatever units you use for pixel sizes) not in units of pixels.
FWHM-y
The full-width-at-half-maximum of the y-axis smoothing filter in millimeters (or whatever units you use for pixel sizes) not in units of pixels.
FWHM-z
The full-width-at-half-maximum of the z-axis smoothing filter in millimeters (or whatever units you use for pixel sizes) not in units of pixels.
output
@usage 6@
maskfile
the name of the mask file

Examples:

gsmooth pet1 8 8 4 spet1 gsmooth pet1 8 8 4 spet1 -r gsmooth pet1 8 8 4 spet1 -r -m mask1

Comments:


Error messages: (alphabetical by case)

See also: Generic error messages
A file name must follow -m
FWHM_x must be a nonnegative number
FWHM_y must be a nonnegative number
FWHM_z must be a nonnegative number
File name that follows -m cannot start with -
Sorry, flag -____ is not defined for this program
The -m flag should only be used once
the - flag cannot be used at the start of the input or output file name
unable to parse arguments, argument ____ was expected to consist of a - followed by a single character

Modified: December 18, 2001
© 2001   Roger P. Woods, M.D.(rwoods@ucla.edu)