How to extract the Voronoi cells that fall inside ROI ?

조회 수: 2 (최근 30일)
AH15
AH15 2020년 8월 31일
댓글: Rena Berman 2020년 10월 9일
Hello,
if I have a Voronoi diagram and a specified region of interest ROI which is a part of this Voronoi diagram, how can I extract the cells that fall inside this ROI ?
  댓글 수: 3
Rik
Rik 2020년 9월 1일
And here is a capture to the Wayback Machine as well.
Rena Berman
Rena Berman 2020년 10월 9일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2020년 8월 31일
  댓글 수: 1
KSSV
KSSV 2020년 8월 31일
I you know the indices cant you get the coordinates? Pick the logical indices of points lying inside the ROI. Use
P = [x(idx) y(idx)] ; % assuming x, y are column vectors

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Voronoi Diagram에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by