CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vAlgorithm Class Referenceabstract

This is the base class for reconstructions, containing a framework with iteration and data subset loops.
It contains all the managers and the images. More...

#include <vAlgorithm.hh>

Inheritance diagram for vAlgorithm:
Inheritance graph
Collaboration diagram for vAlgorithm:
Collaboration graph

Public Member Functions

 vAlgorithm ()
 vAlgorithm constructor. Initialize the member variables to their default values. More...
 
virtual ~vAlgorithm ()
 vAlgorithm destructor. More...
 
int Run ()
 Just call either the RunCPU or the RunGPU function as asked for. More...
 
int RunCPU ()
 Perform the iterative loop of the algorithm. Function designed to be executed on the CPU only. More...
 
void SetSaveSensitivityHistoFlag (bool a_saveSensitivityHistoFlag)
 
void SetSaveSubsetImageFlag (bool a_saveImageAfterSubsets)
 
void SetSaveDynamicBasisCoefficientImages (bool a_saveDynamicBasisCoefficients)
 
void SetOptimizerManager (oOptimizerManager *ap_OptimizerManager)
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
void SetImageSpace (oImageSpace *ap_ImageSpace)
 
void SetProjectorManager (oProjectorManager *ap_ProjectorManager)
 
void SetImageConvolverManager (oImageConvolverManager *ap_ImageConvolverManager)
 
void SetImageProcessingManager (oImageProcessingManager *ap_ImageProcessingManager)
 
void SetDynamicModelManager (oDynamicModelManager *ap_DynamicModelManager)
 
void SetDeformationManager (oDeformationManager *ap_DeformationManager)
 
void SetDataFile (vDataFile **a2p_DataFile)
 
void SetGPUflag (bool a_flagGPU)
 
void SetVerbose (int a_verboseLevel)
 
void SetNbBeds (int a_nbBeds)
 
void SetPathInitImage (string a_pathToInitialImage)
 
void SetPathToAttenuationImage (string a_pathToAttenuationImage)
 
void SetPathToSensitivityImage (string a_pathToSensitivityImage)
 
void SetPathToMultiModalImage (vector< string > a_pathToMultiModalImage)
 
int SetNbIterationsAndSubsets (const string &a_nbIterationsSubsets)
 
int SetOutputIterations (const string &a_outputIterations)
 
virtual int InitSpecificOptions (string a_specificOptions)
 
virtual void ShowHelpSpecific ()
 Show help for the child algorithm. More...
 
 vAlgorithm ()
 
virtual ~vAlgorithm ()
 
int Run ()
 
int RunCPU ()
 
void SetSaveSensitivityHistoFlag (bool a_saveSensitivityHistoFlag)
 
void SetSaveSubsetImageFlag (bool a_saveImageAfterSubsets)
 
void SetSaveDynamicBasisCoefficientImages (bool a_saveDynamicBasisCoefficients)
 
void SetOptimizerManager (oOptimizerManager *ap_OptimizerManager)
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 
void SetImageSpace (oImageSpace *ap_ImageSpace)
 
void SetProjectorManager (oProjectorManager *ap_ProjectorManager)
 
void SetImageConvolverManager (oImageConvolverManager *ap_ImageConvolverManager)
 
void SetImageProcessingManager (oImageProcessingManager *ap_ImageProcessingManager)
 
void SetDynamicModelManager (oDynamicModelManager *ap_DynamicModelManager)
 
void SetDeformationManager (oDeformationManager *ap_DeformationManager)
 
void SetDataFile (vDataFile **a2p_DataFile)
 
void SetGPUflag (bool a_flagGPU)
 
void SetVerbose (int a_verboseLevel)
 
void SetNbBeds (int a_nbBeds)
 
void SetPathInitImage (string a_pathToInitialImage)
 
void SetPathToAttenuationImage (string a_pathToAttenuationImage)
 
void SetPathToSensitivityImage (string a_pathToSensitivityImage)
 
void SetPathToMultiModalImage (vector< string > a_pathToMultiModalImage)
 
int SetNbIterationsAndSubsets (const string &a_nbIterationsSubsets)
 
void SetNbSkippedIterations (const string &a_skippedIterations)
 Set the number of first iterations to be skipped. More...
 
int SetOutputIterations (const string &a_outputIterations)
 
virtual int InitSpecificOptions (string a_specificOptions)
 
virtual void ShowHelpSpecific ()
 

Protected Member Functions

