Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make the path smooth? #5

Open
qiang-zhang-neu opened this issue Dec 17, 2019 · 2 comments
Open

How to make the path smooth? #5

qiang-zhang-neu opened this issue Dec 17, 2019 · 2 comments

Comments

@qiang-zhang-neu
Copy link

sknw is a very good project. However, I wonder whether there is a method to make the path smooth? I need to calculate the resliced image along the skeleton, and the path (graph[s][e]['pts']) is not smooth. How can I make the path more smooth? Thank you very much!

@yxdragon
Copy link
Member

sorry for not watching this project. I think there are 3 meaning about smooth.

  1. get a smooth skeleton when thin the image.
  2. got the graph, and fit the edge
  3. you want to cut small branch
    which one do you want?

@alexvtol
Copy link

Tip for point 2: Felix Repp used a spline to fit the skeleton. The advantage is that the length of a spline is a bit better, as it takes the real estimated curvature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants