Distance to annotation within an image

I have generated many annotations of tumor within an Image.
Is there a function which permits me to look out for the distance between annotations within the same image?
The aim is to check out how far microscopic tumor spread beyond the gros tumor volume.

Thanks in advance.

Distances between objects can mean multiple things. Distance from edge to edge, edge to center, center to center.
You may be able to get what you are looking for by changing the type of object for one of your objects, or really digging into the coding for distance transforms, but I do not think there is a built in way to look at annotation to annotation distances.