Mask a surface mesh.
mask_surf(surf, mask)
The masked "surf"
object.
A "surf"
object
A length \(V\) logical vector indicating if each vertex is within the input mask.
Apply a binary mask to a "surf"
object (list of vertices and
corresponding faces). Vertices not in the mask are removed, and faces
(triangles) with any vertices not in the mask are removed. Finally,
vertex numbering for the new faces matrix is corrected.
Other surface-related:
add_surf()
,
boundary_mask_surf()
,
edit_mask_surf()
,
even_vert_samp()
,
is.surf()
,
load_surf()
,
read_surf()
,
resample_surf()
,
rotate_surf()
,
surf_area()
,
view_surf()
,
write_surf_gifti()