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

Home » Public Forums » archive » Re: DICOM directory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: DICOM directory [message #66021] Tue, 14 April 2009 15:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rstoyanova@med.miami.edu writes:

> I have ~1000 MRI files in DICOM format from the same subject; the data
> is anonymized and the filename are 6 digit #s. I can read them
> individually, but I would like to recreate the directory structure,
> i.e. sort the files coming from the same sequence.

I don't understand this question. Are you looking
for the FILE_SEARCH and SORT commands?

files = File_Search('/home/coyote/data/*.dcm', COUNT=count)
IF count GT 0 THEN files = files[Sort(files)]

Cheers,

David



--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: no focus on a widget
Next Topic: DEM from geoeye pan data

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

Current Time: Sat Oct 11 01:39:07 PDT 2025

Total time taken to generate the page: 1.68143 seconds