Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Seg_Algorithm Class Reference

A class representing a segmentation algorithm. More...

#include <Seg_Algorithm.hpp>

Inheritance diagram for Seg_Algorithm:

HMRF_Algorithm Mixture_Algorithm ICM_Algorithm NREM_Algorithm CEM_Algorithm EM_Algorithm NCEM_Algorithm NEM_Algorithm Mean_Field_EM Modal_Field_EM Simulated_Field_EM List of all members.

Public Member Functions

virtual uint Get_N ()
 Get the number of points.
virtual uint Get_K ()
virtual void Init_Labels (vector< uint > const &labs)
 Initialize with labels.
virtual void Init_Random ()
 Initialize randomly.
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 Compute_fuzzy (uint i, vector< double > &probs)
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 ...
virtual void M_Step ()
 M-step.
virtual void E_Step ()
 E-step.

Protected Attributes

vector< double > fuzzy
 Fuzzy classification.
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 fuzzy classification.
vector< uint > old_map_labs
 Old map labels.

Detailed Description

Author:
Lemine Abdallahi
Date:
Aug. 2005
Abstract class.


The documentation for this class was generated from the following files:
Generated on Thu Jan 12 11:55:04 2006 for NEM by  doxygen 1.4.4