[Insight-users] GDCMSeriesFileNames Directory Format
    Marshall Strother 
    mcstrother at gmail.com
       
    Tue Dec 30 15:37:53 EST 2008
    
    
  
Hi.  I am trying to read in a series of sample DICOM images using the sample
program in InsightToolkit-3.10.0/Examples/IO/DicomSeriesReadSeriesWrite.cxx
but I am not sure of the proper format for the string in the
GDCMSeriesFileNames SetInputDirectory method.
With all of the code in the example the same, I would like to change the
line:
namesGenerator->SetInputDirectory( argv[1] )
to a hard-coded directory, as in:
namesGeneratory->SetInputDirector( "~/Images/Test Images/John Doe/8675309" )
where the folder ~/Images/Test Images/John Doe/8675309/  contains the dicom
series I want read in, but changing that line as I have above does not
work.  (I am using a linux platform)  What is the proper format for this
string?
Thanks very much,
MS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081230/848866c0/attachment.htm>
    
    
More information about the Insight-users
mailing list