15 #ifndef itkDRCAnalyzeImageIO_h
16 #define itkDRCAnalyzeImageIO_h
18 #include <NifTKConfigure.h>
53 virtual void ReadImageInformation()
override;
60 void PrintSelf(std::ostream& os, Indent indent)
const override;
63 ImageIOBase::ByteOrder CheckAnalyzeEndian(
const struct dsr &temphdr);
66 void SwapHeaderBytesIfNecessary( ImageIOBase::ByteOrder& byteOrder,
struct dsr *
const imageheader );
70 ITK_DRC_ANALYZE_ORIENTATION_RAI_AXIAL = 0,
71 ITK_DRC_ANALYZE_ORIENTATION_RSP_CORONAL = 1,
72 ITK_DRC_ANALYZE_ORIENTATION_ASL_SAGITTAL = 2,
73 ITK_DRC_ANALYZE_ORIENTATION_RPI_AXIAL_FLIPPED = 3,
74 ITK_DRC_ANALYZE_ORIENTATION_RIP_CORONAL_FLIPPED = 4,
75 ITK_DRC_ANALYZE_ORIENTATION_AIL_SAGITTAL_FLIPPED = 5
76 } ValidDRCAnalyzeOrientationFlags;
81 void operator=(
const Self&);
AnalyzeImageIO3160 Superclass
Definition: itkDRCAnalyzeImageIO.h:37
Subclass of AnalyzeImageIO3160, to read Dementia Research Centre (DRC) Analyze format, which is incorrectly flipped. If you call this->SetDRCMode(true) (also default), it will do DRC specific functionality, and if you call SetDRCMode(false), it will revert to standard ITK functionality.
Definition: itkDRCAnalyzeImageIO.h:31
Definition: niftkITKAffineResampleImage.cxx:74
bool GetDRCMode() const
Definition: itkDRCAnalyzeImageIO.h:47
SmartPointer< Self > Pointer
Definition: itkDRCAnalyzeImageIO.h:38
GLdouble GLdouble GLdouble b
Definition: glew.h:7885
Definition: itkAnalyzeDbh_p.h:384
DRCAnalyzeImageIO Self
Definition: itkDRCAnalyzeImageIO.h:36
Class that defines how to read Analyze file format. Analyze IMAGE FILE FORMAT - As much information a...
Definition: itkAnalyzeImageIO3160_p.h:102
void SetDRCMode(bool b)
Definition: itkDRCAnalyzeImageIO.h:50