Wan,
The problem is that the DICOM files are JPEG compressed, and currently Freesurfer only supports raw data format.
A work-around is to use a converter, such as MRIcro to load the files and convert to a supported format, such as that output by the MRIcro's Import->Conversion wizard tool. Then run mri_convert with that file (a .img extension is produced). I've done this, and mri_convert produces the desired COR files. I can post either the .img file or the COR files for ftp download if you like.
Better DICOM file validation will appear in a future version of Freesurfer.
Nick
On Thu, 5 May 2005, Wan Park wrote:
hi, i am trying to convert 124 slices of .dcm files COR, but when i put
mri_convert E9042_S002_A0001_anon.dcm .
(E9042_S002_A0001_anon.dcm is the first slice).
i receive this message:
%mri_convert E9042_S002_A0001_anon.dcm . mri_convert E9042_S002_A0001_anon.dcm . reading from E9042_S002_A0001_anon.dcm... 124 DICOM 3.0 files in list Found 124 DICOM Files WARNING: NumberOfFrames 0 != Found Count of slices 124. reading DICOM image... Segmentation fault %
could you please help me with this? thanks,
wan
freesurfer@nmr.mgh.harvard.edu