3D Distances

This plugin will compute distances between objects in a same image, or between objects in two separate images.

You will need to specify the first image, named A, and the second image, named B, the two images A and B can be the same.

You will have to choose if you want to measure all the distances between all pairs of objects, or only the distances to the closest(s) object(s).

In case image A and B are the same, the first closest object will always be itself, so you should choose closest2 to get the closest object. For objects in two separate images, you can choose closest1 to get the first closest object, or closest2 to get the first two closest objects. The closest object can be computed using centre-to-centre distances or border-to-border distances, the later distance will take longer to compute.

The distances that can be computed are: centre-to-centre, border-to-border, or Hausdorff. The border-to-border and Hausdorff distances will take longer to compute.

For the computation of all distances, the values in the result table are the computed distances for:

  • Label: the value of object in image A
  • Bi: the value of object in image B

A separate result table will also display basic statistics about the computed distances.

For the computation of closest distances, the values in the result table are:*

  • Label: the value of object in image A
  • Closest_1: the value of the object for first closest object in image B.
  • Distance_1: the distance to the object for first closest object in image B. If images A and B are the same, this distance should be 0.
  • Closest_2: the value of the object for second closest object in image B.
  • Distance_1: the distance to the object for second closest object in image B.