Info
此问题已关闭。 请重新打开它进行编辑或回答。
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 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Image Analyst
2016-6-12
编辑:Image Analyst
2016-6-12
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
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!