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

HMRF_Algorithm Class Reference

A class representing an abstract HMRF algorithm. More...

#include <HMRF_Algo.hpp>

Inheritance diagram for HMRF_Algorithm:

Seg_Algorithm ICM_Algorithm NREM_Algorithm Mean_Field_EM Modal_Field_EM Simulated_Field_EM List of all members.

Public Member Functions

virtual ~HMRF_Algorithm ()
 Destructor.
uint Get_N ()
 Get the number of points.
uint Get_K ()
 Get the number of classes.
virtual void Run (uint nbiter)
 Run for a number of iterations ...
void E_Step ()
 E-step.
void M_Step ()
 M-step.
void Info ()
 Display some info on the algorithm.
void Compute_MAP_Labels (vector< uint > &Labels)
 Compute current MAP classification.
virtual void Compute_fuzzy (uint i, vector< double > &probs)
void Init_Labels (vector< uint > const &labs)
 Initialize the algorithm given the labels.
void Init_KMeans ()
 Initialize with kmeans.
void Init_Random ()
 Initialize the algorithm with random labels.
void Init_fuzzy (vector< double > const &t)
 Initialize the algorithm given the fuzzy classification.
void Write_fuzzy (string filename)
 Write the fuzzy classification in a file.
void Compute_CLCrit ()
 Completed likelihood criterion.
void Compute_FuzzyCrit ()
 Fuzzy classification criterion.
void Compute_HardCrit ()
 Hard classification criterion.

Protected Member Functions

void Update_Density ()
 Update log-density.

Protected Attributes

Spatial_DataSpatData
 Data used to estimate the model.
HMRFModel
 Model on which we will apply the algorithm.
vector< double > logdens
 Log density.

Detailed Description

Author:
Lemine Abdallahi
Date:
Aug. 2005


Member Function Documentation

void HMRF_Algorithm::Init_KMeans  ) 
 

Initialize the model using K-means algorithm labels.


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