From the image above, assume that it is a 3D image that is of mno size.
Each voxel can only be either 0 or 1. White is 1. Black is 0.
In this 3D environment, there is one cylinder-like structure, but the whole cylinder does not have consistent radius - from one to the other end, the radius changes around. The whole structure (as in "any edge of the structure to the whole thing inside) consists of white voxels or 1 only. All other voxels outside the structure are 0.
Red line is the computed skeleton of the 3D image - this red skeleton line is always right in the middle of the whole structure.
This implies for any particular voxel of the red line, we can draw the blue circle of respective radius for any particular voxel.
The radius or these green lines are what I am looking for.
If we are to compute for the radius of any particular voxel of the red line, how could that be accomplished?