10 #define I1TCMODEL_HH 1 21 #define METHOD_1CPT_NNLS 0 23 #define METHOD_1CPT_LS 1 25 #define METHOD_1CPT_BF 2 37 #define METHOD_INT_WPO 0 39 #define METHOD_INT_TRAP 1 44 #include "sAddonManager.hh" 181 int RRLS(uint16_t a_nP,
208 int LS(uint16_t a_nP,
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
i1TCModel()
Constructor of i1TCModel. Simply set all data members to default values.
int InitializeSpecific()
This function is used to initialize parametric images and basis functions.
FLTNB * mp_parLowerBounds
bool m_ridgeRegressionFlag
This class implements a 1 compartiment model, to model kinetics of radiotracers such as radiowater...
This is the mother class of dynamic model classes.
~i1TCModel()
Destructor of i1TCModel.
int Trapz(FLTNB *ap_tac, FLTNB *ap_citac)
int EstimateModelParametersWithBF(oImageSpace *ap_ImageS)
int RRLS(uint16_t a_nP, uint16_t a_nT, FLTNB **a2p_model, FLTNB *ap_data, FLTNB *ap_w, FLTNB *ap_result)
int WPO(FLTNB *ap_tac, FLTNB *ap_citac, int a_th)
int ReadAndCheckOptionsList(string a_listOptions)
int EstimateModelParameters(oImageSpace *ap_Image, int a_ite, int a_sset)
int ReadAndCheckConfigurationFileSpecific()
This function is used to read options from a configuration file.
int EstimateImageWithModel(oImageSpace *ap_Image, int a_ite, int a_sset)
#define FUNCTION_DYNAMICMODEL(CLASS)
int EstimateModelParametersWithLS(oImageSpace *ap_ImageS)
#define CLASS_DYNAMICMODEL(NAME, CLASS)
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Declaration of class vDynamicModel.
int m_OptimisationMethodFlag
Structure designed for basic matrices operations.
int EstimateModelParametersWithNNLS(oImageSpace *ap_ImageS)
int LS(uint16_t a_nP, uint16_t a_nT, FLTNB **a2p_model, FLTNB *ap_data, FLTNB *ap_w, FLTNB *ap_result)
FLTNB WPOinc(uint32_t a_time, FLTNB tac, FLTNB b_tac, FLTNB bb_tac, FLTNB n_tac)
void ShowHelpModelSpecific()
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children.
int IntegrateTAC(FLTNB *ap_tac, FLTNB *ap_citac, int a_th)
FLTNB * mp_parUpperBounds