calculate-logarithmic-map <disp> <velo> [options]
calculate-logarithmic-map <dx> <dy> [<dz>] <vx> <vy> [<vz>] [options]


Reads a dense 3D (2D) displacement field, computes the corresponding stationary 3D (2D) velocity field, and writes the resulting vector field.

Command options


Use scaling and squaring (SS) method for exponentiation. (default)


Use forward Euler method for exponentiation.

-steps <int>

Number of integration steps (2^n in case of SS). (default: 64)

-terms <int>

Number of BCH approximation terms (either 2 or 3). (default: 6)

-iters <int>

Number of BCH update steps. (default: 8)


Smooth velocities before each update. (default: off)


Use Jacobian for Lie bracket computation. (default: off)

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)