Find Boundaries Between Regions on a Surface
Source:R/all_generic.R, R/roi_boundaries.R
findBoundaries-methods.RdThis generic function identifies boundaries between different regions or parcellations on a surface. The implementation depends on the class of the input object.
Usage
findBoundaries(x, method = "midpoint", ...)
# S4 method for class 'NeuroSurface'
findBoundaries(x, method = c("edge_vertices", "faces"), ...)Arguments
- x
A
NeuroSurfaceobject whosedataslot contains integer ROI labels for each vertex.- method
Boundary method passed to
find_roi_boundaries. Currently one of"faces"or"edge_vertices".- ...
Additional arguments passed to
find_roi_boundaries.
Value
An object containing boundary information. The specific structure depends on the method implementation.
A list as returned by find_roi_boundaries.
Details
This function provides a high-level interface for finding boundaries between different regions on a surface mesh. It typically returns coordinates and metadata describing the boundaries between regions.