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

Home » Public Forums » archive » Re: Can't READ_DICOM without DIALOG_PICKFILE
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
Re: Can't READ_DICOM without DIALOG_PICKFILE [message #25319] Sun, 27 May 2001 09:08
Ivan Zimine is currently offline  Ivan Zimine
Messages: 40
Registered: February 1999
Member
"Emmler, Oliver" wrote:
>
> i try to read DICOM-Files from a directory directly under \IDL53\.. .
> The directory name is \IDL53\radiologie\
> The term ...
> file = READ_DICOM(DIALOG_PICKFILE())
>
> ... works fine for this.
>
> Now i want to automate the reading of the files but with
>
> file = READ_DICOM(FILEPATH('MC002.dcm', SUBDIR=['radiologie']))

is 'radiologie' a subdirectory of your IDL installation directory?
if not, you may look at ROOT_DIR keyword for FILEPATH.

or try something like

datadir = "c:\path\to\data\"
img = read_dicom(datadir+"MC002.dcm")

--
Ivan Zimine | ivan.zimine@physics.unige.ch
Dpt. of Radiology | (+41 22) 372 70 70
Geneva University Hospitals |
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: test
Next Topic: sec : U Re: Can't READ_DICOM without DIALOG_PICKFILE

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

Current Time: Wed Oct 08 16:50:20 PDT 2025

Total time taken to generate the page: 0.00480 seconds