dirichletAreas | R Documentation |
Calculates the area of each tile in the Dirichlet-Voronoi tessellation of a point pattern.
dirichletAreas(X)
X |
Point pattern (object of class |
This is an efficient algorithm to calculate the areas of the tiles in the Dirichlet-Voronoi tessellation.
If the window of X
is a binary pixel mask, the
tile areas are computed by counting pixels. Otherwise the
areas are computed exactly using analytic geometry.
If any points of X
are duplicated, the duplicates will
have tile area zero.
Numeric vector with one entry for each point of X
.
and \ege
dirichlet
,
dirichletVertices
aa <- dirichletAreas(cells)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.