[Insight-users] DicomSeriesReadImageWriter2.cxx

Luis Ibanez luis.ibanez at kitware.com
Mon Mar 10 09:16:15 EDT 2008


Hi Ignacio,

The second argument to this program *MUST* be a valid image
format filename.

In particular, you *must* have a valid filename extension.

Please look at the Wiki FAQ for the list of supported fileformats:

http://www.itk.org/Wiki/ITK_FAQ#What_3D_file_formats_can_ITK_import_and_export.3F


Commonly used file format are

    MetaImage   extension  .mhd
    Nifti       extension  .hdr
    Nrrd        extension  .nrrd


Please try commands like:

   DicomSeriesReadImageWriter2 carpeta DICOMImageIO2.mhd
   DicomSeriesReadImageWriter2 carpeta DICOMImageIO2.hdr
   DicomSeriesReadImageWriter2 carpeta DICOMImageIO2.nrrd



BTW: The program should already provided you with an
      error message indicating that it tried several
      known fileformats and couldn't find one that
      manage the filename "DICOMImageIO2", due to the
      lack of a valid extension.



   Regards,


       Luis


----------------------------
Ignacio García Fenoll wrote:
> Good morning!
> 
> I am trying to do an example using DicomSeriesReadImageWrite2.cxx 
> through the commands line. I have put a directory called "carpeta" in 
> the same directory where the .exe file is placed, filled with de DICOM 
> slices, and I have made a .bat file with de next arguments:
> 
> DicomSeriesReadImageWriter2 carpeta DICOMImageIO2
> 
> What is the problem with that?
> 
> Thank you very much!!
> 
> -- 
> Ignacio García Fenoll
> Grupo de Imágenes Médicas
> Departamento de Teoría de la Señal y Comunicaciones
> Universidad de Sevilla
> e-mail: igfenoll at gmail.com <mailto:igfenoll at gmail.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list