The main class interface for reading, writing and accessing images is called ImageIO . This is a reference counted class, so it can easily be shared among different classes without any memory management concerns. Class ImageIO manages a pointer to a subclass of ImageIORep that is specialized for a specific image type. There is currently only one class subclass implemented in this library, for FITS images, called FitsIO 1 . One flexible way to create an ImageIO object is to pass the constructor a pointer to the subclass of ImageIORep to be managed:
ImageIO imio = FitsIO::read(filename);
The FitsIO::read static method returns a pointer to a FitsIO object, created by reading the given file.
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory