normalize <target> <source> <output_source> [options]
normalize <input> <output> -equalize <padding>


Normalizes the intensity distribution of an image to be similar to the intensity distribution of a given reference image. Moreover, this tool can be used to equalize the histograms of either a single given image or two images using the same transfer function.

Command options

-Tp <value>

Target padding value

-Sp <value>

Source padding value


Use a piecewise linear function as suggested by Nyul et al.

-equalize <padding> [<target_output>]

Equalize histograms before normalization.

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.


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)