virtual int StepBeforeIterationLoop ()
 This function is called at the beginning of the RunCPU function. More...
 
virtual int StepAfterIterationLoop ()
 This function is called at the end of the RunCPU function. More...
 
virtual int StepBeforeSubsetLoop (int a_iteration)
 
virtual int StepAfterSubsetLoop (int a_iteration)
 
virtual int StepPreProcessInsideSubsetLoop (int a_iteration, int a_subset)
 
virtual int StepPostProcessInsideSubsetLoop (int a_iteration, int a_subset)
 
virtual int StepInnerLoopInsideSubsetLoop (int a_iteration, int a_subset, int a_bed)=0
 
virtual int StepImageOutput (int a_iteration, int a_subset=-1)=0
 
virtual int StepBeforeIterationLoop ()
 
virtual int StepAfterIterationLoop ()
 
virtual int StepBeforeSubsetLoop (int a_iteration)
 
virtual int StepAfterSubsetLoop (int a_iteration)
 
virtual int StepPreProcessInsideSubsetLoop (int a_iteration, int a_subset)
 
virtual int StepPostProcessInsideSubsetLoop (int a_iteration, int a_subset)
 
virtual int StepInnerLoopInsideSubsetLoop (int a_iteration, int a_subset, int a_bed)=0
 
virtual int StepImageOutput (int a_iteration, int a_subset=-1)=0
 

Protected Attributes

int m_nbIterations
 
int * mp_nbSubsets
 
bool * mp_outputIterations
 
int m_verbose
 
bool m_flagGPU
 
oImageDimensionsAndQuantificationmp_ID
 
vDataFile ** m2p_DataFile
 
oProjectorManagermp_ProjectorManager
 
oOptimizerManagermp_OptimizerManager
 
oDeformationManagermp_DeformationManager
 
oDynamicModelManagermp_DynamicModelManager
 
oImageSpacemp_ImageSpace
 
oImageConvolverManagermp_ImageConvolverManager
 
oImageProcessingManagermp_ImageProcessingManager
 
int m_nbBeds
 
string m_pathToInitialImg
 
string m_pathToAtnImg
 
string m_pathToSensitivityImg
 
vector< string > m_pathToMultiModalImg
 
bool m_saveSensitivityHistoFlag
 
bool m_saveImageAfterSubsets
 
bool m_saveDynamicBasisCoefficients
 
int m_nbSkippedIterations
 

Detailed Description

This is the base class for reconstructions, containing a framework with iteration and data subset loops.
It contains all the managers and the images.

Definition at line 29 of file code/include/algorithm/vAlgorithm.hh.

Constructor & Destructor Documentation

◆ vAlgorithm() [1/2]

vAlgorithm::vAlgorithm ( )

vAlgorithm constructor. Initialize the member variables to their default values.

Definition at line 17 of file code/src/algorithm/vAlgorithm.cc.

◆ ~vAlgorithm() [1/2]

vAlgorithm::~vAlgorithm ( )
virtual

vAlgorithm destructor.

Definition at line 50 of file code/src/algorithm/vAlgorithm.cc.

◆ vAlgorithm() [2/2]

vAlgorithm::vAlgorithm ( )

◆ ~vAlgorithm() [2/2]

virtual vAlgorithm::~vAlgorithm ( )
virtual

Member Function Documentation

◆ InitSpecificOptions() [1/2]

int vAlgorithm::InitSpecificOptions ( string  a_specificOptions)
virtual

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 486 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ InitSpecificOptions() [2/2]

virtual int vAlgorithm::InitSpecificOptions ( string  a_specificOptions)
virtual

◆ Run() [1/2]

int vAlgorithm::Run ( )

◆ Run() [2/2]

int vAlgorithm::Run ( )

Just call either the RunCPU or the RunGPU function as asked for.

Returns
0 if success, positive value otherwise

Definition at line 210 of file code/src/algorithm/vAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RunCPU() [1/2]

int vAlgorithm::RunCPU ( )

Perform the iterative loop of the algorithm. Function designed to be executed on the CPU only.

Loops over the iterations, data subsets, bed positions

StepBeforeIterationLoop()
/ Loop on iterations
| StepBeforeSubsetLoop(iteration)
| / Loop on data subsets
| | StepPreProcessInsideSubsetLoop(iteration,subset)
| | / Loop on bed positions
| | | StepInnerLoopInsideSubsetLoop(iteration,subset,bed)
| | StepPostProcessInsideSubsetLoop(iteration,subset)
| StepAfterSubsetLoop(iteration)
StepAfterIterationLoop()

