v2.0.0
Loading...
Searching...
No Matches
mri_nifti_io.h
Go to the documentation of this file.
1//=============================================================================================================
38
39#ifndef MRI_NIFTI_IO_H
40#define MRI_NIFTI_IO_H
41
42//=============================================================================================================
43// INCLUDES
44//=============================================================================================================
45
46#include "mri_global.h"
47#include "mri_vol_data.h"
48
49//=============================================================================================================
50// QT INCLUDES
51//=============================================================================================================
52
53#include <QString>
54
55//=============================================================================================================
56// DEFINE NAMESPACE MRILIB
57//=============================================================================================================
58
59namespace MRILIB {
60
61//=============================================================================================================
73{
74public:
75 //=========================================================================================================
88 static bool read(const QString& niiFile, MriVolData& volData, bool verbose = false);
89
90 //=========================================================================================================
102 static bool decompress(const QString& gzFile, QByteArray& rawData);
103};
104
105} // namespace MRILIB
106
107#endif // MRI_NIFTI_IO_H
Export/import macros and build-info accessors for MRILIB.
#define MRISHARED_EXPORT
Definition mri_global.h:39
Format-agnostic in-memory representation of a 3D MRI volume plus its slice decomposition.
Volume I/O, voxel geometry and slice resampling for structural MRI data inside mne-cpp.
Stateless decoder for NIfTI-1 single-file volumes (.nii and .nii.gz).
static bool decompress(const QString &gzFile, QByteArray &rawData)
static bool read(const QString &niiFile, MriVolData &volData, bool verbose=false)
Format-agnostic 3D MRI volume: header geometry, voxel buffer (as a vector of MriSlice),...