![]() |
aimsdata
5.1.2
Neuroimaging data handling
|
The template class for SPM read operation. More...
#include <aims/io/spmR.h>
Public Member Functions | |
SpmReader (const std::string &name) | |
virtual | ~SpmReader () |
void | read (AimsData< T > &thing, const carto::AllocatorContext &context, carto::Object options) |
Read the data with "name" file name from disk. More... | |
std::string | removeExtension (const std::string &name) |
Return a name without .hdr or .img extension. More... | |
Friends | |
SpmReader< T > & | operator>> (SpmReader< T > &reader, AimsData< T > &thing) |
Input stream operator. More... | |
The template class for SPM read operation.
The template argument gives the type of the elements stored in the container.
|
inline |
|
inlinevirtual |
void aims::SpmReader< T >::read | ( | AimsData< T > & | thing, |
const carto::AllocatorContext & | context, | ||
carto::Object | options | ||
) |
Read the data with "name" file name from disk.
thing | reference to the data to read |
border | border width (useful for image processing) |
Definition at line 67 of file spmR_d.h.
References carto::FileUtil::basename(), carto::DataTypeCode< class >::dataType(), AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::dimZ(), carto::FileUtil::dirname(), carto::TypedObject< class >::getProperty(), carto::io_error::launchErrnoExcept(), soma::AffineTransformation3dBase::matrix(), aims::SpmHeader::read(), carto::TypedObject< class >::removeProperty(), aims::AffineTransformation3d::rotation(), carto::FileUtil::separator(), AimsData< T >::setHeader(), carto::TypedObject< class >::setProperty(), and AimsData< T >::setSizeXYZT().
Referenced by aims::SpmFormat< T >::read().
std::string aims::SpmReader< T >::removeExtension | ( | const std::string & | name | ) |