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("midpoint", "edge_vertices", "faces"), ...)Arguments
- x
A
NeuroSurfaceobject whosedataslot contains integer ROI labels for each vertex.- method
Boundary method passed to
find_roi_boundaries. One of"midpoint"(default, crisp single-width contours),"edge_vertices", or"faces".- ...
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.