#include <Double_Seg_Algorithm.hpp>
Public Methods | |
bool | HasConverged () |
True if the algorithm has converged (the criterion has reached the limit). | |
virtual void | Compute_MAP_Labels (vector< uint > &Labels) |
Compute MAP labels -- segmentation result. | |
virtual void | Init_Labels (vector< uint > const &labsY, vector< uint > const &labsZ) |
Initialize with labels. | |
virtual void | Init_Random () |
Initialize randomly. | |
virtual void | Init_Density () |
Initialize with density. | |
virtual void | Compute_CLCrit () |
Completed likelihood criterion. | |
virtual void | Compute_FuzzyCrit () |
Fuzzy classification criterion. | |
virtual void | Compute_HardCrit () |
Hard classification criterion. | |
void | Display_Stopping_Rule () |
display info about the criteria | |
void | Update_Stopping_Rules () |
Recompute criteria values. | |
void | Use_Default_Stopping_Rule () |
Set the criterion to the default. | |
void | Set_Stopping_Rule (uint crit, double tol) |
Set the criterion to a given one. | |
virtual void | Info () |
Display some runtime information ... | |
virtual void | Run (uint nbiter) |
Run for a number of iterations ... | |
void | RunUntilConvergence () |
Run until the convergence test is ok ... | |
Protected Attributes | |
vector< double > | Crit_Values |
All values of stopping criteria. | |
uint | Criterion |
Current (chosen) stopping criterion. | |
double | Tol |
limit value of the stopping criterion | |
double | Old_CL |
Old value of completed likelihood. | |
vector< double > | old_fuzzy |
Old value of tY_il. | |
vector< uint > | old_map_labs |
Old map labels. |