Sounds like a distance transform to me.

Do you want to know distances around objects or as the bird flies?