evaluate-similarity

Synopsis

evaluate-similarity <target> <source>... [options]

Description

Evaluates the (dis-)similarity of two intensity images.

If more than one source image is given, the (dis-)similarity between each of these and the target is evaluated. By default, common image (dis-)similarity metrics are reported. One or more metrics for the evaluation can be chosen using evaluate-similarity -metric.

The input source image can either be pre-aligned with the target image or the output of a previous registration can be specified using evaluate-similarity -dofin.

Arguments

target

Target image.

source

Source image.

Command options

-mask <file>

Target image region of interest mask. (default: -Tp)

-dofin <file>

Source image transformation. (default: Id)

-interp <mode>

Interpolation mode. (default: linear with padding)

-metric <sim>...

Image (dis-)similarity measure(s): JE, CC, MI, NMI, SSD, CR_XY, CR_YX, LC, K, ML, NGF_COS, NCC, CoVar, PSNR

-p, -padding <value>

Common image background value/threshold. (default: NaN)

-Tp <value>

Target image background value/threshold. (default: NaN)

-Sp <value>

Source image background value/threshold. (default: NaN)

-bins <int>

Number of histogram bins. (default: min(dynamic range, 255))

-Tbins <int>

Number of target histogram bins. (default: min(dynamic range, 255))

-Sbins <int>

Number of source histogram bins. (default: min(dynamic range, 255))

-parzen

Smooth histogram samples using cubic B-spline Parzen window. (default: off)

-Rx1 <int>

Leftmost target voxel index along x axis.

-Rx2 <int>

Rightmost target voxel index along x axis.

-Ry1 <int>

Leftmost target voxel index along y axis.

-Ry2 <int>

Rightmost target voxel index along y axis.

-Rz1 <int>

Leftmost target voxel index along z axis.

-Rz2 <int>

Rightmost target voxel index along z axis.

Output options

-precision <int>

Number of significant digits. (default: 5)

-delim <char>

Delimiter for output of multiple metric values. (default: ,)

-table

Output in tabular format.

-csv

Output as comma separated values table.

-tsv

Output as tab separated values table.

-noid

Exclude image IDs from output. (default: off)

-fullid

Use complete input image file path as ID. (default: file name without image extension)

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)