mris_euler_number: MRI Euler Number

Description Usage Arguments Value Examples

View source: R/mris_euler_number.R

Description

This function calls mris_euler_number to calculate the Euler Number

Usage

1
mris_euler_number(file, outfile = NULL, opts = "")

Arguments

file

(character) input filename

outfile

(character) output filename

opts

(character) additional options to mris_euler_number

Value

Result of system command

Examples

1
2
3
4
5
6
7
## Not run: 
if (have_fs() && requireNamespace("oro.nifti", quietly = TRUE)) {
   img = oro.nifti::nifti(array(rnorm(5*5*5), dim = c(5,5,5))) 
   res = mris_euler_number(img, outfile = tempfile(fileext = ".mgz"))
} 

## End(Not run)

Example output



freesurfer documentation built on Dec. 9, 2020, 1:07 a.m.