CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/image/iImageProcessingTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IIMAGEPROCESSINGTEMPLATE_HH
9 #define IIMAGEPROCESSINGTEMPLATE_HH 1
10 
11 #include "gVariables.hh"
12 #include "gOptions.hh"
13 #include "oImageSpace.hh"
15 #include "sAddonManager.hh"
16 
29 {
30  // -----------------------------------------------------------------------------------------
31  // Constructor & Destructor
32  public:
55 
56 
57  // -----------------------------------------------------------------------------------------
58  // Public member functions
59  public:
60  // Function for automatic insertion (put the class name as the parameter and do NOT add semi-colon at the end of the line)
72  int ReadConfigurationFile(const string& a_configurationFile);
83  int ReadOptionsList(const string& a_optionsList);
92  void ShowHelp();
105  int Process(FLTNB**** a4p_image);
106 
107 
108  // -----------------------------------------------------------------------------------------
109  // Private member functions
110  private:
131  int InitializeSpecific();
132 
133 
134  // -----------------------------------------------------------------------------------------
135  // Data members
136  protected:
137  // Declare here any members useful for this specific module
138 };
139 
140 
141 // Class for automatic insertion (set here the visible image processing module's name as the first parameter,
142 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
144 
145 #endif
#define FUNCTION_IMAGE_PROCESSING_MODULE(CLASS)
Declaration of class oImageSpace.
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 ReadOptionsList(const string &a_optionsList)
~iImageProcessingTemplate()
The destructor of iImageProcessingTemplate.
This abstract class is the generic image processing module class used by the oImageProcessingManager...
#define CLASS_IMAGE_PROCESSING_MODULE(NAME, CLASS)
void ShowHelp()
A function used to show help about the child module.
int ReadConfigurationFile(const string &a_configurationFile)
iImageProcessingTemplate()
The constructor of iImageProcessingTemplate.
Declaration of class vImageProcessingModule.
int InitializeSpecific()
A private function used to initialize everything specific to the child module.