ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions
itk::GEAdwImageIO Class Reference

#include <itkGEAdwImageIO.h>

+ Inheritance diagram for itk::GEAdwImageIO:
+ Collaboration diagram for itk::GEAdwImageIO:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef GEAdwImageIO Self
typedef IPLCommonImageIO Superclass

Public Member Functions

virtual bool CanReadFile (const char *FileNameToRead)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 GEAdwImageIO ()
virtual GEImageHeaderReadHeader (const char *FileNameToRead)
 ~GEAdwImageIO ()

Private Types

enum  GE_ADW_DEFINES {
  GE_ADW_SU_ID_LEN = 4,
  GE_ADW_SU_PRODID_LEN = 13,
  GE_ADW_EX_SUID_LEN = 4,
  GE_ADW_EX_NO_LEN = 2,
  GE_ADW_EX_HOSPNAME_LEN = 33,
  GE_ADW_EX_MAGSTRENGTH_LEN = 4,
  GE_ADW_EX_PATID_LEN = 13,
  GE_ADW_EX_PATNAME_LEN = 25,
  GE_ADW_EX_PATAGE_LEN = 2,
  GE_ADW_EX_PATIAN_LEN = 2,
  GE_ADW_EX_PATSEX_LEN = 2,
  GE_ADW_EX_PATWEIGHT_LEN = 4,
  GE_ADW_EX_HIST_LEN = 61,
  GE_ADW_EX_DATETIME_LEN = 4,
  GE_ADW_EX_REFPHY_LEN = 33,
  GE_ADW_EX_DIAGRAD_LEN = 33,
  GE_ADW_EX_OP_LEN = 4,
  GE_ADW_EX_DESC_LEN = 23,
  GE_ADW_EX_TYP_LEN = 3,
  GE_ADW_EX_FORMAT_LEN = 2,
  GE_ADW_EX_SYSID_LEN = 9,
  GE_ADW_SE_SUID_LEN = 4,
  GE_ADW_SE_UNIQ_LEN = 2,
  GE_ADW_SE_EXNO_LEN = 2,
  GE_ADW_SE_NO_LEN = 2,
  GE_ADW_SE_DATETIME_LEN = 4,
  GE_ADW_SE_DESC_LEN = 30,
  GE_ADW_SE_TYP_LEN = 2,
  GE_ADW_SE_PLANE_LEN = 2,
  GE_ADW_SE_POSITION_LEN = 4,
  GE_ADW_SE_ENTRY_LEN = 4,
  GE_ADW_SE_ANREF_LEN = 3,
  GE_ADW_SE_CONTRAST_LEN = 2,
  GE_ADW_SE_START_RAS_LEN = 1,
  GE_ADW_SE_START_LOC_LEN = 4,
  GE_ADW_SE_END_RAS_LEN = 1,
  GE_ADW_SE_END_LOC_LEN = 4,
  GE_ADW_SE_NUMIMAGES_LEN = 4,
  GE_ADW_IM_SUID_LEN = 4,
  GE_ADW_IM_UNIQ_LEN = 2,
  GE_ADW_IM_EXNO_LEN = 2,
  GE_ADW_IM_SENO_LEN = 2,
  GE_ADW_IM_NO_LEN = 2,
  GE_ADW_IM_DATETIME_LEN = 4,
  GE_ADW_IM_ACTUAL_DT_LEN = 4,
  GE_ADW_IM_SCTIME_LEN = 4,
  GE_ADW_IM_SLTHICK_LEN = 4,
  GE_ADW_IM_IMATRIX_X_LEN = 2,
  GE_ADW_IM_IMATRIX_Y_LEN = 2,
  GE_ADW_IM_DFOV_LEN = 4,
  GE_ADW_IM_DFOV_RECT_LEN = 4,
  GE_ADW_IM_DIM_X_LEN = 4,
  GE_ADW_IM_DIM_Y_LEN = 4,
  GE_ADW_IM_PIXSIZE_X_LEN = 4,
  GE_ADW_IM_PIXSIZE_Y_LEN = 4,
  GE_ADW_IM_CONTMODE_LEN = 2,
  GE_ADW_IM_PLANE_LEN = 2,
  GE_ADW_IM_SCANSPACING_LEN = 4,
  GE_ADW_IM_LOC_RAS_LEN = 1,
  GE_ADW_IM_LOC_LEN = 4,
  GE_ADW_IM_ULHC_R_LEN = 4,
  GE_ADW_IM_ULHC_A_LEN = 4,
  GE_ADW_IM_ULHC_S_LEN = 4,
  GE_ADW_IM_URHC_R_LEN = 4,
  GE_ADW_IM_URHC_A_LEN = 4,
  GE_ADW_IM_URHC_S_LEN = 4,
  GE_ADW_IM_BRHC_R_LEN = 4,
  GE_ADW_IM_BRHC_A_LEN = 4,
  GE_ADW_IM_BRHC_S_LEN = 4,
  GE_ADW_IM_TR_LEN = 4,
  GE_ADW_IM_TI_LEN = 4,
  GE_ADW_IM_TE_LEN = 4,
  GE_ADW_IM_NUMECHO_LEN = 2,
  GE_ADW_IM_ECHONUM_LEN = 2,
  GE_ADW_IM_NEX_LEN = 4,
  GE_ADW_IM_CONTIG_LEN = 2,
  GE_ADW_IM_HRTRATE_LEN = 2,
  GE_ADW_IM_TDEL_LEN = 4,
  GE_ADW_IM_XMTGAIN_LEN = 2,
  GE_ADW_IM_MR_FLIP_LEN = 2,
  GE_ADW_IM_CPHASE_LEN = 2,
  GE_ADW_IM_SWAPPF_LEN = 2,
  GE_ADW_IM_OBPLANE_LEN = 4,
  GE_ADW_IM_XMTFREQ_LEN = 4,
  GE_ADW_IM_PRESCAN_R1_LEN = 2,
  GE_ADW_IM_PRESCAN_R2_LEN = 2,
  GE_ADW_IM_IMODE_LEN = 2,
  GE_ADW_IM_IOPT_LEN = 4,
  GE_ADW_IM_PSEQ_LEN = 2,
  GE_ADW_IM_PSDNAME_LEN = 33,
  GE_ADW_IM_CTYP_LEN = 2,
  GE_ADW_IM_CNAME_LEN = 17,
  GE_ADW_IM_SUPP_TECH_LEN = 2,
  GE_ADW_IM_VBW_LEN = 4,
  GE_ADW_IM_SLQUANT_LEN = 2,
  GE_ADW_IM_USER0_LEN = 4,
  GE_ADW_IM_USER1_LEN = 4,
  GE_ADW_IM_USER2_LEN = 4,
  GE_ADW_IM_USER3_LEN = 4,
  GE_ADW_IM_USER4_LEN = 4,
  GE_ADW_IM_USER5_LEN = 4,
  GE_ADW_IM_USER6_LEN = 4,
  GE_ADW_IM_USER7_LEN = 4,
  GE_ADW_IM_USER8_LEN = 4,
  GE_ADW_IM_USER9_LEN = 4,
  GE_ADW_IM_USER10_LEN = 4,
  GE_ADW_IM_USER11_LEN = 4,
  GE_ADW_IM_USER12_LEN = 4,
  GE_ADW_IM_USER13_LEN = 4,
  GE_ADW_IM_USER14_LEN = 4,
  GE_ADW_IM_USER15_LEN = 4,
  GE_ADW_IM_USER16_LEN = 4,
  GE_ADW_IM_USER17_LEN = 4,
  GE_ADW_IM_USER18_LEN = 4,
  GE_ADW_IM_USER19_LEN = 4,
  GE_ADW_IM_USER20_LEN = 4,
  GE_ADW_IM_USER21_LEN = 4,
  GE_ADW_IM_USER22_LEN = 4,
  GE_ADW_IM_USER23_LEN = 4,
  GE_ADW_IM_USER24_LEN = 4,
  GE_ADW_IM_SATBITS_LEN = 2,
  GE_ADW_IM_SCIC_LEN = 2,
  GE_ADW_IM_FLAX_LEN = 2,
  GE_ADW_IM_VENC_LEN = 2,
  GE_ADW_IM_THK_DISCLMR_LEN = 2,
  GE_ADW_IM_VAS_COLLAPSE_LEN = 2,
  GE_ADW_IM_X_AXIS_ROT_LEN = 4,
  GE_ADW_IM_Y_AXIS_ROT_LEN = 4,
  GE_ADW_IM_Z_AXIS_ROT_LEN = 4,
  GE_ADW_IM_ECHO_TRN_LEN = 2,
  GE_ADW_IM_FRAC_ECHO_LEN = 2,
  GE_ADW_IM_PREP_PULSE_LEN = 2,
  GE_ADW_IM_CPHASENUM_LEN = 2,
  GE_ADW_IM_VAR_ECHO_LEN = 2,
  GE_ADW_IM_FREQ_DIR_LEN = 2,
  GE_ADW_IM_VMODE_LEN = 2,
  GE_ADW_VARIABLE_HDR_LENGTH_LEN = 4
}

