This workflow shows how to calculate the distances between a selected label/region of intereset ("roi") and all the other rois within a image segmentation. Here, Euclidean distance is used but can be replaced by any other coordinate-based distance metric.
This is a companion discussion topic for the original entry at https://kni.me/w/tqGiFkC6bTlaXn-L