QMRITools`
QMRITools`

ImportNii

ImportNii[]

promts to select the nii file to import.

ImportNii["file"]

imports the nii file. The default output is {data, vox}, however using NiiMethod various outputs can be given. The Nii import is also suported using the native Import function from Mathematica.

Details

  • The following options can be given:
  • NiiMethod"default"NiiMethod is an option for ImportNIi. Values can be "data", "dataTR", "header", "scaling", "headerMat", "rotation", "all".
    NiiScalingFalseNiiScaling is an option for ImportNii. It scales the nii values with scale slope and offset for quantitative data.

Examples