Private Member Functions

 GEAdwImageIO (const Self &)
void operator= (const Self &)

Detailed Description

Class that defines how to read GEAdw file format.

Author:
Hans J. Johnson

Definition at line 48 of file itkGEAdwImageIO.h.


Member Typedef Documentation

Reimplemented from itk::IPLCommonImageIO.

Definition at line 54 of file itkGEAdwImageIO.h.

Standard class typedefs.

Reimplemented from itk::IPLCommonImageIO.

Definition at line 52 of file itkGEAdwImageIO.h.

Reimplemented from itk::IPLCommonImageIO.

Definition at line 53 of file itkGEAdwImageIO.h.


Member Enumeration Documentation

Enumerator:
GE_ADW_SU_ID_LEN 

Site id - String Product ID - String

GE_ADW_SU_PRODID_LEN 

Exam study ID - String

GE_ADW_EX_SUID_LEN 

Exam Number - Unsigned short Int

GE_ADW_EX_NO_LEN 

Hospital Name - String

GE_ADW_EX_HOSPNAME_LEN 

Magnet Strength - Integer

GE_ADW_EX_MAGSTRENGTH_LEN 

Patient ID - String

GE_ADW_EX_PATID_LEN 

Patient Name - String

GE_ADW_EX_PATNAME_LEN 

