Evaluate the smoothness of curve
17 ビュー (過去 30 日間)
古いコメントを表示
I have a binary immage, like in the figure, with different curves which I've skeletonized and from which I have the coordinates xy.
I was wondering if there is a way to evaluete how intese the curvature is: more like a circle, an hyperbola, a corner. For exemple by defining a parameter which is bigger (or smaller) regarding the curvature.
Thank you
0 件のコメント
採用された回答
darova
2019 年 9 月 7 日
I used find() function to exract all white pixels. Reduced number of points and interpolated them to get smooth curve (look HERE)
Once i found position (x,y) of pixels i had to sort them: i calculated angle for each pixel and sorted data by angle
→
And made a system of equations ( - intersection points )
Look also here: Radius of curvature
7 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!