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

connected.tess

Connected Components of Tiles of a Tessellation


Description

Given a tessellation, find the topologically-connected pieces of each tile, and make a new tessellation using these pieces.

Usage

## S3 method for class 'tess'
connected(X, ...)

Arguments

X

A tessellation (object of class "tess").

...

Arguments passed to as.mask to determine the pixel resolution.

Details

The function connected is generic. This function connected.tess is the method for tessellations.

Given the tessellation X, the algorithm considers each tile of the tessellation, and identifies its connected components (topologically-connected pieces) using connected.owin. Each of these pieces is treated as a distinct tile and a new tessellation is made from these pieces.

The result is another tessellation obtained by subdividing each tile of X into one or more new tiles.

Value

Another tessellation (object of class "tess").

Author(s)

See Also

Examples

BB <- grow.rectangle(Frame(letterR), 0.2)
  H <- tess(tiles=list(IN=letterR, OUT=complement.owin(letterR, BB)))
  opa <- par(mfrow=c(1,2))
  plot(H, do.col=TRUE)
  plot(connected(H), do.col=TRUE, col=2:4)
  par(opa)

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.