How to extract the Voronoi cells that fall inside ROI ?

1 vue (au cours des 30 derniers jours)
AH15
AH15 le 31 Août 2020
Commenté : Rena Berman le 9 Oct 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 commentaires
Rik
Rik le 1 Sep 2020
And here is a capture to the Wayback Machine as well.
Rena Berman
Rena Berman le 9 Oct 2020
(Answers Dev) Restored edit

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 31 Août 2020
  1 commentaire
KSSV
KSSV le 31 Août 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Voronoi Diagram dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by