Returns
0 if success, positive value otherwise

Definition at line 229 of file code/src/algorithm/vAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RunCPU() [2/2]

int vAlgorithm::RunCPU ( )

◆ SetDataFile() [1/2]

void vAlgorithm::SetDataFile ( vDataFile **  a2p_DataFile)
inline

Definition at line 168 of file include/algorithm/vAlgorithm.hh.

◆ SetDataFile() [2/2]

void vAlgorithm::SetDataFile ( vDataFile **  a2p_DataFile)
inline

Definition at line 168 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetDeformationManager() [1/2]

void vAlgorithm::SetDeformationManager ( oDeformationManager ap_DeformationManager)
inline

Definition at line 161 of file include/algorithm/vAlgorithm.hh.

◆ SetDeformationManager() [2/2]

void vAlgorithm::SetDeformationManager ( oDeformationManager ap_DeformationManager)
inline

Definition at line 161 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetDynamicModelManager() [1/2]

void vAlgorithm::SetDynamicModelManager ( oDynamicModelManager ap_DynamicModelManager)
inline

Definition at line 154 of file include/algorithm/vAlgorithm.hh.

◆ SetDynamicModelManager() [2/2]

void vAlgorithm::SetDynamicModelManager ( oDynamicModelManager ap_DynamicModelManager)
inline

Definition at line 154 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetGPUflag() [1/2]

void vAlgorithm::SetGPUflag ( bool  a_flagGPU)
inline

Definition at line 175 of file include/algorithm/vAlgorithm.hh.

◆ SetGPUflag() [2/2]

void vAlgorithm::SetGPUflag ( bool  a_flagGPU)
inline

Definition at line 175 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetImageConvolverManager() [1/2]

void vAlgorithm::SetImageConvolverManager ( oImageConvolverManager ap_ImageConvolverManager)
inline

Definition at line 140 of file include/algorithm/vAlgorithm.hh.

◆ SetImageConvolverManager() [2/2]

void vAlgorithm::SetImageConvolverManager ( oImageConvolverManager ap_ImageConvolverManager)
inline

Definition at line 140 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetImageDimensionsAndQuantification() [1/2]

void vAlgorithm::SetImageDimensionsAndQuantification ( oImageDimensionsAndQuantification ap_ImageDimensionsAndQuantification)
inline

Definition at line 119 of file include/algorithm/vAlgorithm.hh.

◆ SetImageDimensionsAndQuantification() [2/2]

void vAlgorithm::SetImageDimensionsAndQuantification ( oImageDimensionsAndQuantification ap_ImageDimensionsAndQuantification)
inline

Definition at line 119 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetImageProcessingManager() [1/2]

void vAlgorithm::SetImageProcessingManager ( oImageProcessingManager ap_ImageProcessingManager)
inline

Definition at line 147 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetImageProcessingManager() [2/2]

void vAlgorithm::SetImageProcessingManager ( oImageProcessingManager ap_ImageProcessingManager)
inline

Definition at line 147 of file include/algorithm/vAlgorithm.hh.

◆ SetImageSpace() [1/2]

void vAlgorithm::SetImageSpace ( oImageSpace ap_ImageSpace)
inline

Definition at line 126 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetImageSpace() [2/2]

void vAlgorithm::SetImageSpace ( oImageSpace ap_ImageSpace)
inline

Definition at line 126 of file include/algorithm/vAlgorithm.hh.

◆ SetNbBeds() [1/2]

void vAlgorithm::SetNbBeds ( int  a_nbBeds)
inline

Definition at line 189 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetNbBeds() [2/2]

void vAlgorithm::SetNbBeds ( int  a_nbBeds)
inline

Definition at line 189 of file include/algorithm/vAlgorithm.hh.

◆ SetNbIterationsAndSubsets() [1/2]

int vAlgorithm::SetNbIterationsAndSubsets ( const string &  a_nbIterationsSubsets)

Definition at line 62 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ SetNbIterationsAndSubsets() [2/2]

int vAlgorithm::SetNbIterationsAndSubsets ( const string &  a_nbIterationsSubsets)

◆ SetNbSkippedIterations()

public vAlgorithm::SetNbSkippedIterations ( const string &  a_skippedIterations)
inline

Set the number of first iterations to be skipped.

