surface_to_obj {freesurfer} | R Documentation |
Convert Freesurfer Surface to Wavefront OBJ
Description
Reads in a surface file from Freesurfer and converts it to a Wavefront OBJ file
Usage
surface_to_obj(infile, outfile = NULL, ...)
Arguments
infile |
Input surface file |
outfile |
output Wavefront OBJ file. If |
... |
additional arguments to pass to
|
Value
Character filename of output file
Examples
if (have_fs()) {
infile = file.path(fs_subj_dir(),
"bert", "surf", "rh.pial")
res = surface_to_obj(infile = infile)
}
[Package freesurfer version 1.6.10 Index]