title: Can python sitk.ReadImage read a list/series of images?
body: <p>I do not understand if sitk.ReadImage can read a list of images or not? I did not manage to find an example showing how to list of images should be inputed to the function.
  But in the function documentations it say:</p>
  
  <pre><code>ReadImage(**VectorString fileNames**, itk::simple::PixelIDValueEnum outputPixelType) -&gt; Image
  ReadImage(std::string const &amp; filename, itk::simple::PixelIDValueEnum outputPixelType) -&gt; Image
  
  
  
  ReadImage is a procedural interface to the ImageSeriesReader class which is convenient for most image reading tasks.
  
  
  Note that when reading a series of images that have meta-data
  associated with them (e.g. a DICOM series) the resulting image will
  have an empty meta-data dictionary. It is possible to programmatically
  add a meta-data dictionary to the compounded image by reading in one
  or more images from the series using the ImageFileReader class,
  analyzing the meta-dictionary associated with each of those images and
  creating one that is relevant for the compounded image.
  </code></pre>
  
  <p>So it seems from the documentations that it is possible. Can someone show me a simple example.</p>
  
  <p>EDIT: 
  I tried the following:</p>
  
  <pre><code>sitk.ReadImage(['volume00001.mhd','volume00002.mhd'])
  </code></pre>
  
  <p>but this is the error that I get:</p>
  
  <pre><code>RuntimeErrorTraceback (most recent call last)
  &lt;ipython-input-42-85abf82c3afa&gt; in &lt;module&gt;()
        1 files = [f for f in os.listdir('.') if 'mhd' in f]
        2 print(sorted_files[1:25])
  ----&gt; 3 sitk.ReadImage(['volume00001.mhd','volume00002.mhd'])
  
  /gpfs/bbp.cscs.ch/home/amsalem/anaconda2/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in ReadImage(*args)
     8330 
     8331     """
  -&gt; 8332     return _SimpleITK.ReadImage(*args)
     8333 class HashImageFilter(ProcessObject):
     8334     """
  
  RuntimeError: Exception thrown in SimpleITK ReadImage: /tmp/SimpleITK/Code/IO/src/sitkImageSeriesReader.cxx:145:
  sitk::ERROR: The file in the series have unsupported 3 dimensions.
  </code></pre>
  
  <p>Thanks.</p>