25 #ifndef __itkNiftiImageIO_h
26 #define __itkNiftiImageIO_h
31 #include <nifti1_io.h>
66 virtual bool CanReadFile(
const char *FileNameToRead);
72 virtual void Read(
void *buffer);
89 virtual void Write(
const void *buffer);
101 itkSetMacro(LegacyAnalyze75Mode,
bool);
102 itkGetConstMacro(LegacyAnalyze75Mode,
bool);
137 #endif // __itkNiftiImageIO_h
bool m_LegacyAnalyze75Mode
Light weight base class for most itk classes.
void DefineHeaderObjectDataType()
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
virtual void Read(void *buffer)
virtual bool CanWriteFile(const char *FileNameToWrite)
virtual void ReadImageInformation()
virtual void WriteImageInformation()
void PrintSelf(std::ostream &os, Indent indent) const
virtual bool CanReadFile(const char *FileNameToRead)
Class that defines how to read Nifti file format. Nifti IMAGE FILE FORMAT - As much information as I ...
void SetImageIOOrientationFromNIfTI(unsigned short int dims)
nifti_image * m_NiftiImage
virtual void Write(const void *buffer)
virtual bool GetUseLegacyModeForTwoFileWriting(void) const
IOComponentType m_OnDiskComponentType
virtual ImageIORegion GenerateStreamableReadRegionFromRequestedRegion(const ImageIORegion &requestedRegion) const
void operator=(const Self &)
double m_RescaleIntercept
Control indentation during Print() invocation.
Base class for most ITK classes.
SmartPointer< Self > Pointer
void SetImageIOMetadataFromNIfTI()
void SetNIfTIOrientationFromImageIO(unsigned short int origdims, unsigned short int dims)