Parameters
a_skippedIterations

Definition at line 233 of file include/algorithm/vAlgorithm.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetOptimizerManager() [1/2]

void vAlgorithm::SetOptimizerManager ( oOptimizerManager ap_OptimizerManager)
inline

Definition at line 112 of file include/algorithm/vAlgorithm.hh.

◆ SetOptimizerManager() [2/2]

void vAlgorithm::SetOptimizerManager ( oOptimizerManager ap_OptimizerManager)
inline

Definition at line 112 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetOutputIterations() [1/2]

int vAlgorithm::SetOutputIterations ( const string &  a_outputIterations)

Definition at line 121 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ SetOutputIterations() [2/2]

int vAlgorithm::SetOutputIterations ( const string &  a_outputIterations)

◆ SetPathInitImage() [1/2]

void vAlgorithm::SetPathInitImage ( string  a_pathToInitialImage)
inline

Definition at line 196 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetPathInitImage() [2/2]

void vAlgorithm::SetPathInitImage ( string  a_pathToInitialImage)
inline

Definition at line 196 of file include/algorithm/vAlgorithm.hh.

◆ SetPathToAttenuationImage() [1/2]

void vAlgorithm::SetPathToAttenuationImage ( string  a_pathToAttenuationImage)
inline

Definition at line 203 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetPathToAttenuationImage() [2/2]

void vAlgorithm::SetPathToAttenuationImage ( string  a_pathToAttenuationImage)
inline

Definition at line 203 of file include/algorithm/vAlgorithm.hh.

◆ SetPathToMultiModalImage() [1/2]

void vAlgorithm::SetPathToMultiModalImage ( vector< string >  a_pathToMultiModalImage)
inline

Definition at line 217 of file code/include/algorithm/vAlgorithm.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetPathToMultiModalImage() [2/2]

void vAlgorithm::SetPathToMultiModalImage ( vector< string >  a_pathToMultiModalImage)
inline

Definition at line 217 of file include/algorithm/vAlgorithm.hh.

Here is the call graph for this function:

◆ SetPathToSensitivityImage() [1/2]

void vAlgorithm::SetPathToSensitivityImage ( string  a_pathToSensitivityImage)
inline

Definition at line 210 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetPathToSensitivityImage() [2/2]

void vAlgorithm::SetPathToSensitivityImage ( string  a_pathToSensitivityImage)
inline

Definition at line 210 of file include/algorithm/vAlgorithm.hh.

◆ SetProjectorManager() [1/2]

void vAlgorithm::SetProjectorManager ( oProjectorManager ap_ProjectorManager)
inline

Definition at line 133 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetProjectorManager() [2/2]

void vAlgorithm::SetProjectorManager ( oProjectorManager ap_ProjectorManager)
inline

Definition at line 133 of file include/algorithm/vAlgorithm.hh.

◆ SetSaveDynamicBasisCoefficientImages() [1/2]

void vAlgorithm::SetSaveDynamicBasisCoefficientImages ( bool  a_saveDynamicBasisCoefficients)
inline

Definition at line 105 of file include/algorithm/vAlgorithm.hh.

◆ SetSaveDynamicBasisCoefficientImages() [2/2]

void vAlgorithm::SetSaveDynamicBasisCoefficientImages ( bool  a_saveDynamicBasisCoefficients)
inline

Definition at line 105 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetSaveSensitivityHistoFlag() [1/2]

void vAlgorithm::SetSaveSensitivityHistoFlag ( bool  a_saveSensitivityHistoFlag)
inline

Definition at line 91 of file include/algorithm/vAlgorithm.hh.

◆ SetSaveSensitivityHistoFlag() [2/2]

void vAlgorithm::SetSaveSensitivityHistoFlag ( bool  a_saveSensitivityHistoFlag)
inline

Definition at line 91 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetSaveSubsetImageFlag() [1/2]

void vAlgorithm::SetSaveSubsetImageFlag ( bool  a_saveImageAfterSubsets)
inline

Definition at line 98 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetSaveSubsetImageFlag() [2/2]

void vAlgorithm::SetSaveSubsetImageFlag ( bool  a_saveImageAfterSubsets)
inline

Definition at line 98 of file include/algorithm/vAlgorithm.hh.

◆ SetVerbose() [1/2]

void vAlgorithm::SetVerbose ( int  a_verboseLevel)
inline

Definition at line 182 of file code/include/algorithm/vAlgorithm.hh.

