how to draw inner boundaries of centroids?

2 次查看(过去 30 天)
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 个评论
Aditya Misra
Aditya Misra 2020-7-28
I was under the impresion that the boundary() function would give me the outer boundary, but not the inner one.

请先登录,再进行评论。

回答(1 个)

Abhishek Gupta
Abhishek Gupta 2020-9-7
编辑:Abhishek Gupta 2020-9-7
Referring to the following link, which might help you in resolving the issue: -

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by