CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
castor-scannerLUTExplorer.cc File Reference

This program can be used to visualize a scanner Look-Up-Table (geometric position and orientation of the system crystals/pixels), element by element. More...

#include "gVariables.hh"
#include "gOptions.hh"
#include "oImageDimensionsAndQuantification.hh"
#include "iDataFilePET.hh"
#include "iDataFileSPECT.hh"
#include "iDataFileCT.hh"
#include "sOutputManager.hh"
#include "sScannerManager.hh"
#include "sRandomNumberGenerator.hh"
#include "iScannerPET.hh"
#include "sAddonManager.hh"

Go to the source code of this file.

Macros

#define IF_TYPE_UNKNOWN   -1
 
#define IF_TYPE_LUT   0
 
#define IF_TYPE_GEOM   1
 

Functions

void ShowHelp ()
 
void GetInputFileType (string &ap_pathToScanFilename, string &ap_pathToBinary, int a_modality, int &ap_inputFileType)
 
int main (int argc, char **argv)
 

Detailed Description

This program can be used to visualize a scanner Look-Up-Table (geometric position and orientation of the system crystals/pixels), element by element.

The program read a CASToR Look-Up-Table file (.hscan/.lut), or generate the LUT from a generic geometry file (.geom), and allow to explore it, element by element.
For CT scanners or SPECT cameras described by a .geom file, a datafile must also be provided in order to get information regarding the projection angles.

Definition in file castor-scannerLUTExplorer.cc.

Function Documentation

void GetInputFileType ( string &  ap_pathToScanFilename,
string &  ap_pathToBinary,
int  a_modality,
int &  ap_inputFileType 
)

Definition at line 119 of file castor-scannerLUTExplorer.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 186 of file castor-scannerLUTExplorer.cc.

Here is the call graph for this function:

void ShowHelp ( )

Definition at line 75 of file castor-scannerLUTExplorer.cc.

Here is the caller graph for this function: