Identify the vertices within boundary_width
edges of a vertex in the
input mask on a triangular mesh. Returns a logical indicating if a vertex
is within boundary_width
edges of the mask.
boundary_mask_surf(faces, mask, boundary_width = 10)
A length-V logical vector. Each entry corresponds to the vertex
with the same index. The value is true if a vertex is within
boundary_width
edges of a vertex in the mask, but is not within the
mask itself.
An \(F \times 3\) matrix, where each row contains the vertex indices for a given triangular face in the mesh. \(F\) is the number of faces in the mesh.
A length \(V\) logical vector indicating if each vertex is within the input mask.
A positive integer representing the width of the
boundary to compute. The furthest vertices from the input mask will be this
number of edges away from the closest vertex in the input mask. Default:
10
.
Other surface-related:
add_surf()
,
edit_mask_surf()
,
even_vert_samp()
,
is.surf()
,
load_surf()
,
mask_surf()
,
read_surf()
,
resample_surf()
,
rotate_surf()
,
surf_area()
,
view_surf()
,
write_surf_gifti()