Hi.&nbsp; 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&nbsp; but I am not sure of the proper format for the string in the GDCMSeriesFileNames SetInputDirectory method.<br>
<br>With all of the code in the example the same, I would like to change the line:<br><br>namesGenerator-&gt;SetInputDirectory( argv[1] )<br><br>to a hard-coded directory, as in:<br><br>namesGeneratory-&gt;SetInputDirector( &quot;~/Images/Test Images/John Doe/8675309&quot; )<br>
<br>where the folder ~/Images/Test Images/John Doe/8675309/&nbsp; contains the dicom series I want read in, but changing that line as I have above does not work.&nbsp; (I am using a linux platform)&nbsp; What is the proper format for this string?<br>
<br>Thanks very much,<br>MS<br>