aimsdata  5.0.5
Neuroimaging data handling
aims::JpegWriter< T > Class Template Reference

#include <aims/io/jpegW.h>

Public Member Functions

 JpegWriter (const std::string &name)
 
 ~JpegWriter ()
 
void write (const AimsData< T > &thing)
 
void writeFrame (const AimsData< T > &thing, const std::string &filename, unsigned zfame, unsigned tframe)
 called by write(), but you can call it for single frame writing (axial slice) More...
 
std::string removeExtension (const std::string &name) const
 Return a name without .jpg extension. More...
 

Detailed Description

template<class T>
class aims::JpegWriter< T >

Definition at line 56 of file jpegW.h.

Constructor & Destructor Documentation

◆ JpegWriter()

template<class T >
aims::JpegWriter< T >::JpegWriter ( const std::string &  name)
inline

Definition at line 59 of file jpegW.h.

◆ ~JpegWriter()

Member Function Documentation

◆ removeExtension()

template<class T >
std::string aims::JpegWriter< T >::removeExtension ( const std::string &  name) const

Return a name without .jpg extension.

Referenced by aims::JpegWriter< T >::~JpegWriter().

◆ write()

◆ writeFrame()

template<class T >
void aims::JpegWriter< T >::writeFrame ( const AimsData< T > &  thing,
const std::string &  filename,
unsigned  zfame,
unsigned  tframe 
)
inline

called by write(), but you can call it for single frame writing (axial slice)

Definition at line 117 of file jpegW.h.

References AimsData< T >::dimX(), AimsData< T >::dimY(), AimsData< T >::sizeX(), and AimsData< T >::sizeY().

Referenced by aims::JpegWriter< T >::write(), and aims::JpegWriter< T >::~JpegWriter().


The documentation for this class was generated from the following file: