| genre | Distance |
| status | stable |
| authors | Markus Krebs, Milo Hindennach |
| package | MeVisLab/Standard |
| dll | MLDTF |
| definition | MLDTF.def |
| see also | DistanceTransform |
| keywords | distance, dtf, voronoi, distancetransform, transform, norm |
The module EuclideanDTF calculates the Euclidean Distance image in 1D, 2D or 3D.
It is also possible to calculate a Voronoi Division.
See Details for explanations of Euclidean Distance and Voronoi Division.
The uclidean Distance is the distance between two points calculated with the Pythagorean formula.
The module EuclideanDTF calculates the distance of the considered voxel to the nearest voxel in the defined Foreground volume.
Possible maximum distance is maximum image extent.
The Voronoi Division is a special kind of decomposition of a space determined by distances to a specified discrete set of objects in the space, called Voronoi sites.
With the EuclideanDTF module, the Voronoi sites are defined by the Foreground volume. These site voxels keep their original value.
All other voxels get the value of their nearest site, decomposing the image to Voronoi regions.
The Voronoi Division works here like a nearest-neighbor interpolation with neighbors determined by the Foreground.
| Apply Time: Enum | Output Mode: Enum |
| Auto Update Mode: Enum | Precision: Enum |
| Auto Update Time: Enum | Scale: Float |
| cacheSizeKB: Integer | Selected Algorithm: Enum |
| Clear: Trigger | Update: Trigger |
| Dimension: Enum | VirtualVolumeTraversals: Trigger |
| Max Value: Float | |
| Min Value: Float |
Defines which output image will be calculated.
It is recommendable to select just the needed output to reduce memory consumption.
Values:
| Title | Name |
|---|---|
| Distance Only | DistanceOnly |
| Distance And Voronoi Division | DistanceAndVoronoiDivision |
| Voronoi Division Only | VoronoiDivisionOnly |
Defines the data type of the Euclidean Distance image.
Values:
| Title | Name | Description |
|---|---|---|
| Integer Precision | IntegerPrecision | The distances will be given as rounded integers. |
| Float Precision | FloatPrecision | The distances will be given as floating points. |
Sets a scaling factor, the result of the Euclidean Distance is multiplied with.
Defines the time when Scale and Precision will be applied on the Euclidean Distance.
Values:
| Title | Name | Description |
|---|---|---|
| On Request | OnRequest | Allows value changes without recalculation but is slightly slower. |
| During Calculation | DuringCalculation | Changes need a recalculation of the hole distance result. |
Defines the dimensions considered for calculation of Euclidean Distance and Voronoi Division.
Values:
| Title | Name |
|---|---|
| 1d | 1D |
| 2d | 2D |
| 3d | 3D |
Sets the minimum value of the range defining a Foreground volume.
Sets the maximum value of the range defining a Foreground volume.
Defines the memory implementation that will be used for calculations.
Values:
| Title | Name | Description |
|---|---|---|
| Auto Select Fastest | AutoSelectFastest | Tries to use the faster implementation but if that fails, for example due to memory issues, it uses the Virtual Volume implementation. |
| Use Virtual Volume | UseVirtualVolume | Calculates on virtual volume (slow, but stable for huge images). |
| Use Single Memory Block | UseSingleMemoryBlock | Calculates on single memory block (fast, use only for small images). |
Defines the update mode.
Values:
| Title | Name | Description |
|---|---|---|
| Off | Off | No automatical update. |
| Auto Clear | AutoClear | Deletes results automatically on parameter and input changes. |
| Auto Update | AutoUpdate | Recalculates results automatically on parameter and input changes. |
Defines the apply time of AutoUpdate.
This field is only used if AutoUpdate is selected as update mode.
Values:
| Title | Name | Description |
|---|---|---|
| Immediately On Input Change | ImmediatelyOnInputChange | Recalculates results immediately on parameter and input changes. |
| On Output Request | OnOutputRequest | Recalculates results only if they are requested for further use. |