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
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/571429-how-to-draw-inner-boundaries-of-centroids#comment_951811
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/571429-how-to-draw-inner-boundaries-of-centroids#comment_951811
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/571429-how-to-draw-inner-boundaries-of-centroids#comment_951817
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/571429-how-to-draw-inner-boundaries-of-centroids#comment_951817
Sign in to comment.