STIR
6.2.0
|
Class for reading images in ECAT7 file-format. More...
#include "stir/IO/ECAT7ImageInputFileFormat.h"
Public Member Functions | |
virtual const std::string | get_name () const |
Public Member Functions inherited from stir::InputFileFormat< DiscretisedDensity< 3, float > > | |
virtual bool | can_read (const FileSignature &signature, std::istream &input) const |
virtual bool | can_read (const FileSignature &signature, const std::string &filename) const |
Protected Member Functions | |
virtual bool | actual_can_read (const FileSignature &signature, std::istream &input) const |
virtual unique_ptr< data_type > | read_from_file (std::istream &input) const |
read data from a stream More... | |
virtual unique_ptr< data_type > | read_from_file (const std::string &filename) const |
read data from a filename More... | |
Additional Inherited Members | |
Public Types inherited from stir::InputFileFormat< DiscretisedDensity< 3, float > > | |
typedef DiscretisedDensity< 3, float > | data_type |
Class for reading images in ECAT7 file-format.
Preliminary
|
inlineprotectedvirtual |
read data from a stream
This function should throw an exception if the read fails.
Implements stir::InputFileFormat< DiscretisedDensity< 3, float > >.
References stir::error().
|
inlineprotectedvirtual |
read data from a filename
This function should throw an exception if the read fails.
Default implementation used open_read_binary
and read_from_file(std::istream&)
.
Reimplemented from stir::InputFileFormat< DiscretisedDensity< 3, float > >.
References stir::ecat::ecat7::is_ECAT7_image_file(), and stir::warning().