The definitions provided for Specificity and Generalisation (equations 6.2 and 6.4) require a measure, , of separation in image space. The most straightforward way to measure the distance between images is to treat each image as a vector formed by concatenating the pixel/voxel intensity values, then take the Euclidean distance. This means that each pixel/voxel in one image is compared against its spatially corresponding pixel/voxel in another image. Although this has the merit of simplicity, it does not provide a very well-behaved distance measure since it increases rapidly for quite small image misalignments. Another possibility is to use Image Euclidean Distance (IMED), as proposed in a recent paper [], by considering the two images as surfaces
and searching from each position
in one image along the tangent to the surface at point
for the nearest point on the surface covered by the other image. While this approach was implemented and tested by me, it was not considered further due to efficiency and time constraints.
This observation led to consideration of an alternative distance measure, based on the `shuffle difference', inspired by the `shuffle transform' []. Given two images
and
, the shuffle distance between them is defined as
![]() |
(6.6) |
The idea is illustrated in Figure . Instead of taking the sum-of-squared-differences between corresponding pixels, the minimum absolute difference between each pixel in one image and the values in a neighbourhood around the corresponding pixel is used. This is less sensitive to small misalignments, and provides a better-behaved distance measure. The tolerance for misalignment is dependent on the size of the neighbourhood (
), as is illustrated in Figure
.
![]()
|
![]()
|
It should be noted that the shuffle distance, as defined above, depends on the direction in which it is measured (see Figure ), hence is not a true distance. It is trivial to construct a symmetric shuffle distance, by averaging the distance calculated in both directions between a pair of images. I found empirically, however, that the improvement obtained in this way was not significant, and did not justify the increased computation time. In what follows, the asymmetric shuffle distance is used exclusively.
![]()
|
Roy Schestowitz 2010-04-05