Evaluate the smoothness of curve
16 views (last 30 days)
Show older comments
Sebastian Ursarescu
on 7 Sep 2019
Commented: Sebastian Ursarescu
on 16 Sep 2019
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 Comments
Accepted Answer
darova
on 7 Sep 2019
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 Comments
More Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!