30 #ifndef OOPTIMIZERMANAGER_HH 31 #define OOPTIMIZERMANAGER_HH 1 122 int a_bed,
int a_timeFrame,
int a_respGate,
int a_cardGate,
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
This header file is mainly used to declare some macro definitions and all includes needed from the st...
bool GetNeedGlobalSensitivity()
Get the boolean saying if the sensitivity has to be computed globally for all data channels and not p...
FLTNB GetInitialValue()
Return the initial image value used by the optimizer, explaining why the eponym function of vOptimize...
void SetOptimizerImageStatFlag(bool a_optimizerImageStatFlag)
Set the optimizer image stat flag that specifies if some basic statistics about image update is compu...
int PreImageUpdateStep()
A function that simply calls the eponym function from the vOptimizer.
void SetVerbose(int a_verboseLevel)
Set the verbose level.
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the image dimensions in use.
This class is designed to manage the optimization part of an iterative reconstruction.
void SetCurrentIteration(int a_currentIteration)
Set the current iteration.
void SetCurrentSubset(int a_currentSubset)
Set the current subset to the vOptimizer.
void SetNumbersOfIterationsAndSubsets(int a_nbIterations, int *ap_nbSubsets)
Set these numbers of iterations and subsets to the vOptimizer.
void SetOptionsPenalty(const string &a_optionsPenalty, FLTNB a_penaltyStrength)
Set the penalty projection options contained in the provided string.
void SetDataSpec(int a_dataSpec)
Set the specificity of the data: EMISSION or TRANSMISSION.
oImageSpace * mp_ImageSpace
int Initialize()
A function used to initialize the manager and the optimizer it manages.
int DataUpdateStep(oProjectionLine *ap_Line, vEvent *ap_Event, int a_bed, int a_timeFrame, int a_respGate, int a_cardGate, int a_thread)
A function dedicated to the update step in the data space (for each event inside the loop) ...
void SetImageSpace(oImageSpace *ap_ImageSpace)
Set the image space in use.
bool m_optimizerImageStatFlag
void SetDataMode(int a_dataMode)
Set the mode of the data (histogram, list-mode)
int ParseOptionsAndInitializeOptimizerAndPenalty()
void SetDataType(int a_dataType)
Set the type of the data (pet, spect, etc)
void SetNumbersOfIterationsAndSubsets(int a_nbIterations, int *ap_nbSubsets)
Set these numbers of iterations and subsets.
int GetNbBackwardImages()
Return the number of backward images used by the optimizer, explaining why the eponym function of vOp...
void SetOptionsOptimizer(const string &a_optionsOptimizer)
Set the optimizer projection options contained in the provided string.
Declaration of class vDataFile.
int PreDataUpdateStep()
A function that simply calls the eponym function from the vOptimizer.
vOptimizer * mp_Optimizer
Declaration of class vOptimizer.
Declaration of class vPenalty.
This class is designed to generically described any penalty applied to MAP algorithms.
FLTNB GetInitialValue()
Get the initial image value (for initialization)
bool GetNeedGlobalSensitivity()
Get the boolean saying if the sensitivity has to be computed globally.
int CheckParameters()
A function used to check the parameters settings.
void SetNbTOFBins(int a_nbTOFBins)
Set the number of TOF bins in use.
This class is designed to generically described any iterative optimizer.
This class is designed to manage and store system matrix elements associated to a vEvent...
~oOptimizerManager()
The destructor of oOptimizerManager.
Declaration of class oImageSpace.
void SetCurrentSubset(int a_currentSubset)
Set the current subset.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Mother class for the Event objects.
int ImageUpdateStep()
A function dedicated to the update step in the image space (performed after the loop on events) ...
vOptimizer * GetOptimizer()
Return the optimizer object.
This class is designed to manage all dimensions and quantification related stuff. ...
oOptimizerManager()
The constructor of oOptimizerManager.
int GetNbBackwardImages()
Get the number of backward images used by the specific optimizer.
void SetCurrentIteration(int a_currentIteration)
Set the current iteration to the vOptimizer.
string m_optionsOptimizer
void SetOptimizerFOMFlag(bool a_optimizerFOMFlag)
Set the optimizer FOM flag that specifies if some figures-of-merit (FOM) will be computed in the data...