gsmooth


Purpose:

This program will perform Gaussian smoothing of the input image.


Usage:

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

options:

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
The name of the output 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
  • recheck your command line
File name that follows -m cannot start with -
  • recheck your command line
Files ____ and ____ have incompatible dimensions
  • the file that you are smoothing and the mask file have different dimensions.
Smoothing kernels must all be nonnegative numbers
  • recheck your command line
Sorry, flag -____ is not defined for this program
  • recheck your command line
The -m flag should only be used once
  • recheck your command line
WARNING: x dimension of filter was too small, no x smoothing applied
  • The filter you specified is too narrow to be represented, the output should be otherwise correct.
WARNING: y dimension of filter was too small, no y smoothing applied
  • The filter you specified is too narrow to be represented, the output should be otherwise correct.
WARNING: z dimension of filter was too small, no z smoothing applied
  • The filter you specified is too narrow to be represented, the output should be otherwise correct.
the - flag cannot be used at the start of the input or output file name
  • recheck your command line
unable to parse arguments, argument ____ was expected to consist of a - followed by a single character
  • recheck your command line


Modified: Wed Dec 11, 1996

© 1995-6 Roger P. Woods, M.D.(rwoods@ucla.edu)