37 #ifndef AIMS_IO_SPMR_H 38 #define AIMS_IO_SPMR_H 46 template <
typename T>
class AimsData;
50 class AffineTransformation3d;
96 void readFrame( std::ifstream &,
AimsData<T> & data,
int t,
97 const std::string & type,
SpmHeader* hdr,
bool bswap,
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 );
GenesisReader< T > & operator>>(GenesisReader< T > &reader, AimsData< T > &thing)
The class for EcatSino data write operation.
friend SpmReader< T > & operator>>(SpmReader< T > &reader, AimsData< T > &thing)
Input stream operator.
aims::AffineTransformation3d Motion
void read(AimsData< T > &thing, const carto::AllocatorContext &context, carto::Object options)
Read the data with "name" file name from disk.
SpmReader(const std::string &name)
The template class for SPM read operation.
std::string removeExtension(const std::string &name)
Return a name without .hdr or .img extension.