comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » GE PET DICOM format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
GE PET DICOM format [message #37984] Wed, 11 February 2004 13:19
karin.knesaurek is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mathematical Expression Parser
Next Topic: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:07:25 PDT 2025

Total time taken to generate the page: 0.00489 seconds