STIR  6.2.0
Namespaces | Macros | Enumerations | Functions

Declaration of routines which convert ECAT things into our building blocks and vice versa. More...

#include "stir/common.h"
#include <vector>

Go to the source code of this file.

Namespaces

 stir
 Namespace for the STIR library (and some/most of its applications)
 
 stir::ecat
 Namespace for the ECAT IO part of the STIR library (and some/most of its applications)
 

Macros

#define START_NAMESPACE_ECAT
 
#define END_NAMESPACE_ECAT   }
 
#define USING_NAMESPACE_ECAT   using namespace ecat;
 
#define START_NAMESPACE_ECAT6
 
#define END_NAMESPACE_ECAT6   }
 
#define USING_NAMESPACE_ECAT6   using namespace ecat6;
 
#define START_NAMESPACE_ECAT7
 
#define END_NAMESPACE_ECAT7   }
 
#define USING_NAMESPACE_ECAT7   using namespace ecat7;
 

Enumerations

enum  stir::ecat::ECATDataType {
  ECAT_unknown_data_type = 0, ECAT_Byte_data_type = 1, ECAT_I2_little_endian_data_type = 2, ECAT_I4_little_endian_data_type = 3,
  ECAT_R4_VAX_data_type = 4, ECAT_R4_IEEE_big_endian_data_type = 5, ECAT_I2_big_endian_data_type = 6, ECAT_I4_big_endian_data_type = 7
}
 Possible values for the data_type field in ECAT headers. More...
 

Functions

void stir::ecat::find_type_from_ECAT_data_type (NumericType &type, ByteOrder &byte_order, const short data_type)
 Find out which NumericType and ByteOrder corresponds to a ECAT data type.
 
short stir::ecat::find_ECAT_data_type (const NumericType &type, const ByteOrder &byte_order)
 Find out which ECAT data type corresponds to a certain NumericType and ByteOrder. More...
 
short stir::ecat::find_ECAT_system_type (const Scanner &scanner)
 Find the value used in the ECAT Main header for a given scanner. More...
 
Scanner * stir::ecat::find_scanner_from_ECAT_system_type (const short system_type)
 Find the scanner corresponding to the system type in the main header. More...
 
std::vector< int > stir::ecat::find_segment_sequence (const ProjDataInfo &pdi)
 Return the sequence of how Siemens stores segments. More...
 
std::vector< int > stir::ecat::find_timing_poss_sequence (const ProjDataInfo &pdi)
 Return the sequence of how Siemens stores TOF bins. More...
 

Detailed Description

Declaration of routines which convert ECAT things into our building blocks and vice versa.

Author
Kris Thielemans
PARAPET project

Macro Definition Documentation

◆ START_NAMESPACE_ECAT

#define START_NAMESPACE_ECAT
Value:
namespace ecat \
{

◆ START_NAMESPACE_ECAT6

#define START_NAMESPACE_ECAT6
Value:
namespace ecat6 \
{

◆ START_NAMESPACE_ECAT7

#define START_NAMESPACE_ECAT7
Value:
namespace ecat7 \
{