[Insight-users] SoftwareGuide.pdf Updated

Luis Ibanez luis . ibanez at kitware . com
Wed, 28 May 2003 15:47:40 -0400


Hi,

The SoftwareGuide has been updated

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

A new example on the explicit use of VTKImageIO
was contributed by Mathieu Malaterre.

    Thanks Mathieu !



BTW, this example addressed the issue encountered
by Hideaki concerning the mechanism for setting
parameters in the ImageIO objects.

Hideaki was trying the following:

      writer->Update();
      writer->GetImageIO()->SetFileTypeToASCII();
      writer->Update();

In order to force the VTKImageIO object to
write in ASCII.  The easy way to achieve this
is to explicitly instantiate the VTKImageIO
object, call on it all the methods required
for parameter setting and finaly connect the
VTKImageIO object to the ImageFileWriter.

This is illustrated in the new example.
The code for the example is available  at

Insight/Examples/IO/ImageReadExportVTK.cxx

and in the PDF software guide on section
6.8, pdf-page 172


NOTE: each time that we update the SoftwareGuide
the section numbering and page numbering may
change.  If you happen to use an old email posted
to the users-list for looking for sections in the
software guide, please expect to find things in
slightly different places (e.g. a couple of pages
after).



   Luis