Fitting curve to points in image

2 views (last 30 days)
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

Accepted Answer

Image Analyst
Image Analyst on 14 Jul 2014
Use bwconvhull(), then followup with bwboundaries().

More Answers (0)

Community Treasure Hunt

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

Start Hunting!