"surf"
objectResample a "surf"
object by writing it to a GIFTI, using the Connectome
Workbench to resample it, and then reading the new file. The barycentric
resampling method, which is recommended for anatomical surfaces, will be
used.
resample_surf(surf, resamp_res, hemisphere = c("left", "right"))
The new "surf"
A "surf"
object
The desired resolution
"left"
or "right"
. Only used if not indicated by
surf$hemisphere
. An error will be raised if it does not match the
hemisphere indicated in the intermediate written GIFTI.
This function interfaces with the "-surface-resample"
Workbench command.
Other surface-related:
add_surf()
,
boundary_mask_surf()
,
edit_mask_surf()
,
even_vert_samp()
,
is.surf()
,
load_surf()
,
mask_surf()
,
read_surf()
,
rotate_surf()
,
surf_area()
,
view_surf()
,
write_surf_gifti()