Here is the caller graph for this function:

◆ SetVerbose() [2/2]

void vAlgorithm::SetVerbose ( int  a_verboseLevel)
inline

Definition at line 182 of file include/algorithm/vAlgorithm.hh.

◆ ShowHelpSpecific() [1/2]

public virtual vAlgorithm::ShowHelpSpecific ( )
inlinevirtual

Show help for the child algorithm.

Reimplemented in iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 250 of file code/include/algorithm/vAlgorithm.hh.

Here is the call graph for this function:

◆ ShowHelpSpecific() [2/2]

virtual void vAlgorithm::ShowHelpSpecific ( )
inlinevirtual

Reimplemented in iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 257 of file include/algorithm/vAlgorithm.hh.

Here is the call graph for this function:

◆ StepAfterIterationLoop() [1/2]

int vAlgorithm::StepAfterIterationLoop ( )
protectedvirtual

This function is called at the end of the RunCPU function.

Returns
0 if success, positive value otherwise.

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 454 of file code/src/algorithm/vAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StepAfterIterationLoop() [2/2]

virtual int vAlgorithm::StepAfterIterationLoop ( )
protectedvirtual

◆ StepAfterSubsetLoop() [1/2]

int vAlgorithm::StepAfterSubsetLoop ( int  a_iteration)
protectedvirtual

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 443 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ StepAfterSubsetLoop() [2/2]

virtual int vAlgorithm::StepAfterSubsetLoop ( int  a_iteration)
protectedvirtual

◆ StepBeforeIterationLoop() [1/2]

int vAlgorithm::StepBeforeIterationLoop ( )
protectedvirtual

This function is called at the beginning of the RunCPU function.

Returns
0 if success, positive value otherwise.

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 365 of file code/src/algorithm/vAlgorithm.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StepBeforeIterationLoop() [2/2]

virtual int vAlgorithm::StepBeforeIterationLoop ( )
protectedvirtual

◆ StepBeforeSubsetLoop() [1/2]

int vAlgorithm::StepBeforeSubsetLoop ( int  a_iteration)
protectedvirtual

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 410 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ StepBeforeSubsetLoop() [2/2]

virtual int vAlgorithm::StepBeforeSubsetLoop ( int  a_iteration)
protectedvirtual

◆ StepImageOutput() [1/2]

int vAlgorithm::StepImageOutput ( int  a_iteration,
int  a_subset = -1 
)
protectedpure virtual

Implemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 475 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ StepImageOutput() [2/2]

virtual int vAlgorithm::StepImageOutput ( int  a_iteration,
int  a_subset = -1 
)
protectedpure virtual

◆ StepInnerLoopInsideSubsetLoop() [1/2]

virtual int vAlgorithm::StepInnerLoopInsideSubsetLoop ( int  a_iteration,
int  a_subset,
int  a_bed 
)
protectedpure virtual

Implemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Here is the caller graph for this function:

◆ StepInnerLoopInsideSubsetLoop() [2/2]

virtual int vAlgorithm::StepInnerLoopInsideSubsetLoop ( int  a_iteration,
int  a_subset,
int  a_bed 
)
protectedpure virtual

◆ StepPostProcessInsideSubsetLoop() [1/2]

int vAlgorithm::StepPostProcessInsideSubsetLoop ( int  a_iteration,
int  a_subset 
)
protectedvirtual

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 432 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ StepPostProcessInsideSubsetLoop() [2/2]

virtual int vAlgorithm::StepPostProcessInsideSubsetLoop ( int  a_iteration,
int  a_subset 
)
protectedvirtual

◆ StepPreProcessInsideSubsetLoop() [1/2]

int vAlgorithm::StepPreProcessInsideSubsetLoop ( int  a_iteration,
int  a_subset 
)
protectedvirtual

Reimplemented in iIterativeAlgorithm, iIterativeAlgorithm, iRCPGSAlgorithm, and iRCPGSAlgorithm.

Definition at line 421 of file code/src/algorithm/vAlgorithm.cc.

Here is the caller graph for this function:

◆ StepPreProcessInsideSubsetLoop() [2/2]

virtual int vAlgorithm::StepPreProcessInsideSubsetLoop ( int  a_iteration,
int  a_subset 
)
protectedvirtual

Member Data Documentation

◆ m2p_DataFile

vDataFile ** vAlgorithm::m2p_DataFile
protected

Pointer to the array of vDataFile object

