Info

This question is closed. Reopen it to edit or answer.

I have a binary shape that attached it here. i have a set of discrete [x,y] coordinates of shape's contour. now i wanna find the curvetur of contour. how can i do this?

1 view (last 30 days)
I have a binary shape that is attached here. I have a set of discrete [x,y] coordinates of shape's contour. Now I wanna find the curvature of the contour. How can I do this?

Answers (1)

Image Analyst
Image Analyst on 12 Jun 2016
Edited: Image Analyst on 12 Jun 2016
Use bwboundaries() to get the coordinates - sounds like you've already done that though. Then run through those coordinates fitting a circle to some small stretch of points using the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_fit_a_circle_to_a_set_of_XY_data.3F

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!