20 #ifndef MIRTK_NiftiImageReader_H 21 #define MIRTK_NiftiImageReader_H 23 #include "mirtk/ImageReader.h" 24 #include "mirtk/Memory.h" 47 mirtkReadOnlyAttributeMacro(
string, ImageName);
50 UniquePtr<NiftiImage> _Nifti;
58 virtual bool CanRead(
const char *)
const;
70 virtual void Print()
const;
82 #endif // MIRTK_NiftiImageReader_H static bool CheckHeader(const char *)
Returns whether file has correct header.
virtual ~NiftiImageReader()
Destructor.
virtual bool CanRead(const char *) const
Check if this reader can read a given image file.
NiftiImageReader()
Constructor.
virtual void Initialize()
Open file and read image header.
virtual void ReadHeader()
Read header of NIFTI file.
virtual void Print() const
Print image file information.