Definition at line 324 of file code/include/algorithm/vAlgorithm.hh.

◆ m_flagGPU

bool vAlgorithm::m_flagGPU
protected

Do we use GPU or not (default=false)

Definition at line 322 of file code/include/algorithm/vAlgorithm.hh.

◆ m_nbBeds

int vAlgorithm::m_nbBeds
protected

number of bed FOVs (1 datafile by bed) (default=-1)

Definition at line 332 of file code/include/algorithm/vAlgorithm.hh.

◆ m_nbIterations

int vAlgorithm::m_nbIterations
protected

Number of iterations (default=1)

Definition at line 318 of file code/include/algorithm/vAlgorithm.hh.

◆ m_nbSkippedIterations

int vAlgorithm::m_nbSkippedIterations
protected

Number of first iterations to be skipped (default=0)

Definition at line 326 of file include/algorithm/vAlgorithm.hh.

◆ m_pathToAtnImg

string vAlgorithm::m_pathToAtnImg
protected

String of the path to the attenuation images

Definition at line 334 of file code/include/algorithm/vAlgorithm.hh.

◆ m_pathToInitialImg

string vAlgorithm::m_pathToInitialImg
protected

String containing the path to an initialization image

Definition at line 333 of file code/include/algorithm/vAlgorithm.hh.

◆ m_pathToMultiModalImg

vector< string > vAlgorithm::m_pathToMultiModalImg
protected

String vector containing paths to multimodal images

Definition at line 336 of file code/include/algorithm/vAlgorithm.hh.

◆ m_pathToSensitivityImg

string vAlgorithm::m_pathToSensitivityImg
protected

String containing the path to a sensitivity image

Definition at line 335 of file code/include/algorithm/vAlgorithm.hh.

◆ m_saveDynamicBasisCoefficients

bool vAlgorithm::m_saveDynamicBasisCoefficients
protected

Flag specifying that the dynamic basis coefficient images will be saved

Definition at line 339 of file code/include/algorithm/vAlgorithm.hh.

◆ m_saveImageAfterSubsets

bool vAlgorithm::m_saveImageAfterSubsets
protected

Flag specifying that the image has to be saved after each subset

Definition at line 338 of file code/include/algorithm/vAlgorithm.hh.

◆ m_saveSensitivityHistoFlag

bool vAlgorithm::m_saveSensitivityHistoFlag
protected

Flag specifying that the sensitivity image has to be saved for each subset/iteration in histogram mode

Definition at line 337 of file code/include/algorithm/vAlgorithm.hh.

◆ m_verbose

int vAlgorithm::m_verbose
protected

Verbosity (default=-1)

Definition at line 321 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_DeformationManager

oDeformationManager * vAlgorithm::mp_DeformationManager
protected

Pointer to the Deformation Manager object

Definition at line 327 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_DynamicModelManager

oDynamicModelManager * vAlgorithm::mp_DynamicModelManager
protected

Pointer to the Dynamic Model Manager object

Definition at line 328 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_ID

oImageDimensionsAndQuantification * vAlgorithm::mp_ID
protected

Pointer to the oImageDimensionsAndQuantification object

Definition at line 323 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_ImageConvolverManager

oImageConvolverManager * vAlgorithm::mp_ImageConvolverManager
protected

Pointer to the Image Convolver Manager object

Definition at line 330 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_ImageProcessingManager

oImageProcessingManager * vAlgorithm::mp_ImageProcessingManager
protected

Pointer to the Image Processing Manager object

Definition at line 331 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_ImageSpace

oImageSpace * vAlgorithm::mp_ImageSpace
protected

Pointer to the Image Space object

Definition at line 329 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_nbSubsets

int * vAlgorithm::mp_nbSubsets
protected

Number of subsets (default=1)

Definition at line 319 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_OptimizerManager

oOptimizerManager * vAlgorithm::mp_OptimizerManager
protected

Pointer to the Optimizer Manager object

Definition at line 326 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_outputIterations

bool * vAlgorithm::mp_outputIterations
protected

A boolean for each iteration saying if we save it or not

Definition at line 320 of file code/include/algorithm/vAlgorithm.hh.

◆ mp_ProjectorManager

oProjectorManager * vAlgorithm::mp_ProjectorManager
protected

Pointer to the Projector Manager object

Definition at line 325 of file code/include/algorithm/vAlgorithm.hh.


The documentation for this class was generated from the following files: