Skip to content

Closing cycles #99

@abhinanda-punnakkal

Description

@abhinanda-punnakkal

Hi, I am using kimimaro to obtain skeletonizations of mitochondria shapes. I use 3D voxels, but I use meshes to illustrate here. My input for skeletonization is given below.

Image

The object contains a loop/cycle which I would like to preserve. However, as the algorithm is trying to find the furthest point from root, the result is as shown below:

Image

I tried playing around with the pdrf_scale and pdrf_exponent values a bit but I did not get a closed loop. I see you have checks for cycles in your tests. So I was wondering if its possible to get loopy skeletons using this method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions