CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
oImageProcessingManager.hh
Go to the documentation of this file.
1 
10 #ifndef OIMAGEPROCESSINGMANAGER_HH
11 #define OIMAGEPROCESSINGMANAGER_HH 1
12 
13 #include "gVariables.hh"
14 #include "oImageSpace.hh"
16 
17 
33 {
34  // -----------------------------------------------------------------------------------------
35  // Constructor & Destructor
36  public:
51 
52  // -----------------------------------------------------------------------------------------
53  // Public member functions for initialization
54  public:
62  int CheckParameters();
72  int Initialize();
79  static void ShowCommonHelp();
80 
81 
82  // -----------------------------------------------------------------------------------------
83  // Public member functions for actions
84  public:
95  int ApplyProcessingForward(oImageSpace* ap_ImageSpace);
107  int ApplyProcessingIntra(oImageSpace* ap_ImageSpace);
120  int ApplyProcessingPost(oImageSpace* ap_ImageSpace);
121 
122 
123  // -----------------------------------------------------------------------------------------
124  // Public Get & Set functions
125  public:
131  inline void SetVerbose(int a_verboseLevel)
132  {m_verbose = a_verboseLevel;}
138  inline void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification* ap_ImageDimensionsAndQuantification)
139  {mp_ImageDimensionsAndQuantification = ap_ImageDimensionsAndQuantification;}
145  inline void SetOptions(vector<string> a_options)
146  {m_options = a_options;}
147 
148 
149  // -----------------------------------------------------------------------------------------
150  // Private member functions
151  private:
165 
166 
167  // -----------------------------------------------------------------------------------------
168  // Data members
169  private:
172  vector<string> m_options;
178  bool* mp_applyPost;
179  bool m_checked;
181  int m_verbose;
182 };
183 
184 #endif
int ApplyProcessingForward(oImageSpace *ap_ImageSpace)
This header file is mainly used to declare some macro definitions and all includes needed from the st...
static void ShowCommonHelp()
This function does not take any parameter and is used to display some help about the syntax of the op...
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the member mp_ImageDimensionsAndQuantification to the provided value.
int Initialize()
A function used to initialize the manager and all image processing modules it manages.
~oImageProcessingManager()
The destructor of oImageProcessingManager.
int ApplyProcessingPost(oImageSpace *ap_ImageSpace)
This abstract class is the generic image processing module class used by the oImageProcessingManager...
void SetOptions(vector< string > a_options)
Set the member m_options to the provided value.
int CheckParameters()
A function used to check the parameters settings.
oImageProcessingManager()
The constructor of oImageProcessingManager.
int ApplyProcessingIntra(oImageSpace *ap_ImageSpace)
Declaration of class oImageSpace.
This class is designed to manage the different image processing modules and to apply them...
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Definition: oImageSpace.hh:41
vImageProcessingModule ** m2p_ImageProcessingModules
This class is designed to manage all dimensions and quantification related stuff. ...
void SetVerbose(int a_verboseLevel)
Set the member m_verboseLevel to the provided value.
Declaration of class vImageProcessingModule.
int ParseOptionsAndInitializeImageProcessingModules()
A function used to parse options and initialize image processing modules.