A.I.M.S


aims::Sinogram< T > Class Template Reference

#include <aims/sino/sino.h>

Public Types

enum  Mode { VIEW, SINO }
 

Public Member Functions

 Sinogram (const ScannerConf &conf=ecatHRPlusUsual)
 
 Sinogram (const ScannerConf &conf, Sinogram< T >::Mode create_mode)
 
void allocate (int, int)
 
Mode getInternalMode () const
 
void setInternalMode (const Sinogram< T >::Mode &)
 
Mode displayMode ()
 
void setDisplayMode (Mode displayMode)
 
AimsData< AimsData< AimsData
< T > > > & 
start ()
 
int transCodeSegment (int s) const
 
int getZ (int segment)
 
 ~Sinogram ()
 
Sinogram< T > & operator= (const Sinogram< T > &other)
 
T & operator() (int segment, int zOrAlpha, int alphaOrZ, int ro)
 
AimsData< AimsData< T > > & operator() (int segment)
 
AimsData< T > getPlaneInDisplayMode (int, int)
 
AimsData< T > & getPlaneInInternalMode (int, int)
 
AimsData< T > extractView (int, int)
 
AimsData< T > & getView (int, int)
 
const AimsData< T > & getView (int, int) const
 
AimsData< T > extractSino (int, int)
 
AimsData< T > & getSino (int, int)
 
const AimsData< T > & getSino (int, int) const
 
const aims::PythonHeaderheader () const
 
void setHeader (const PythonHeader &hdr)
 
int getNumAngles () const
 
int getNumPlanes (int seg) const
 
int getNumBins () const
 
int getNumSeg () const
 
int getRing () const
 
int getSpan () const
 
int getRingDiff () const
 
std::string getFileType () const
 
std::string getEcatFileType () const
 
short getSystemType () const
 
unsigned int getScanStartTime () const
 
std::string getRadioPharmaceutical () const
 
std::string getIsotopeName () const
 
float getIsotopeHalfLife () const
 
float getDistanceScanned () const
 
float getTransaxialFOV () const
 
short getAngularCompression () const
 
std::string getStudyType () const
 
short getPatientOrientation () const
 
float getPlaneSeparation () const
 
short getTotalNumPlanes () const
 
int getMultiFileType () const
 
float getInitBedPosition () const
 
short getLowerTrueThreshold () const
 
short getUpperTrueThreshold () const
 
short getAcquisitionMode () const
 
short getAcquisitionType () const
 
float getBinSize () const
 
float getBranchingFraction () const
 
unsigned int getDoseStartTime () const
 
float getBedElevation () const
 
short getCoinSampleMode () const
 
short getAxialSampleMode () const
 
float getCalibrationFactor () const
 
std::vector< float > getBedOffset () const
 
short getLowerScatterThreshold () const
 
float getDosage () const
 
float getWellCounterFactor () const
 
short getSeptaState () const
 
float getXResolution () const
 
float getVResolution () const
 
float getZResolution () const
 
float getWResolution () const
 
short getScanMin () const
 
short getScanMax () const
 
int getPrompts () const
 
std::vector< float > getUncorrectedSingles () const
 
int getDelayed () const
 
int getMultiples () const
 
int getTrues () const
 
float getTotalAverageCorrected () const
 
float getTotalAverageUncorrected () const
 
int getTotalCoinRate () const
 
float getDeadTimeCorrectionFactor () const
 
unsigned int getStartTime () const
 
unsigned int getDurationTime () const
 
unsigned int getGateDuration () const
 
void setFileType (const std::string &fileType)
 
void setEcatFileType (const std::string &fileType)
 
void setSystemType (short systemType)
 
void setScanStartTime (unsigned int scanStartTime)
 
void setPrompts (int prompts)
 
void setUncorrectedSingles (const std::vector< float > &uncorrSingles)
 
void setDelayed (int delayed)
 
void setMultiples (int multiples)
 
