imgfiltg - tpcclib 0.8.0 © 2023 by Turku PET Centre

Applying Gaussian filter for a static or dynamic PET image in ECAT, NIfTI,
or Analyze format. Filtering can be applied to x,y,z-volume (3D) by
specifying the SDs of Gaussian filter for x,y- and z-dimensions, or only
to the x,y-planes by giving the SD only for x,y-dimensions.
SDs are assumed to be in pixels, if units are not given.
SD=FWHM/2.355.
 
Usage: imgfiltg [Options] imgfile outputfile SDxy [SDz]
 
Options:
 -FWHM
     FWHM value(s) are given instead of SDs.
 -method=<<FIR>|<AM>>
     Specify the Gaussian filtering method; default is the finite impulse
     response method (FIR); Alvarez-Mazorra approximate Gaussian image
     filtering method (AM) is less accurate but may be faster.
 -tol=<tolerance>
     Default tolerance can be changed with this option.
 -steps=<nr>
     More steps provides better accuracy but longer execution time;
     default is 4. Applies only to AM method.
 -xysize=<pixel size>
     Set image pixel x,y size (mm), if missing or wrong in image data.
 -zsize=<pixel size>
     Set image pixel z size (mm), if missing or wrong in image data.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
Example #1: 3D filtering with Gaussian SDs given in mm
     imgfiltg s5998dy1.v s5998dy1_filt.v 3.4mm 4.1mm
 
Example #2: 2D filtering with Gaussian SDs given in pixels
     imgfiltg s5998dy1.v s5998dy1_filt.v 4pxl
 
Example #3: 3D filtering with FWHMs given in mm
     imgfiltg -fwhm s5998dy1.v s5998dy1_filt.v 8mm 9.66mm
 
See also: imgdysmo, imgfsegm, imgthrs, imgbkgrm, fvar4img, imgprofi
 
Keywords: image, smoothing, gaussian, FWHM