34 #ifndef IRCPGSALGORITHM_HH 35 #define IRCPGSALGORITHM_HH 1 int UpdateVisitedVoxels()
Check for voxels which do not contribute to recorded observed data.
int SampleConditionalClustering(int a_iteration)
Gibbs sampler : second conditional probability (ddCRP links)
HPFLTNB m_ddcrpAlphaIncrement
Declaration of class vAlgorithm.
int InitSpecificOptions(string a_specificOptions)
int ComputeFellowVoxelsList(vector< INTNB > &a_fellow_voxels, int a_current_voxel)
Fill the input list of fellow voxels for the current type of neighbourhood and the input voxel...
HPFLTNB ** mpp_clusterMultiModal
FLTNB * mp_permanentBackwardImage
int StepPreProcessInsideSubsetLoop(int a_iteration, int a_subset)
This function is called right after starting the data subset loop.
HPFLTNB m_currentMeanClusterVolume
int SaveIntermediaryData(int a_iteration)
Save potentially useful by-product variables specific to this algorithm.
HPFLTNB * mp_clusterValues
int ReadConfigurationFile(const string &a_configurationFile)
int StepInnerLoopInsideSubsetLoop(int a_iteration, int a_subset, int a_bed)
This function is called inside the subset loop. It contains the core operations of the algorithm an...
INTNB ** mp_listEventsIndices
HPFLTNB * mp_multiModalParam
int ComputeSumsPerClusters(int a_iteration)
Compute sums of voxel features for each cluster.
bool * mp_listRelevantVoxelIndices
HPFLTNB m_meanClusterVolumeMax
HPFLTNB m_meanClusterVolumeMin
RCP-GS : Random Clustering Prior - Gibbs Sampler.
int StepPostProcessInsideSubsetLoop(int a_iteration, int a_subset)
int StepBeforeIterationLoop()
This function is called at the beginning of the RunCPU function.
int SampleConditionalCompleteData(int a_iteration, int a_subset, int a_bed)
Gibbs sampler : first conditional probability (backprojection)
HPFLTNB * mp_clusterSensitivity
int StepAfterSubsetLoop(int a_iteration)
This function is called after finishing the data subset loop.
int StepBeforeSubsetLoop(int a_iteration)
This function is called before starting the data subset loop.
int InitializeHelperVar()
Allocate and initialize temporary variables, after the main variables have been initialized Assumptio...
INTNB **** m4p_EventsBackprojectionTrace
HPFLTNB * temp_count_multimodal
This is the base class for reconstructions, containing a framework with iteration and data subset loo...
HPFLTNB * mp_multiModalNoiseSigma
vector< INTNB > * mpv_parentLinks
void ShowHelpSpecific()
Show help for the child algorithm.
vector< INTNB > mv_newClusters
INTNB * mp_voxelClusterMapping
int ProcessMultiModalInfo()
Check input multimodal images.
int SampleConditionalClusterIntensity()
Gibbs sampler : third conditional probability (cluster intensity)
int StepAfterIterationLoop()
This function is called at the end of the RunCPU function.
INTNB * mp_listVoxelIndices
int GenerateCurrentImage()
Generate the current image estimation from the current sample of partition/clustering and cluster int...
int StepImageOutput(int a_iteration, int a_subset=-1)
This function deals with everything about saving output images from the reconstruction.