CASToR  3.0
Tomographic Reconstruction (PET/SPECT/CT)
iLinearSpectralModel.hh
Go to the documentation of this file.
1 /*
2 This file is part of CASToR.
3 
4  CASToR is free software: you can redistribute it and/or modify it under the
5  terms of the GNU General Public License as published by the Free Software
6  Foundation, either version 3 of the License, or (at your option) any later
7  version.
8 
9  CASToR is distributed in the hope that it will be useful, but WITHOUT ANY
10  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12  details.
13 
14  You should have received a copy of the GNU General Public License along with
15  CASToR (in file GNU_GPL.TXT). If not, see <http://www.gnu.org/licenses/>.
16 
17 Copyright 2017-2019 all CASToR contributors listed below:
18 
19  --> Didier BENOIT, Claude COMTAT, Marina FILIPOVIC, Thibaut MERLIN, Mael MILLARDET, Simon STUTE, Valentin VIELZEUF
20 
21 This is CASToR version 3.0.
22 */
23 
30 #ifndef ILINEARSPECTRALMODEL_HH
31 #define ILINEARSPECTRALMODEL_HH 1
32 
33 // Mother class of dynamic model
34 #include "vDynamicModel.hh"
35 // Required to automatically add the class in the CASToR code
36 #include "sAddonManager.hh"
37 
38 // Inherit from Generic Linear Model
39 #include "iLinearModel.hh"
40 
47 {
48  // -----------------------------------------------------------------------------------------
49  // Constructor & Destructor
50  public:
61 
62 
63  // -----------------------------------------------------------------------------------------
64  // Public member functions related to the initialization of the model
65  public:
66  // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
87  int ReadAndCheckOptionsList(string a_listOptions);
94  int InitializeSpecific();
99  void ShowHelp();
100 
101 
102  // -----------------------------------------------------------------------------------------
103  // Public member functions called by the main iterative algorithm class
104 
105 
106  // -----------------------------------------------------------------------------------------
107  // Data members
108  protected:
109 
110  //int m_OptimisationMethod; /*!<Flag indicating the method to estimate Patlak parameters. */
118 };
119 
120 // Class for automatic insertion (set here the visible dynamic model's name, put the class name as the parameters and do not add semi-colon at the end of the line)
122 
123 #endif
int ReadAndCheckOptionsList(string a_listOptions)
This function is used to read parameters from a string.
This class is a child of the iLinearModel class implementing the Nested Spectral reconsutction.
iLinearSpectralModel()
Constructor of iLinearSpectralModel. Simply set all data members to default values.
#define HPFLTNB
Definition: gVariables.hh:83
Declaration of class iLinearModel.
int InitializeSpecific()
This function is used to initialize the model parametric images and basis functions.
This class implements a general linear dynamic model applied between the images of a dynamic acquisit...
Definition: iLinearModel.hh:62
#define FUNCTION_DYNAMICMODEL(CLASS)
~iLinearSpectralModel()
Destructor of iLinearSpectralModel.
void ShowHelp()
This function is used to print out specific help about the model and its options. ...
#define CLASS_DYNAMICMODEL(NAME, CLASS)
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
Declaration of class vDynamicModel.
int ReadAndCheckConfigurationFileSpecific()
This function is used to read options from a configuration file, specific to this model...
Declaration of class sAddonManager.