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 -0400
From: [log in to unmask]
To: [log in to unmask]
Subject: 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) On
line 341  ==> t = decode_csa1(fp,lim);

Error in ==> D:\MATLAB6p5p1\work\spm2\spm_dicom_headers.m (read_dicom) On
line 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) On
line 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 dcm
file included 36 slices.

_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。  http://www.hotmail.com



--
Abhinay D. Joshi
UT Southwestern
E06.122 MC 9061
Dallas, TX 75390
P -214-648-9265

Principal Imaging Scientist
Avid Radiopharmaceuticals, Inc.
3624 Market Street, 5th Floor
Philadelphia, PA 19104


通过 Live.com 查看资讯、娱乐信息和您关心的其他信息! 立即尝试!