I've managed to get the centroids coordinates of all the blobs but I need to sort them somehow in order to obtain what I need (I've tried using poly2mask without sorthing them and the attached image is the result). Any ideas?
How to unite the missing parts of a curve - binary images
1 次查看(过去 30 天)
显示 更早的评论
I have a binary image of a curve with many missing parts and I need an idea to unite the discontinuities in order to obtain a continous curve.
I've attached below 3 examples and I need to code it so that the same code works on all of them
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!