, where v1 and v2 are the input volumes and
represents the voxel location.
intensity spread.
where
and
are segmented regions in the two volumes. Note that, for this function, any non-zero voxel in a volume is considered a part of the segmented region of that volume.
and
, where v1 and v2 are the first and second input volumes, respectively. This corresponds to the volume-difference measure
in the Higgins proposal [9], defined as
where
and
are defined as in (3), above.
, and calculate their volume, weighing each non-mutual voxel by its 26-connected distance from the border of the first volume. This corresponds to the volume-difference measure
in the Higgins proposal [9], defined as 
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.
addition algorithm to compute the 26--connected distance map for a volume. This was the original method for computing distance maps within ROI before it was replaced by the fast algorithm. This function is also available in the ROI other category.
Updated:
Fri May 19 14:39:07 CDT