NPL
Neurological Programs and Libraries
|
#include "mrimage.h"
Go to the source code of this file.
Namespaces | |
npl | |
Functions | |
int | npl::writeMRImage (ptr< const MRImage > img, std::string fn, bool nifti2=false) |
Writes out an MRImage to the file fn. Bool indicates whether to use nifti2 (rather than nifti1) format. More... | |
int | npl::writeNDArray (ptr< const NDArray > img, std::string fn, bool nifti2=false) |
Writes out an MRImage to the file fn. Bool indicates whether to use nifti2 (rather than nifti1) format. More... | |
ptr< NDArray > | npl::readNDArray (std::string filename, bool verbose=false, bool nopixeldata=false) |
Reads an array. Can read nifti's but orientation won't be read. More... | |
ptr< MRImage > | npl::readMRImage (std::string filename, bool verbose=false, bool nopixeldata=false) |
Reads an MRI image. Right now only nift images are supported. later on, it will try to load image using different reader functions until one suceeds. More... | |