void setTrues (int trues)
 
void setTotalAverageCorrected (float)
 
void setTotalAverageUncorrected (float)
 
void setTotalCoinRate (int)
 
void setDeadTimeCorrectionFactor (float)
 
void setStartTime (unsigned int)
 
void setDurationTime (unsigned int)
 
void setGateDuration (unsigned int)
 
void setRadioPharmaceutical (const std::string &radiopharmaceutical)
 
void setIsotopeName (const std::string &isotopeName)
 
void setIsotopeHalfLife (float isotopeHalfLife)
 
void setDistanceScanned (float DistanceScanned)
 
void setTransaxialFOV (float TransaxialFOV)
 
void setAngularCompression (short AngularCompression)
 
void setStudyType (const std::string &StudyType)
 
void setPatientOrientation (short PatientOrientation)
 
void setPlaneSeparation (float planeSep)
 
void setTotalNumPlanes (short NumPlanes)
 
void setMultiFileType (int MultiFileType)
 
void setInitBedPosition (float InitBedPosition)
 
void setLowerTrueThreshold (short LowerTrueThreshold)
 
void setUpperTrueThreshold (short UpperTrueThreshold)
 
void setAcquisitionMode (short AquisitionMode)
 
void setAcquisitionType (short AquisitionType)
 
void setBinSize (float BinSize)
 
void setBranchingFraction (float BranchingFraction)
 
void setDoseStartTime (unsigned int DoseStartTime)
 
void setBedElevation (float)
 
void setCoinSampleMode (short)
 
void setAxialSampleMode (short)
 
void setCalibrationFactor (float)
 
void setBedOffset (const std::vector< float > &)
 
void setLowerScatterThreshold (short)
 
void setDosage (float)
 
void setWellCounterFactor (float)
 
void setSeptaState (short)
 
void setXResolution (float)
 
void setVResolution (float)
 
void setZResolution (float)
 
void setWResolution (float)
 
void setScanMin (short scanMin)
 
void setScanMax (short scanMax)
 
void printHeader () const
 
Sinogram< T > clone () const
 
const ScannerConfgetScannerConf () const
 

Detailed Description

template<class T>
class aims::Sinogram< T >

Definition at line 85 of file sino.h.

Member Enumeration Documentation

template<class T>
enum aims::Sinogram::Mode
Enumerator
VIEW 
SINO 

Definition at line 88 of file sino.h.

Constructor & Destructor Documentation

template<class T>
aims::Sinogram< T >::Sinogram ( const ScannerConf conf = ecatHRPlusUsual)
inline

Definition at line 90 of file sino.h.

template<class T>
aims::Sinogram< T >::~Sinogram ( )
inline

Definition at line 121 of file sino.h.

Member Function Documentation

template<class T >
void aims::Sinogram< T >::allocate ( int  r,
int  alpha 
)

Definition at line 99 of file sino_d.h.

References ForEach1d.

template<class T >
aims::Sinogram< T > aims::Sinogram< T >::clone ( ) const

Definition at line 1064 of file sino_d.h.

References aims::Sinogram< T >::setHeader(), and aims::Sinogram< T >::start().

template<class T>
Mode aims::Sinogram< T >::displayMode ( )
inline

Definition at line 109 of file sino.h.

template<class T >
AimsData< T > aims::Sinogram< T >::extractSino ( int  seg,
int  z 
)

Definition at line 237 of file sino_d.h.

References AimsData< T >::setSizeXYZT().

template<class T >
AimsData< T > aims::Sinogram< T >::extractView ( int  seg,
int  alpha 
)

Definition at line 191 of file sino_d.h.

References AimsData< T >::setSizeXYZT().

template<class T >
short aims::Sinogram< T >::getAcquisitionMode ( ) const

Definition at line 581 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getAcquisitionType ( ) const

Definition at line 590 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getAngularCompression ( ) const

Definition at line 500 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getAxialSampleMode ( ) const

