ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkGEAdwImageIO.h>
Class that defines how to read GEAdw file format.
Definition at line 48 of file itkGEAdwImageIO.h.
Public Member Functions | |
virtual bool | CanReadFile (const char *FileNameToRead) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::IPLCommonImageIO | |
virtual bool | CanWriteFile (const char *FileNameToWrite) |
virtual unsigned int | GetComponentSize () const |
virtual void | ModifyImageInformation () |
virtual void | Read (void *buffer) |
virtual void | ReadImageInformation () |
virtual void | SortImageListByNameAscend () |
virtual void | SortImageListByNameDescend () |
virtual void | Write (const void *buffer) |
virtual void | WriteImageInformation () |
Public Member Functions inherited from itk::ImageIOBase | |
virtual bool | CanStreamRead () |
virtual bool | CanStreamWrite () |
virtual ImageIORegion | GenerateStreamableReadRegionFromRequestedRegion (const ImageIORegion &requested) const |
virtual unsigned int | GetActualNumberOfSplitsForWriting (unsigned int numberOfRequestedSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion) |
std::string | GetByteOrderAsString (ByteOrder) const |
virtual IOComponentType | GetComponentType () const |
virtual const std::type_info & | GetComponentTypeInfo () const |
virtual std::vector< double > | GetDefaultDirection (unsigned int i) const |
virtual itk::SizeValueType | GetDimensions (unsigned int i) const |
virtual std::vector< double > | GetDirection (unsigned int i) const |
std::string | GetFileTypeAsString (FileType) const |
SizeType | GetImageSizeInBytes () const |
SizeType | GetImageSizeInComponents () const |
SizeType | GetImageSizeInPixels () const |
virtual unsigned int | GetNumberOfDimensions () const |
virtual double | GetOrigin (unsigned int i) const |
virtual SizeType | GetPixelStride () const |
virtual double | GetSpacing (unsigned int i) const |
virtual ImageIORegion | GetSplitRegionForWriting (unsigned int ithPiece, unsigned int numberOfActualSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion) |
const ArrayOfExtensionsType & | GetSupportedReadExtensions () const |
const ArrayOfExtensionsType & | GetSupportedWriteExtensions () const |
void | SetByteOrderToLittleEndian () |
virtual void | SetComponentType (const IOComponentType _arg) |
virtual void | SetDirection (unsigned int i, std::vector< double > &direction) |
virtual void | SetDirection (unsigned int i, vnl_vector< double > &direction) |
void | SetFileTypeToBinary () |
void | SetNumberOfDimensions (unsigned int) |
virtual void | SetOrigin (unsigned int i, double origin) |
template<class TPixel , unsigned VLength> | |
void | SetPixelTypeInfo (const SymmetricSecondRankTensor< TPixel, VLength > *) |
template<typename TPixel > | |
void | SetPixelTypeInfo (const DiffusionTensor3D< TPixel > *) |
template<typename TPixel , unsigned VLength> | |
void | SetPixelTypeInfo (const Matrix< TPixel, VLength, VLength > *) |
template<typename TPixel > | |
void | SetPixelTypeInfo (const std::complex< TPixel > *) |
template<unsigned VLength> | |
void | SetPixelTypeInfo (const Offset< VLength > *) |
virtual void | SetSpacing (unsigned int i, double spacing) |
template<typename TPixel > | |
void | SetTypeInfo (const TPixel *) |
virtual bool | SupportsDimension (unsigned long dim) |
virtual void | SetFileName (const char *_arg) |
virtual const char * | GetFileName () const |
virtual void | SetDimensions (unsigned int i, unsigned int dim) |
virtual void | SetIORegion (ImageIORegion _arg) |
virtual const ImageIORegion & | GetIORegion () |
virtual void | SetPixelType (const IOPixelType _arg) |
virtual IOPixelType | GetPixelType () const |
virtual void | SetNumberOfComponents (unsigned int _arg) |
virtual const unsigned int & | GetNumberOfComponents () |
virtual void | SetUseCompression (bool _arg) |
virtual bool | GetUseCompression () const |
virtual void | UseCompressionOn () |
virtual void | UseCompressionOff () |
virtual void | SetUseStreamedReading (bool _arg) |
virtual bool | GetUseStreamedReading () const |
virtual void | UseStreamedReadingOn () |
virtual void | UseStreamedReadingOff () |
virtual void | SetUseStreamedWriting (bool _arg) |
virtual bool | GetUseStreamedWriting () const |
virtual void | UseStreamedWritingOn () |
virtual void | UseStreamedWritingOff () |
virtual void | SetFileType (const FileType _arg) |
virtual FileType | GetFileType () const |
void | SetFileTypeToASCII () |
virtual void | SetByteOrder (const ByteOrder _arg) |
virtual ByteOrder | GetByteOrder () const |
void | SetByteOrderToBigEndian () |
template<typename TPixel > | |
void | SetPixelTypeInfo (const TPixel *) |
template<typename TPixel > | |
void | SetPixelTypeInfo (const RGBPixel< TPixel > *) |
template<typename TPixel > | |
void | SetPixelTypeInfo (const RGBAPixel< TPixel > *) |
template<typename TPixel , unsigned VLength> | |
void | SetPixelTypeInfo (const Vector< TPixel, VLength > *) |
template<typename TPixel > | |
void | SetPixelTypeInfo (const VariableLengthVector< TPixel > *) |
template<typename TPixel , unsigned VLength> | |
void | SetPixelTypeInfo (const CovariantVector< TPixel, VLength > *) |
template<typename TPixel , unsigned VLength> | |
void | SetPixelTypeInfo (const FixedArray< TPixel, VLength > *) |
Public Member Functions inherited from itk::LightProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::IPLCommonImageIO | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageIOBase | |
static std::string | GetComponentTypeAsString (IOComponentType) |
static IOComponentType | GetComponentTypeFromString (const std::string &typeString) |
static std::string | GetPixelTypeAsString (IOPixelType) |
static IOPixelType | GetPixelTypeFromString (const std::string &pixelString) |
Static Public Member Functions inherited from itk::LightProcessObject | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
GEAdwImageIO () | |
virtual GEImageHeader * | ReadHeader (const char *FileNameToRead) |
~GEAdwImageIO () | |
Protected Member Functions inherited from itk::IPLCommonImageIO | |
int | AddElementToList (char const *const filename, const float sliceLocation, const int offset, const int XDim, const int YDim, const float XRes, const float YRes, const int Key1, const int Key2) |
int | GetDoubleAt (std::ifstream &f, std::streamoff Offset, double *ip, bool throw_exception=true) |
int | GetFloatAt (std::ifstream &f, std::streamoff Offset, float *ip, 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 | GetStringAt (std::ifstream &f, std::streamoff Offset, char *buf, vcl_size_t amount, bool throw_exception=true) |
double | hdr2Double (char *hdr) |
float | hdr2Float (char *hdr) |
int | hdr2Int (char *hdr) |
short | hdr2Short (char *hdr) |
IPLCommonImageIO () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | sortImageListAscend () |
void | sortImageListDescend () |
int | statTimeToAscii (void *clock, char *timeString, int len) |
~IPLCommonImageIO () | |
Protected Member Functions inherited from itk::ImageIOBase | |
void | AddSupportedReadExtension (const char *extension) |
void | AddSupportedWriteExtension (const char *extension) |
void | ComputeStrides () |
virtual unsigned int | GetActualNumberOfSplitsForWritingCanStreamWrite (unsigned int numberOfRequestedSplits, const ImageIORegion &pasteRegion) const |
SizeType | GetComponentStride () const |
virtual const ImageRegionSplitterBase * | GetImageRegionSplitter (void) const |
virtual unsigned int | GetPixelSize () const |
SizeType | GetRowStride () const |
SizeType | GetSliceStride () const |
virtual ImageIORegion | GetSplitRegionForWritingCanStreamWrite (unsigned int ithPiece, unsigned int numberOfActualSplits, const ImageIORegion &pasteRegion) const |
ImageIOBase () | |
virtual void | ReadBufferAsASCII (std::istream &os, void *buffer, IOComponentType ctype, SizeType numberOfBytesToBeRead) |
bool | ReadBufferAsBinary (std::istream &os, void *buffer, SizeType numberOfBytesToBeRead) |
virtual void | Reset (const bool freeDynamic=true) |
void | Resize (const unsigned int numDimensions, const unsigned int *dimensions) |
virtual void | WriteBufferAsASCII (std::ostream &os, const void *buffer, IOComponentType ctype, SizeType numberOfBytesToWrite) |
~ImageIOBase () | |
Protected Member Functions inherited from itk::LightProcessObject | |
virtual void | GenerateData () |
LightProcessObject () | |
~LightProcessObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
GEAdwImageIO (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::IPLCommonImageIO | |
IPLFileNameList * | m_FilenameList |
GEImageHeader * | m_ImageHeader |
ImageIOBase::ByteOrder | m_SystemByteOrder |
typedef SmartPointer< Self > itk::GEAdwImageIO::Pointer |
Definition at line 54 of file itkGEAdwImageIO.h.
typedef GEAdwImageIO itk::GEAdwImageIO::Self |
Standard class typedefs.
Definition at line 52 of file itkGEAdwImageIO.h.
Definition at line 53 of file itkGEAdwImageIO.h.
|
private |
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 VariablesSuite 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
|
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 VariablesSuite 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 121 of file itkGEAdwImageIO.h.
|
protected |
|
protected |
|
private |
|
virtual |
Determine if the file can be read with this ImageIO implementation.
FileNameToRead | The name of the file to test for reading. |
Reimplemented from itk::IPLCommonImageIO.
|
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 |
Run-time type information (and related methods).
Reimplemented from itk::IPLCommonImageIO.
|
static |
Method for creation through the object factory.
|
private |
|
protectedvirtual |
Reimplemented from itk::IPLCommonImageIO.