Patient Age - Short Int

GE_ADW_EX_PATAGE_LEN 

Patient Age Notation - SHort Int

GE_ADW_EX_PATIAN_LEN 

Patient Sex - Short Integer

GE_ADW_EX_PATSEX_LEN 

Patient Weight - Integer

GE_ADW_EX_PATWEIGHT_LEN 

Patient History - String

GE_ADW_EX_HIST_LEN 

Exam date/time stamp - Integer

GE_ADW_EX_DATETIME_LEN 

Referring Physician - String

GE_ADW_EX_REFPHY_LEN 

Diagnostician/Radiologist - String

GE_ADW_EX_DIAGRAD_LEN 

Operator - String

GE_ADW_EX_OP_LEN 

Exam Description - String

GE_ADW_EX_DESC_LEN 

Exam Type - String

GE_ADW_EX_TYP_LEN 

Exam Format - Short Integer

GE_ADW_EX_FORMAT_LEN 

Creator Suite and Host - String

GE_ADW_EX_SYSID_LEN 
GE_ADW_SE_SUID_LEN 

Series Header Variables Suite Id for Series - String The Make-Unique Flag - Short Integer

GE_ADW_SE_UNIQ_LEN 

Exam Number - Unsigned Short Integer

GE_ADW_SE_EXNO_LEN 

Series Number - Short Integer

GE_ADW_SE_NO_LEN 

Date/Time stamp - Integer

GE_ADW_SE_DATETIME_LEN 

Series description - String

GE_ADW_SE_DESC_LEN 

Series Type - Short Integer

GE_ADW_SE_TYP_LEN 

Most Like Plane - Short Integer

GE_ADW_SE_PLANE_LEN 

Patient Position - Integer

GE_ADW_SE_POSITION_LEN 

Patient Entry - Integer

GE_ADW_SE_ENTRY_LEN 

Anatomical reference - String

GE_ADW_SE_ANREF_LEN 

Non-zero if contrast - Short Int

GE_ADW_SE_CONTRAST_LEN 

RAS letter for first scan location

  • STring
GE_ADW_SE_START_RAS_LEN 

Start location position - Float

GE_ADW_SE_START_LOC_LEN 

RAS letter for last scan location - String

GE_ADW_SE_END_RAS_LEN 

End location position - Float

GE_ADW_SE_END_LOC_LEN 

Number of Images Existing - Integer

GE_ADW_SE_NUMIMAGES_LEN 
GE_ADW_IM_SUID_LEN 

Image Header Variables Suite ID for this image - String The make unique flag - Short Integer

GE_ADW_IM_UNIQ_LEN 

Exam number for this image - Unsigned short

GE_ADW_IM_EXNO_LEN 

Series number for image - short integer

GE_ADW_IM_SENO_LEN 

Image number - short integer

GE_ADW_IM_NO_LEN 

Image allocation date/time stamp - integer

GE_ADW_IM_DATETIME_LEN 

Actual image date/time stamp - Date

GE_ADW_IM_ACTUAL_DT_LEN 

