Table Of Contents

smooth-image

Synopsis

smooth-image <input> <output> [<sigma>] [options]

Description

This program blurs an input image using a Gaussian filter with a standard deviation equal to the specified sigma value. The dimensions in which the filter recursively applied can be specified by the respective options below. Note that more than one of these options can be specified and that each can also be given more than once. The blurring of the respective dimensions is then performed in the order of the given blurring options.

The output image is by default saved as short integers if the input image was of integral voxel type, otherwise as float image.

Arguments

input

Input image. Multiple channels/frames are smoothed independently.

output

Blurred output image.

sigma

Standard deviation of Gaussian smoothing kernel. (default: 1)

Command options

-3D

Blur image in all spatial directions. (default)

-4D

Blur image in all dimensions.

-x

Blur image in x dimension.

-y

Blur image in y dimension.

-z

Blur image in z dimension.

-short

Set data type of output to short integers.

-float

Set data type of output to floating point.

Standard options

-v, -verbose [n]

Increase/Set verbosity of output messages. (default: 0)

-debug [level]

Increase/Set debug level for output of intermediate results. (default: 0)

-version [major.minor]

Print version and exit or set version to emulate.

-revision

Print revision (or version) number only and exit.

-h, -help

Print help and exit.

Terminal options

-color, -nocolor

Enable/disable colored output. (default: off)

Parallelization options

-threads <n>

Use maximal <n> threads for parallel execution. (default: automatic)