Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dirichletAreas

Compute Areas of Tiles in Dirichlet Tessellation


Description

Calculates the area of each tile in the Dirichlet-Voronoi tessellation of a point pattern.

Usage

dirichletAreas(X)

Arguments

X

Point pattern (object of class "ppp").

Details

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.

Value

Numeric vector with one entry for each point of X.

Author(s)

and Ege Rubak rubak@math.aau.dk

See Also

Examples

aa <- dirichletAreas(cells)

spatstat.geom

Geometrical Functionality of the 'spatstat' Family

v2.1-0
GPL (>= 2)
Authors
Adrian Baddeley [aut, cre], Rolf Turner [aut], Ege Rubak [aut], Tilman Davies [ctb], Ute Hahn [ctb], Abdollah Jalilian [ctb], Sebastian Meyer [ctb], Suman Rakshit [ctb], Dominic Schuhmacher [ctb], Rasmus Waagepetersen [ctb]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.