Fitting curve to points in image

2 次查看(过去 30 天)
Dear Friends i want to fit a curve to my image titled original so that it may look like image titled final but the problem is i cant fit the desired curved , i tried many methods but the problem is the centroids are not ordered correctly.... the fitting starts at the middle and expands upwards then downward.... any ideas to correct centroids or fit curve without the need to correct centroid points?
<<
>>
thanks

采纳的回答

Image Analyst
Image Analyst 2014-7-14
Use bwconvhull(), then followup with bwboundaries().

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by