even_vert_samp {ciftiTools} | R Documentation |
Evenly sample vertices of mesh
Description
Get a subset of the mesh vertices that are spatially evenly-sampled, by resampling the mesh and choosing the original vertices closest (Euclidian distance) to the new vertices.
Usage
even_vert_samp(surf, n_vert)
Arguments
surf |
A |
n_vert |
The desired number of vertices in the evenly-spaced sample.
Note that the actual size of the subset will likely be close to but not
exactly |
Value
An integer vector giving the indices of the vertices in the subset.
See Also
Other surface-related:
add_surf()
,
boundary_mask_surf()
,
edit_mask_surf()
,
is.surf()
,
load_surf()
,
mask_surf()
,
read_surf()
,
resample_surf()
,
rotate_surf()
,
surf_area()
,
view_surf()
,
write_surf_gifti()
[Package ciftiTools version 0.15.1 Index]