Definition at line 644 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getBedElevation ( ) const

Definition at line 626 of file sino_d.h.

template<class T >
std::vector< float > aims::Sinogram< T >::getBedOffset ( ) const

Definition at line 662 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getBinSize ( ) const

Definition at line 599 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getBranchingFraction ( ) const

Definition at line 608 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getCalibrationFactor ( ) const

Definition at line 653 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getCoinSampleMode ( ) const

Definition at line 635 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getDeadTimeCorrectionFactor ( ) const

Definition at line 414 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getDelayed ( ) const

Definition at line 362 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getDistanceScanned ( ) const

Definition at line 482 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getDosage ( ) const

Definition at line 680 of file sino_d.h.

template<class T >
unsigned int aims::Sinogram< T >::getDoseStartTime ( ) const

Definition at line 617 of file sino_d.h.

template<class T >
unsigned int aims::Sinogram< T >::getDurationTime ( ) const

Definition at line 435 of file sino_d.h.

template<class T >
std::string aims::Sinogram< T >::getEcatFileType ( ) const

Definition at line 322 of file sino_d.h.

template<class T >
std::string aims::Sinogram< T >::getFileType ( ) const

Definition at line 314 of file sino_d.h.

template<class T >
unsigned int aims::Sinogram< T >::getGateDuration ( ) const

Definition at line 445 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getInitBedPosition ( ) const

Definition at line 554 of file sino_d.h.

template<class T>
Mode aims::Sinogram< T >::getInternalMode ( ) const
inline

Definition at line 101 of file sino.h.

template<class T >
float aims::Sinogram< T >::getIsotopeHalfLife ( ) const

Definition at line 473 of file sino_d.h.

template<class T >
std::string aims::Sinogram< T >::getIsotopeName ( ) const

Definition at line 464 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getLowerScatterThreshold ( ) const

Definition at line 671 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getLowerTrueThreshold ( ) const

Definition at line 563 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getMultiFileType ( ) const

Definition at line 545 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getMultiples ( ) const

Definition at line 370 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getNumAngles ( ) const

Definition at line 284 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getNumBins ( ) const

Definition at line 302 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getNumPlanes ( int  seg) const

Definition at line 293 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getNumSeg ( ) const

Definition at line 308 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getPatientOrientation ( ) const

Definition at line 518 of file sino_d.h.

template<class T >
AimsData< T > aims::Sinogram< T >::getPlaneInDisplayMode ( int  segment,
int  zOrAlpha 
)

Definition at line 165 of file sino_d.h.

References AimsData< T >::setSizeXYZT().

template<class T >
AimsData< T > & aims::Sinogram< T >::getPlaneInInternalMode ( int  segment,
int  zOrAlpha 
)

Definition at line 158 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getPlaneSeparation ( ) const

Definition at line 527 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getPrompts ( ) const

Definition at line 346 of file sino_d.h.

template<class T >
std::string aims::Sinogram< T >::getRadioPharmaceutical ( ) const

Definition at line 455 of file sino_d.h.

template<class T>
int aims::Sinogram< T >::getRing ( ) const
inline

Definition at line 160 of file sino.h.

template<class T>
int aims::Sinogram< T >::getRingDiff ( ) const
inline

Definition at line 162 of file sino.h.

template<class T >
short aims::Sinogram< T >::getScanMax ( ) const

Definition at line 752 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getScanMin ( ) const

Definition at line 743 of file sino_d.h.

template<class T>
const ScannerConf& aims::Sinogram< T >::getScannerConf ( ) const
inline

Definition at line 273 of file sino.h.

template<class T >
unsigned int aims::Sinogram< T >::getScanStartTime ( ) const

Definition at line 338 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getSeptaState ( ) const

Definition at line 698 of file sino_d.h.

template<class T >
AimsData< T > & aims::Sinogram< T >::getSino ( int  seg,
int  z 
)

Definition at line 263 of file sino_d.h.

