Table Of Contents

calculate-distance-map

Synopsis

calculate-distance-map <input> <output> [options]

Description

Computes distance transformation of binary object mask.

Arguments

input

Binary object mask.

output

Distance transform.

Command options

-distance <name>

Name of the distance transform. (default: euclidean)

  • cityblock: Manhatten city block (L1) distance.
  • euclidean: Euclidean distance.

Euclidean distance transform options

-2D

Compute distance transform in 2D.

-3D

Compute distance transform in 3D. (default)

-radial

Compute radial distance transform. (default: off)

-tradial

Compute radial distance transform in t dimension only.

-isotropic [<s>]

Resample distance transform to isotropic voxel size, where the voxel size is s times the minimum voxel size. When no argument given, s defaults to 1. (default: 0/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.

-revision

Print revision (or version) number only and exit.

-h, -help

Print help and exit.