GE PET DICOM format [message #37984] |
Wed, 11 February 2004 13:19 |
karin.knesaurek
Messages: 1 Registered: February 2004
|
Junior Member |
|
|
Can somebody help me with GE PET DICOM format. A set of corronal or
sagittal slices are all placed in one directory. I can read all files
but I don't know how to put them in order because GE names them by
using bed position, rather than order, first, second, etc. For
example, the script below reads all files:
im=fltarr(128,164,180)
array = findfile('C:\Documents and
$Settings\KARIN\Desktop\CORIRSACSUV\*.dcm',Count=Nrfiles)
If NrFiles gt 0 Then Begin
For I=0,NrFiles-1 Do print,Array(i) ; The variable I needs to start at
0
for i=0,NrFiles-1 do Begin
im(*,*,i)=rotate(READ_DICOM(Array(i)),7); diff. orientation of IDL and
Dicom
tvscl,im(*,*,i)
Endfor
EndIf
End
``````````````````
Names of the each image/file are of the form
Image.2_2345000.dcm,Image.6_2345000.dcm,Image.10_2345000.dcm etc.,
where 2,6 and 10 are bed positions and can be negative,
e.g.,Image.-6_2345000.dcm is also image/file name.
|
|
|