how to draw inner boundaries of centroids?
Show older comments
I generated centroids from my images, and made a 2D scatter plot of them. I'd like to draw the inner boundaries using functions, but I don't know where to begin. Right now, I'm drawing the boundaries using the drawpolygon. I draw the outer boundary using convhull(). I attached an example image of what i'm looking for and the centroids data for that image. Even if something is close enough, that's totally fine. I'd like some advice how to begin.

2 Comments
Image Analyst
on 28 Jul 2020
Did you try the boundary() function?
Aditya Misra
on 28 Jul 2020
Answers (1)
Abhishek Gupta
on 7 Sep 2020
Edited: Abhishek Gupta
on 7 Sep 2020
0 votes
Referring to the following link, which might help you in resolving the issue: -
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!