Duration of scan (secs) - float

GE_ADW_IM_SCTIME_LEN 

Slice thickness (mm) - float

GE_ADW_IM_SLTHICK_LEN 

Image matrix size X - short integer

GE_ADW_IM_IMATRIX_X_LEN 

Image matrix size Y - short integer

GE_ADW_IM_IMATRIX_Y_LEN 

Display field of view X (mm) - float

GE_ADW_IM_DFOV_LEN 

Display field of view Y (mm) if different - float

GE_ADW_IM_DFOV_RECT_LEN 

Image dimension X - float

GE_ADW_IM_DIM_X_LEN 

Image dimension Y - float

GE_ADW_IM_DIM_Y_LEN 

Image pixel size X - float

GE_ADW_IM_PIXSIZE_X_LEN 

Image pixel size Y - float

GE_ADW_IM_PIXSIZE_Y_LEN 

Image contrast mode - short integer

GE_ADW_IM_CONTMODE_LEN 

Plane type - short integer

GE_ADW_IM_PLANE_LEN 

Spacing between scans (mm) - float

GE_ADW_IM_SCANSPACING_LEN 

RAS letter of image location - string

GE_ADW_IM_LOC_RAS_LEN 

Image location - float

GE_ADW_IM_LOC_LEN 

R coordinate of upper left corner - float

GE_ADW_IM_ULHC_R_LEN 

A coordinate of upper left corner - float

GE_ADW_IM_ULHC_A_LEN 

S coordinate of upper left corner - float

GE_ADW_IM_ULHC_S_LEN 

R coordinate of upper right corner - float

GE_ADW_IM_URHC_R_LEN 

A coordinate of upper right corner - float

GE_ADW_IM_URHC_A_LEN 

S coordinate of upper right corner - float

GE_ADW_IM_URHC_S_LEN 

R coordinate of bottom right corner - float

GE_ADW_IM_BRHC_R_LEN 

A coordinate of bottom right corner - float

GE_ADW_IM_BRHC_A_LEN 

S coordinate of bottom right corner - float

GE_ADW_IM_BRHC_S_LEN 

Pulse repetition time (usec) - integer

GE_ADW_IM_TR_LEN 

Pulse inversion time (usec) - integer

GE_ADW_IM_TI_LEN 

Pulse echo time (usec) - integer

GE_ADW_IM_TE_LEN 

Number of echoes - short integer

GE_ADW_IM_NUMECHO_LEN 

Echo number - short integer

GE_ADW_IM_ECHONUM_LEN 

Number of averages - float

GE_ADW_IM_NEX_LEN 

Continuos slices flag - short integer

GE_ADW_IM_CONTIG_LEN 

Cardiac Heart rate (bpm) - short integer

GE_ADW_IM_HRTRATE_LEN 

Delay after trigger (usec) - integer

GE_ADW_IM_TDEL_LEN 

Actual transmit gain (.1 dB) - short integer

GE_ADW_IM_XMTGAIN_LEN 

Flip angle for GRASS scans (dgr) - short integer

GE_ADW_IM_MR_FLIP_LEN 

Total cardiac phases prescribed - short integer

GE_ADW_IM_CPHASE_LEN 

Swap phase/frequency - short integer

GE_ADW_IM_SWAPPF_LEN 

Oblique plane - integer

GE_ADW_IM_OBPLANE_LEN 

Transmit frequency - integer

GE_ADW_IM_XMTFREQ_LEN 

Prescan R1 value - short integer

GE_ADW_IM_PRESCAN_R1_LEN 

Prescan R2 value - short integer

GE_ADW_IM_PRESCAN_R2_LEN 

Imaging mode - short integer

GE_ADW_IM_IMODE_LEN 

Imaging options - integer

GE_ADW_IM_IOPT_LEN 

Imaging pulse sequence - short integer

GE_ADW_IM_PSEQ_LEN 

Pulse sequence name - string

GE_ADW_IM_PSDNAME_LEN 

Coil type - short integer

GE_ADW_IM_CTYP_LEN 

Coil name - string

GE_ADW_IM_CNAME_LEN 

SAT type FAT/WATER/NONE - short integer

GE_ADW_IM_SUPP_TECH_LEN 

Variable bandwidth (Hz) - float

GE_ADW_IM_VBW_LEN 

Number of slices in scan group - short integer

GE_ADW_IM_SLQUANT_LEN 

User variable 0 - float

GE_ADW_IM_USER0_LEN 

User variable 1 - float

GE_ADW_IM_USER1_LEN 

