I have ring-like binary images with varying thicknesses. I want to calculate its thickness by calculating the distance between the inner and outer boundaries.
In many places, people used distance transform to do this. Ideally, if I take the distance values in the medial axis, it will give me the thickness by distance*2.
However, in my case, the shape is very uneven; hence the medial axis can branch. But since the 3D structure I am analyzing is tube-like, I need a thickness value that I can project to the outer boundary to visualize. This means the thickness values should be strictly on a ring-like medial axis.
I am wondering if we can do the distance transform from one boundary to another instead of starting from boundaries and going toward the center.