template<class T >
const AimsData< T > & aims::Sinogram< T >::getSino ( int  seg,
int  z 
) const

Definition at line 273 of file sino_d.h.

template<class T>
int aims::Sinogram< T >::getSpan ( ) const
inline

Definition at line 161 of file sino.h.

template<class T >
unsigned int aims::Sinogram< T >::getStartTime ( ) const

Definition at line 424 of file sino_d.h.

template<class T >
std::string aims::Sinogram< T >::getStudyType ( ) const

Definition at line 509 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getSystemType ( ) const

Definition at line 330 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getTotalAverageCorrected ( ) const

Definition at line 387 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getTotalAverageUncorrected ( ) const

Definition at line 396 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getTotalCoinRate ( ) const

Definition at line 405 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getTotalNumPlanes ( ) const

Definition at line 536 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getTransaxialFOV ( ) const

Definition at line 491 of file sino_d.h.

template<class T >
int aims::Sinogram< T >::getTrues ( ) const

Definition at line 378 of file sino_d.h.

template<class T >
std::vector< float > aims::Sinogram< T >::getUncorrectedSingles ( ) const

Definition at line 354 of file sino_d.h.

template<class T >
short aims::Sinogram< T >::getUpperTrueThreshold ( ) const

Definition at line 572 of file sino_d.h.

template<class T >
AimsData< T > & aims::Sinogram< T >::getView ( int  seg,
int  alpha 
)

Definition at line 217 of file sino_d.h.

template<class T >
const AimsData< T > & aims::Sinogram< T >::getView ( int  seg,
int  alpha 
) const

Definition at line 227 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getVResolution ( ) const

Definition at line 716 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getWellCounterFactor ( ) const

Definition at line 689 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getWResolution ( ) const

Definition at line 734 of file sino_d.h.

template<class T >
float aims::Sinogram< T >::getXResolution ( ) const

Definition at line 707 of file sino_d.h.

template<class T>
int aims::Sinogram< T >::getZ ( int  segment)
inline

Definition at line 119 of file sino.h.

template<class T >
float aims::Sinogram< T >::getZResolution ( ) const

Definition at line 725 of file sino_d.h.

template<class T>
const aims::PythonHeader& aims::Sinogram< T >::header ( ) const
inline

Definition at line 148 of file sino.h.

template<class T>
T& aims::Sinogram< T >::operator() ( int  segment,
int  zOrAlpha,
int  alphaOrZ,
int  ro 
)
inline

Definition at line 126 of file sino.h.

template<class T>
AimsData< AimsData< T > >& aims::Sinogram< T >::operator() ( int  segment)
inline

Definition at line 134 of file sino.h.

template<class T >
aims::Sinogram< T > & aims::Sinogram< T >::operator= ( const Sinogram< T > &  other)

Definition at line 138 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::printHeader ( ) const

Definition at line 1096 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setAcquisitionMode ( short  AquisitionMode)

Definition at line 944 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setAcquisitionType ( short  AquisitionType)

Definition at line 950 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setAngularCompression ( short  AngularCompression)

Definition at line 890 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setAxialSampleMode ( short  axialSampleMode)

Definition at line 986 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setBedElevation ( float  bedElevation)

Definition at line 974 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setBedOffset ( const std::vector< float > &  bedOffset)

Definition at line 998 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setBinSize ( float  BinSize)

Definition at line 956 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setBranchingFraction ( float  BranchingFraction)

Definition at line 962 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setCalibrationFactor ( float  calibrationFactor)

Definition at line 992 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setCoinSampleMode ( short  coinSampleMode)

Definition at line 980 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setDeadTimeCorrectionFactor ( float  dtcf)

Definition at line 836 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setDelayed ( int  delayed)

Definition at line 800 of file sino_d.h.

template<class T>
void aims::Sinogram< T >::setDisplayMode ( Mode  displayMode)
inline

Definition at line 112 of file sino.h.

