extend_boundary: extend image boundary around territory

View source: R/morphology_operators.R

extend_boundaryR Documentation

extend image boundary around territory

Description

extend image boundary around territory

Usage

extend_boundary(territories, morphology_factor)

Arguments

territories

data frame containing x/y and color value of territories to extend

morphology_factor

integer or vector of integers describing growth and/or shrink extent.

Details

we want to avoid clipping territory if they sit at the edge of the image. To avoid this we simply extend the image boundary.


patrickCNMartin/Vesalius documentation built on April 17, 2025, 11:31 p.m.