CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iImageProcessingTemplate.hh
Go to the documentation of this file.
1 
9 #ifndef IIMAGEPROCESSINGTEMPLATE_HH
10 #define IIMAGEPROCESSINGTEMPLATE_HH 1
11 
12 #include "gVariables.hh"
13 #include "gOptions.hh"
14 #include "oImageSpace.hh"
16 #include "sAddonManager.hh"
17 
18 
31 {
32  // -----------------------------------------------------------------------------------------
33  // Constructor & Destructor
34  public:
57 
58 
59  // -----------------------------------------------------------------------------------------
60  // Public member functions
61  public:
62  // Function for automatic insertion (put the class name as the parameter and do NOT add semi-colon at the end of the line)
74  int ReadConfigurationFile(const string& a_configurationFile);
85  int ReadOptionsList(const string& a_optionsList);
94  void ShowHelp();
107  int Process(FLTNB**** a4p_image);
108 
109 
110  // -----------------------------------------------------------------------------------------
111  // Private member functions
112  private:
133  int InitializeSpecific();
134 
135 
136  // -----------------------------------------------------------------------------------------
137  // Data members
138  protected:
139  // Declare here any members useful for this specific module
140 };
141 
142 
143 // Class for automatic insertion (set here the visible image processing module's name as the first parameter,
144 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
146 
147 #endif
This header file is mainly used to declare some macro definitions and all includes needed from the st...
#define FLTNB
Definition: gVariables.hh:55
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child module.
This class is a template of an image processing module to serve as an example.
int Process(FLTNB ****a4p_image)
A function used to actually perform the processing.
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
~iImageProcessingTemplate()
The destructor of iImageProcessingTemplate.
#define CLASS_IMAGE_PROCESSING_MODULE(NAME, CLASS)
This abstract class is the generic image processing module class used by the oImageProcessingManager...
void ShowHelp()
A function used to show help about the child module.
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.
Declaration of class oImageSpace.
iImageProcessingTemplate()
The constructor of iImageProcessingTemplate.
#define FUNCTION_IMAGE_PROCESSING_MODULE(CLASS)
This file is used for all kind of different functions designed for options parsing and ASCII file rea...
int InitializeSpecific()
A private function used to initialize everything specific to the child module.
Declaration of class vImageProcessingModule.
Declaration of class sAddonManager.