ImagePy add some feature to simplified a network structure

Hi every one:
I add some feature to simplified a network yesterday, maybe it is useful for you.

we often get many short branch when do skeleton, which generated by the local thinning algorithm. It is difficult to exclude when thinning, So I add some feature to simplified it on network.

this is the skeleton image

cut branch short then 100

if we use a high threshold in recursion mode, only ring would be left

cut branch leave many isolate node, we can remove them

we can also remove the node with only 2 path, and combine them as one path

we can also cut them by free hand roi


branch is more inevitable in 3d skeleton

a simplified one

1 Like