[Insight-developers] Reorganized IO directory

Lydia Ng lng@insightful.com
Thu, 13 Dec 2001 12:15:01 -0800


Hi,

One of my existing Examples was using itkRawImageWriter
which has now been removed in the IO directory reorg.

I was going to switch over to using=20
itkRawImageIO/itkImageFileWriter but I have been unsuccessful.

The first problem is that I can't instantiate a itkRawImageIO
object because abstract function ImageIO::ReadImageInformation
have not been implemented in itkRawImageIO.

The second problem is that ImageFileWriter::Write()
doesn't do anything.
And the doing bit of ImageFileWriter::Write( ioRegion )
has been hashed defined out.

Could we possibly have RawImageWriter back in the
interim?=20
I would like to see my MultiResMIRegistration Example
work for the alpha and also it's nice to be
able to dump out raw images when I am debugging my
algorithms.

-Lydia


> -----Original Message-----
> From: Will Schroeder [mailto:will.schroeder@kitware.com]
> Sent: Tuesday, December 11, 2001 12:44 PM
> To: insight-developers@public.kitware.com
> Subject: [Insight-developers] Reorganized IO directory
>=20
>=20
> Hi Folks-
>=20
> I am reorganizing and consolidating the IO related classes=20
> into the IO directory. Several IO related filters were in=20
> BasicFilters (Writer, VTKImageWriter, VTKImageReader,=20
> vtkRawImageReader, etc.) These have now been removed and are=20
> being replaced by the appropriate ImageIOBase subclasses.=20
>=20
> The ImageIO classes (e.g., VTKImageIO) will perform both=20
> reading and writing, and the filters ImageFileReader and=20
> ImageFileWriter interact with them (and have the ability to=20
> create them using an object factory mechanism).
>=20
> Note that I made an API change in ImageIO - the Load() method=20
> has been renamed to Read() to be consistent with the rest of=20
> the interface and the other objects.
>=20
> Some of the classes (ImageFileWriter, VTKImageIO) are not=20
> fully functional yet, I wanted to get the reorganization done=20
> to get the dashboard to settle down and isolate later changes=20
> to the new classes.
>=20
> Note that I changed several tests that used the obsoleted VTK=20
> and Raw readers/writers.
>=20
> Please contact me if there are any problems or questions.
>=20
> Will
>=20
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>=20