how to draw inner boundaries of centroids?

조회 수: 2 (최근 30일)
Aditya Misra
Aditya Misra 2020년 7월 28일
편집: Abhishek Gupta 2020년 9월 7일
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
Image Analyst
Image Analyst 2020년 7월 28일
Did you try the boundary() function?
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