User variable 2 - float

GE_ADW_IM_USER2_LEN 

User variable 3 - float

GE_ADW_IM_USER3_LEN 

User variable 4 - float

GE_ADW_IM_USER4_LEN 

User variable 5 - float

GE_ADW_IM_USER5_LEN 

User variable 6 - float

GE_ADW_IM_USER6_LEN 

User variable 7 - float

GE_ADW_IM_USER7_LEN 

User variable 8 - float

GE_ADW_IM_USER8_LEN 

User variable 9 - float

GE_ADW_IM_USER9_LEN 

User variable 10 - float

GE_ADW_IM_USER10_LEN 

User variable 11 - float

GE_ADW_IM_USER11_LEN 

User variable 12 - float

GE_ADW_IM_USER12_LEN 

User variable 13 - float

GE_ADW_IM_USER13_LEN 

User variable 14 - float

GE_ADW_IM_USER14_LEN 

User variable 15 - float

GE_ADW_IM_USER15_LEN 

User variable 16 - float

GE_ADW_IM_USER16_LEN 

User variable 17 - float

GE_ADW_IM_USER17_LEN 

User variable 18 - float

GE_ADW_IM_USER18_LEN 

User variable 19 - float

GE_ADW_IM_USER19_LEN 

User variable 20 - float

GE_ADW_IM_USER20_LEN 

User variable 21 - float

GE_ADW_IM_USER21_LEN 

User variable 22 - float

GE_ADW_IM_USER22_LEN 

User variable 23 - float

GE_ADW_IM_USER23_LEN 

User variable 24 - float

GE_ADW_IM_USER24_LEN 

Bitmap of sat selections - short integer

GE_ADW_IM_SATBITS_LEN 

Surface coil intensity correction flag - short integer

GE_ADW_IM_SCIC_LEN 

Phase contrast flow analysis - short integer

GE_ADW_IM_FLAX_LEN 

Phase contrast flow encoding - short integer

GE_ADW_IM_VENC_LEN 

Slice thickness - short integer

GE_ADW_IM_THK_DISCLMR_LEN 

Collapse image - short integer

GE_ADW_IM_VAS_COLLAPSE_LEN 

X-axis rotation - float

GE_ADW_IM_X_AXIS_ROT_LEN 

Y-axis rotation - float

GE_ADW_IM_Y_AXIS_ROT_LEN 

Z-axis rotation - float

GE_ADW_IM_Z_AXIS_ROT_LEN 

Length of echo train - short integer

GE_ADW_IM_ECHO_TRN_LEN 

Fractional echo - short integer

GE_ADW_IM_FRAC_ECHO_LEN 

Prep pulses - short integer

GE_ADW_IM_PREP_PULSE_LEN 

Cardiac phase number - short integer

GE_ADW_IM_CPHASENUM_LEN 

Variable echo - short integer

GE_ADW_IM_VAR_ECHO_LEN 

Frequency direction - short integer

GE_ADW_IM_FREQ_DIR_LEN 

Vascular mode - short integer

GE_ADW_IM_VMODE_LEN 

Total Length of the Fixed header

GE_ADW_VARIABLE_HDR_LENGTH_LEN 

Size of variable header - integer

Definition at line 120 of file itkGEAdwImageIO.h.


Constructor & Destructor Documentation

itk::GEAdwImageIO::GEAdwImageIO ( const Self ) [private]

Member Function Documentation

virtual bool itk::GEAdwImageIO::CanReadFile ( const char *  FileNameToRead) [virtual]

Determine if the file can be read with this ImageIO implementation.

Author:
Hans J Johnson
Parameters:
FileNameToReadThe name of the file to test for reading.
Postcondition:
Sets classes ImageIOBase::m_FileName variable to be FileNameToWrite
Returns:
Returns true if this ImageIO can read the file specified.

Reimplemented from itk::IPLCommonImageIO.

virtual::itk::LightObject::Pointer itk::GEAdwImageIO::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::IPLCommonImageIO.

virtual const char* itk::GEAdwImageIO::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::IPLCommonImageIO.

static Pointer itk::GEAdwImageIO::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::IPLCommonImageIO.

void itk::GEAdwImageIO::operator= ( const Self ) [private]

This method causes the filter to generate its output.

Reimplemented from itk::IPLCommonImageIO.

virtual GEImageHeader* itk::GEAdwImageIO::ReadHeader ( const char *  FileNameToRead) [protected, virtual]

Reimplemented from itk::IPLCommonImageIO.


The documentation for this class was generated from the following file: