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

Home » Public Forums » archive » setting the path for READ_DICOM
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
setting the path for READ_DICOM [message #36029] Sat, 09 August 2003 13:17 Go to previous message
pford is currently offline  pford
Messages: 33
Registered: September 1996
Member
Greetings:

I need to read in a DICOM image. This obviously is trivial but I am
hung up on getting the path set correctly. I am using IDL V6 on Mac OS
X and X11. The file I want to open is

/Volumes/A/00130.DCM

I am trying to open it using the following:

Pro testdicom
img = READ_DICOM(FILEPATH('00130.DCM', SUBDIR=['Volumes', 'A']))
tvscl, img
end

and I get the following error message:

READ_DICOM: The file /usr/local/rsi/idl_6.0/Volumes/A/00130.DCM is not
in a supported DICOM format.

I have fooled around with !PATH, the preferences, openr, etc.

I want to avoid moving the file to /usr/local/rsi/idl_6.0 because of
its root privileges and invisibility.

OK, so what do I need to do to set the correct path?

Thanks

Patrick Ford, MD
pford@*nospam*bcm.tmc.edu
[Message index]
 
Read Message
Read Message
Previous Topic: Graphics problem on Sun Ultra2 workstation
Next Topic: Re: Unable to get the user value of the top level base after a draw widget expose event

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

Current Time: Fri Oct 10 05:40:59 PDT 2025

Total time taken to generate the page: 0.24013 seconds