[Insight-users] ImageSeriesReadWrite.cxx Volume Format

Luis Ibanez luis.ibanez at kitware.com
Sun Feb 4 13:29:55 EST 2007


Hi Felix,

Welcome to ITK !


Please look at the ITK Software Guide

    http://www.itk.org/ItkSoftwareGuide.pdf

In particular to Chapter 7 "Reading and Writing Images"
in pdf-pages: 295-345.


A list of the image file formats supported in ITK is
available in the ITK Wiki FAQ:

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


The file format that support 3D images in a
single fileare:


    MetaImage
    VTK
    Analyze
    Nifti
    Gipl


The ones that *DO NOT* support 3D images in a
single file are

    JPEG
    PNG
    TIFF
    BMP



  Regards,


     Luis


==========================
Felix Bollenbeck wrote:
> Hi itk users,
> currently Im trying to get familiar with the enormous itk functionality...
> 
> straightforward: ImageSeriesReadWrite is in the examples dir calling it 
> with a renamed .png file matching the name generator expression causes 
> an error -  no 3D png files!
> 
> what is a suitable volume fileformat?
> 
> TIA and regards,
> 
> Felix.
> 
> felix at mue-11:~/Desktop/Insight/bin$ ./ImageSeriesReadWrite 1 5 out.png
> ExceptionObject caught !
> 
> itk::ExceptionObject (0x810d148)
> Location: "virtual void itk::PNGImageIO::Write(const void*)"
> File: /home/felix/Desktop/InsightToolkit-3.0.0/Code/IO/itkPNGImageIO.cxx
> Line: 432
> Description: itk::ERROR: PNGImageIO(0x810e0d8): PNG Writer can only 
> write 2-dimensional images. You are requesting to write an image of 
> dimension = 3 with filename out.png
> 
> _______________________________________________
> 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