where
and is defined as the shortest distance
from the point
to a point on
,
the boundary of
.
-D distance-weighted volume difference. Similar to the 3-D DWVD, above, except it performs the calculations on 2-D slices of a 3-D image.
For functions 3-6 the error volume can be output as an absolute error volume or as a ratio of the first volume.
Average error (function 1): aveXXXXXX
* Close voxels (function 2): closeXXXXXX
* Volume differences (functions 3-6): diffXXXXXX
*The DWVD functions (5-6) will also produce an output image. This image has gray-level intensities representing the distance from the border of the first volume to points outside of the volume, with points interior to the border being set to 1. For example, if a voxel in the output image has a gray-level intensity of 5, then it is 5 voxels away from the nearest border voxel of the first volume.
- distance algorithms:
- A fast algorithm originally proposed by Vincent [30] was used to compute the required 8--connected distances for the 2--D distance--weighted volume difference calculations. This algorithm was modified to work with 3--D 26-connected distances to expedite computation of the 3--D distance--weighted volume difference measurements. Refer to [30] and the source code (see comments) for more information on these functions.
first volume = 0
* second volume = 0
* function = average error
*
* * Parameters for [2] # close voxels *
* intensity spread = 0
*
* * Parameters for [3-6] volume differences *
* result calculated as = ratio of volume #1
*
* * Parameters for [5-6] DWVD functions *
* maximum distance to consider = 255
*
The parameter ``function = '' toggles between the available
functions define above.
The ``intensity spread ='' parameter is applicable only for the
close voxels function, and defines the theshold of gray-level
difference between the two volumes.
``result calculated as ='' defines the volume difference output
as a ratio of the first volume or as an absolute error volume.
The final parameter ``maximum distance to consider ='' specifies
the maximum distance a voxel can be weighted by in the distance-weighted
volume difference calculations.
Philip Americus