ITK  4.1.0
Insight Segmentation and Registration Toolkit
Classes | Namespaces | Defines
itkIPLCommonImageIO.h File Reference

Go to the source code of this file.

Classes

class  itk::IPLCommonImageIO
 Class that defines how to read GE4 file format. More...

Namespaces

namespace  itk

Defines

#define IOCHECK()
#define RAISE_EXCEPTION()

Detailed Description

This file was written as a modification to the itkMetaImageIO as a new method for reading in files from the GE4 scanner.

Much of the code for this file reader/writer was taken from the University of Iowa Imaging Group library with the permission of the authors, Milan Sonka, Joseph Reinhardt, Ryan Long, Hans Johnson, Gary Christensen, and others. The specification for this file format is taken from the web site http://analyzedirect.com/support/10.0Documents/Analyze_Resource_01.pdf

Author:
Kent Williams The University of Iowa 2003

Definition in file itkIPLCommonImageIO.h.


Define Documentation

#define IOCHECK ( )
Value:
if ( f.fail() )      \
    {                  \
    if ( f.is_open() ) \
      {                \
      f.close();       \
      }                \
    RAISE_EXCEPTION(); \
    }

Definition at line 184 of file itkIPLCommonImageIO.h.

#define RAISE_EXCEPTION ( )
Value:
{ ExceptionObject exception(__FILE__, __LINE__); \
            exception.SetDescription("File cannot be read"); \
            throw exception; }

Definition at line 179 of file itkIPLCommonImageIO.h.