![]() |
aimsdata
4.7.0
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 |
Definition at line 77 of file spmR.h.
References aims::SpmReader< T >::read(), and aims::SpmReader< T >::removeExtension().
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 66 of file spmR_d.h.
References carto::FileUtil::basename(), carto::DataTypeCode< class >::dataType(), AimsData< T >::dimT(), soma::AffineTransformation3dBase::Table< T >::dimX(), AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::dimZ(), carto::FileUtil::dirname(), carto::TypedObject< T >::getProperty(), aims::AffineTransformation3d::inverse(), carto::io_error::launchErrnoExcept(), soma::AffineTransformation3dBase::matrix(), aims::SpmHeader::read(), aims::ItemReader< T >::read(), aims::DefaultItemReader< T >::reader(), carto::TypedObject< T >::removeProperty(), aims::AffineTransformation3d::rotation(), carto::FileUtil::separator(), AimsData< T >::setHeader(), carto::TypedObject< T >::setProperty(), and soma::Transformation3d::transform().
Referenced by aims::operator>>(), aims::SpmFormat< T >::read(), and aims::SpmReader< T >::~SpmReader().
std::string aims::SpmReader< T >::removeExtension | ( | const std::string & | name | ) |
Return a name without .hdr or .img extension.
Definition at line 53 of file spmR_d.h.
Referenced by aims::SpmReader< T >::~SpmReader().