teamtomo / membrain-seg

membrane segmentation in 3D for cryo-ET
Other
47 stars 12 forks source link

Feature suggestion: skeletonization of output segmentation #26

Open LorenzLamm opened 11 months ago

LorenzLamm commented 11 months ago

As discussed in https://github.com/teamtomo/membrain-seg/issues/24 , it might be nice to have an option (or even the default?) to output skeletonized outputs of the membrane segmentations instead of voxel-wise segmentations.

These skeletons would allow for membrane analysis regardless of their thickness, and also allow the user to control the membrane thickness by "growing" them using image dilation.

skeletonization_snap
alisterburt commented 11 months ago

for my own clarity, the skeletonised output is still a voxel-grid, right? just it has a maximum possible thickness?

LorenzLamm commented 11 months ago

Yes, correct. It's still on a voxel grid and should get as thin as possible while still maintaining the connectivity of the original segmentation.

rdrighetto commented 10 months ago

I just became aware of this feature request, as Wojciech in our lab just suggested the same thing. After reading the discussion in #24, I think it would be totally awesome to have the skeletonization (and further regrowing to an arbitrary thickness) as an option. However, I would not make this the default behavior. A skeletonized segmentation is not directly related to the experimental data anymore, so I think the input/output causality becomes more difficult for users to understand. Also, often growing all membranes to the same thickness is not what you want, since varying thickness does happen in real data, can depend on the viewing direction, etc. Still, I know it can be useful in many scenarios for analysis, and for more standardized performance comparison. So I suggest having this feature as an optional postprocessing operation.