How to extract the Voronoi cells that fall inside ROI ?

2 Ansichten (letzte 30 Tage)
AH15
AH15 am 31 Aug. 2020
Kommentiert: Rena Berman am 9 Okt. 2020
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 Kommentare
Rik
Rik am 1 Sep. 2020
And here is a capture to the Wayback Machine as well.
Rena Berman
Rena Berman am 9 Okt. 2020
(Answers Dev) Restored edit

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 31 Aug. 2020
  1 Kommentar
KSSV
KSSV am 31 Aug. 2020
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Voronoi Diagram finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by