Home »
Public Forums »
archive »
Re: Can't READ_DICOM without DIALOG_PICKFILE
Re: Can't READ_DICOM without DIALOG_PICKFILE [message #25319] |
Sun, 27 May 2001 09:08 |
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 |
|
|
|
Current Time: Wed Oct 08 16:50:20 PDT 2025
Total time taken to generate the page: 0.00480 seconds