Learn R Programming

freesurfer (version 1.6.10)

mris_euler_number: MRI Euler Number

Description

This function calls mris_euler_number to calculate the Euler Number

Usage

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

Value

Result of system command

Arguments

file

(character) input filename

outfile

(character) output filename

opts

(character) additional options to mris_euler_number

Examples

Run this code
if (FALSE) {
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"))
} 
}

Run the code above in your browser using DataLab