#include <itkIPLCommonImageIO.h>
Inheritance diagram for itk::IPLCommonImageIO:
Public Types | |
typedef IPLCommonImageIO | Self |
typedef ImageIOBase | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef unsigned char | U8 |
typedef signed char | S8 |
typedef unsigned short | U16 |
typedef signed short | S16 |
typedef unsigned int | U32 |
typedef signed int | S32 |
typedef unsigned long | U64 |
typedef signed long | S64 |
typedef float | F32 |
typedef double | F64 |
typedef FILESORTINFOSTRUCT | FILESORTINFO |
enum | ENUM_PLANE_SELECTION { NO_PLANE = 0, AXIAL = 1, CORONAL = 2, SAGITTAL = 3, UNKNOWN_PLANE = 5 } |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | CanReadFile (const char *FileNameToRead) |
virtual void | ReadImageInformation () |
virtual const std::type_info & | GetPixelType () const |
virtual void | Read (void *buffer) |
virtual unsigned int | GetComponentSize () const |
virtual bool | CanWriteFile (const char *FileNameToWrite) |
virtual void | WriteImageInformation () |
virtual void | Write (const void *buffer) |
Static Public Member Functions | |
Pointer | New () |
Protected Types | |
typedef FILENAMELISTSTRUCT | FILENAMELIST |
Protected Member Functions | |
IPLCommonImageIO () | |
~IPLCommonImageIO () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | InitializeFILENAMELIST (FILENAMELIST *const fnList) |
int | AddElementToList (FILENAMELIST *const fnList, char const *const filename, const float sliceLocation, const int offset, const int XDim, const int YDim, const int Key1, const int Key2) |
void | sortImageListAscend (FILENAMELIST *const fnList) |
void | sortImageListDescend (FILENAMELIST *const fnList) |
int | statTimeToAscii (void *clock, char *timeString) |
virtual struct GEImageHeader * | ReadHeader (const char *FileNameToRead) |
int | GetStringAt (std::ifstream &f, std::streamoff Offset, char *buf, vcl_size_t amount, bool throw_exception=true) |
int | GetIntAt (std::ifstream &f, std::streamoff Offset, int *ip, bool throw_exception=true) |
int | GetShortAt (std::ifstream &f, std::streamoff Offset, short *ip, bool throw_exception=true) |
int | GetFloatAt (std::ifstream &f, std::streamoff Offset, float *ip, bool throw_exception=true) |
int | GetDoubleAt (std::ifstream &f, std::streamoff Offset, double *ip, bool throw_exception=true) |
short | hdr2Short (char *hdr) |
int | hdr2Int (char *hdr) |
float | hdr2Float (char *hdr) |
double | hdr2Double (char *hdr) |
Protected Attributes | |
GEImageHeader * | m_ImageHeader |
ImageIOBase::ByteOrder | m_system_byteOrder |
FILENAMELIST | m_fnlist |
Definition at line 46 of file itkIPLCommonImageIO.h.
|
Definition at line 62 of file itkIPLCommonImageIO.h. |
|
Definition at line 63 of file itkIPLCommonImageIO.h. |
|
Definition at line 147 of file itkIPLCommonImageIO.h. |
|
Definition at line 128 of file itkIPLCommonImageIO.h. |
|
Reimplemented from itk::ImageIOBase.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO. Definition at line 53 of file itkIPLCommonImageIO.h. |
|
Definition at line 57 of file itkIPLCommonImageIO.h. |
|
Definition at line 59 of file itkIPLCommonImageIO.h. |
|
Definition at line 61 of file itkIPLCommonImageIO.h. |
|
Definition at line 55 of file itkIPLCommonImageIO.h. |
|
Standard class typedefs. Reimplemented from itk::ImageIOBase.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO. Definition at line 51 of file itkIPLCommonImageIO.h. |
|
Reimplemented from itk::ImageIOBase.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO. Definition at line 52 of file itkIPLCommonImageIO.h. |
|
Definition at line 56 of file itkIPLCommonImageIO.h. |
|
Definition at line 58 of file itkIPLCommonImageIO.h. |
|
Definition at line 60 of file itkIPLCommonImageIO.h. |
|
Definition at line 54 of file itkIPLCommonImageIO.h. |
|
Definition at line 111 of file itkIPLCommonImageIO.h. |
|
|
|
|
|
|
|
Determine if the file can be read with this ImageIO implementation.
Implements itk::ImageIOBase.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO.
|
|
Determine if the file can be written with this ImageIO implementation.
Implements itk::ImageIOBase.
|
|
Run-time type information (and related methods). Reimplemented from itk::ImageIOBase.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO.
|
|
Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte. Reimplemented from itk::ImageIOBase.
|
|
|
|
|
|
|
|
Get the type of the pixel. Reimplemented from itk::ImageIOBase.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method for creation through the object factory. Reimplemented from itk::LightProcessObject.
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO.
|
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ImageIOBase.
|
|
Reads the data from disk into the memory buffer provided. Implements itk::ImageIOBase.
|
|
Reimplemented in itk::GE4ImageIO, itk::GE5ImageIO, itk::GEAdwImageIO, and itk::SiemensVisionImageIO.
|
|
Set the spacing and dimension information for the set filename. Implements itk::ImageIOBase.
|
|
|
|
|
|
|
|
Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly. Implements itk::ImageIOBase.
|
|
Set the spacing and dimension information for the set filename. Implements itk::ImageIOBase.
|
|
Definition at line 158 of file itkIPLCommonImageIO.h. |
|
Definition at line 156 of file itkIPLCommonImageIO.h. |
|
Definition at line 157 of file itkIPLCommonImageIO.h. |