41#include <cartobase/object/object.h>
57 template <
typename T>
class SpmReader;
96 void readFrame( std::ifstream &,
AimsData<T> & data,
int t,
98 const Motion & storageToMemory );
100 void readScaledFrame( std::ifstream &,
AimsData<T> & data,
int t,
102 const Motion & storageToMemory );
107 template <
typename T>
113 reader.
read( thing );
The template class for SPM read operation.
void read(AimsData< T > &thing, const carto::AllocatorContext &context, carto::Object options)
Read the data with "name" file name from disk.
std::string removeExtension(const std::string &name)
Return a name without .hdr or .img extension.
friend SpmReader< T > & operator>>(SpmReader< T > &reader, AimsData< T > &thing)
Input stream operator.
SpmReader(const std::string &name)
The class for EcatSino data write operation.
GenesisReader< T > & operator>>(GenesisReader< T > &reader, AimsData< T > &thing)
aims::AffineTransformation3d Motion