template<class T >
void aims::Sinogram< T >::setDistanceScanned ( float  DistanceScanned)

Definition at line 878 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setDosage ( float  dosage)

Definition at line 1010 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setDoseStartTime ( unsigned int  DoseStartTime)

Definition at line 968 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setDurationTime ( unsigned int  dt)

Definition at line 848 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setEcatFileType ( const std::string &  fileType)

Definition at line 770 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setFileType ( const std::string &  fileType)

Definition at line 764 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setGateDuration ( unsigned int  dt)

Definition at line 854 of file sino_d.h.

template<class T>
void aims::Sinogram< T >::setHeader ( const PythonHeader hdr)
inline

Definition at line 149 of file sino.h.

Referenced by aims::Sinogram< T >::clone().

template<class T >
void aims::Sinogram< T >::setInitBedPosition ( float  InitBedPosition)

Definition at line 926 of file sino_d.h.

template<class T>
void aims::Sinogram< T >::setInternalMode ( const Sinogram< T >::Mode )
inline

Definition at line 104 of file sino.h.

References ASSERT.

template<class T >
void aims::Sinogram< T >::setIsotopeHalfLife ( float  isotopeHalfLife)

Definition at line 872 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setIsotopeName ( const std::string &  isotopeName)

Definition at line 866 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setLowerScatterThreshold ( short  lowerScatterThreshold)

Definition at line 1004 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setLowerTrueThreshold ( short  LowerTrueThreshold)

Definition at line 932 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setMultiFileType ( int  MultiFileType)

Definition at line 920 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setMultiples ( int  multiples)

Definition at line 806 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setPatientOrientation ( short  PatientOrientation)

Definition at line 902 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setPlaneSeparation ( float  planeSep)

Definition at line 908 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setPrompts ( int  prompts)

Definition at line 788 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setRadioPharmaceutical ( const std::string &  radiopharmaceutical)

Definition at line 860 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setScanMax ( short  scanMax)

Definition at line 1058 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setScanMin ( short  scanMin)

Definition at line 1052 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setScanStartTime ( unsigned int  scanStartTime)

Definition at line 782 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setSeptaState ( short  septaState)

Definition at line 1022 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setStartTime ( unsigned int  st)

Definition at line 842 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setStudyType ( const std::string &  StudyType)

Definition at line 896 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setSystemType ( short  systemType)

Definition at line 776 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTotalAverageCorrected ( float  tac)

Definition at line 818 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTotalAverageUncorrected ( float  tau)

Definition at line 824 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTotalCoinRate ( int  tcr)

Definition at line 830 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTotalNumPlanes ( short  NumPlanes)

Definition at line 914 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTransaxialFOV ( float  TransaxialFOV)

Definition at line 884 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setTrues ( int  trues)

Definition at line 812 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setUncorrectedSingles ( const std::vector< float > &  uncorrSingles)

Definition at line 794 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setUpperTrueThreshold ( short  UpperTrueThreshold)

Definition at line 938 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setVResolution ( float  vResolution)

Definition at line 1034 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setWellCounterFactor ( float  wellCounterFactor)

Definition at line 1016 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setWResolution ( float  wResolution)

Definition at line 1046 of file sino_d.h.

template<class T >
void aims::Sinogram< T >::setXResolution ( float  xResolution)

Definition at line 1028 of file sino_d.h.

Referenced by aims::Sinogram< T >::Sinogram().

template<class T >
void aims::Sinogram< T >::setZResolution ( float  zResolution)

Definition at line 1040 of file sino_d.h.

Referenced by aims::Sinogram< T >::Sinogram().

template<class T>
AimsData<AimsData<AimsData< T > > >& aims::Sinogram< T >::start ( )
inline

Definition at line 116 of file sino.h.

Referenced by aims::Sinogram< T >::clone().

template<class T >
int aims::Sinogram< T >::transCodeSegment ( int  s) const

Definition at line 43 of file sino_d.h.


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