Print

Print


Hello,
  I want to convert dcm file into Analyze format (img/hdr), and the engineer of the Siemens 3T scanner gave me dcm files.  When I used the SPM2 DCM toolbox, the error infomation was occured in MATLAB. And the suffix of the file is "dcm", not "IMA".
  I check the previous archive of SPM E-mail list,and I found a lot of information about converting dcm(mosaic) file into Analyze format, but it is a pity that I did not find a way to solve it.


Date: Mon, 2 Apr 2007 09:57:04 -0400From: [log in to unmask]: [log in to unmask]: Re: [SPM] The problem about convert dcm files.CC: [log in to unmask]
You want to convert dcm file into what?Does the Siemens 3T scanner directly provides you an option to save the images into dcm format.
 
abhinay
 
 
 
 
On 3/31/07, 龙 翔宇 <[log in to unmask]> wrote: 
When I am trying to convert dcm files obtained from our Siemens 3T scanner,the error was came as follows: ??? One or more output arguments not assigned during call to'spm_dicom_headers (decode_csa1)'.Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (decode_csa) Online 341  ==> t = decode_csa1(fp,lim); Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (read_dicom) Online 86  ==> dat  = decode_csa(fp,tag.length);Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (read_sq) On line 192  ==> Item   = read_dicom(fp, flg, dict, tag.length);Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (read_dicom) Online 162  ==> [dat,len1] = read_sq(fp, flg,dict,tag.length);Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (readdicomfile)On line 59  ==> ret = read_dicom(fp, 'le',dict);Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m On line 24  ==> tmp = readdicomfile(P(i,:),dict);Error in ==> D:\MATLAB6p5p1\work\spm2\toolbox\dicom\spm_DICOM.m On line 143==>             hdr = spm_dicom_headers(P1);Error in ==> D:\MATLAB6p5p1\work\spm2\spm.m On line 1183  ==> evalin('base',varargin{2}(i).prog)??? Error while evaluating uicontrol Callback.My data was one file include one volumn, and we scan 30 slices but the dcmfile included 36 slices._________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。  http://www.hotmail.com-- Abhinay D. JoshiUT SouthwesternE06.122 MC 9061Dallas, TX 75390 P -214-648-9265Principal Imaging ScientistAvid Radiopharmaceuticals, Inc.3624 Market Street, 5th FloorPhiladelphia, PA 19104 
_________________________________________________________________
通过 Windows Live Spaces 与朋友轻松共享您的生活。
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=zh-cn