Hi
An error happened when I perform Bet using DPARSFA 4.1 . The Matlab command window gives some options to solve these problem, but I don't understand how to choose one option and continue processing. It reads as below in the command window:
Bet begin...
Chris Rorden's dcm2nii :: 1 April 2010
reading preferences file E:\Program Files (x86)\preprocessing\DPABI_V2.1_160415\DPARSF\dcm2nii\dcm2nii.ini
0 E:\Program Files (x86)\preprocessing\DPABI_V2.1_160415\DPARSF\dcm2nii\dcm2nii.exe ERROR: unable to find and patient\Analysis\RealignParameter\sub_01 I:\Research\patient\Analysis\RealignParameter\sub_01\Bet_mean4Da20130114_205412IM-0004-00012011BCLHQs004a1001_001BeforeBet.img
Either drag and drop or specify command line options:
dcm2nii <options> <sourcenames>
OPTIONS:
-a Anonymize [remove identifying information]: Y,N = Y
-b load settings from specified inifile, e.g. '-b C:\set\t1.ini'
-c Collapse input folders: Y,N = N
-d Date in filename [filename.dcm -> 20061230122032.nii]: Y,N = Y
-e events (series/acq) in filename [filename.dcm -> s002a003.nii]: Y,N = Y
-f Source filename [e.g. filename.par -> filename.nii]: Y,N = N
-g gzip output, filename.nii.gz [ignored if '-n n']: Y,N = N
-i ID in filename [filename.dcm -> johndoe.nii]: Y,N = Y
-n output .nii file [if no, create .hdr/.img pair]: Y,N = N
-o Output Directory, e.g. 'C:\TEMP' (if unspecified, source directory is used)
-p Protocol in filename [filename.dcm -> TFE_T1.nii]: Y,N = Y
-r Reorient image to nearest orthogonal: Y,N
-s SPM2/Analyze not SPM5/NIfTI [ignored if '-n y']: Y,N = Y
-v Convert every image in the directory: Y,N = N
-x Reorient and crop 3D NIfTI images: Y,N = N
You can also set defaults by editing E:\Program Files (x86)\preprocessing\DPABI_V2.1_160415\DPARSF\dcm2nii\dcm2nii.ini
EXAMPLE: dcm2nii -a y -o C:\TEMP C:\DICOM\input1.par C:\input2.parjava.lang.ArrayIndexOutOfBoundsException
Forums
Re: [RFMRI] error when
My system is win7. I tried
My system is win7. I tried to drag and drop the option line (-r Reorient image to nearest orthogonal: Y,N ) and error still ocured.
See if :\Research\patient
See if :\Research\patient\Analysis\RealignParameter\sub_01\Bet_mean4Da20130114_205412IM-0004-00012011BCLHQs004a1001_001BeforeBet.img exists.
dcm2nii cannot cd to portable harddisk
It seems that dcm2nii cannot cd to portable harddisk. When I change the directory into disk D and the error didn't happen again.