How to make the path smooth?
qiang-zhang-neu opened this issue · 2 comments
qiang-zhang-neu commented
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 commented
sorry for not watching this project. I think there are 3 meaning about smooth.
- get a smooth skeleton when thin the image.
- got the graph, and fit the edge
- you want to cut small branch
which one do you want?
alexvtol commented
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.