Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

DiagGauss_MRF Class Reference

A class representing a hidden Markov random field, with gaussian diagonal observations. More...

#include <DiagGauss_MRF.hpp>

Inheritance diagram for DiagGauss_MRF:

HMRF Seg_Model List of all members.

Public Methods

 DiagGauss_MRF ()
 Default constructor.

 DiagGauss_MRF (Neighborhood_System *nhs)
 Detailed constructor.

 DiagGauss_MRF (uint k, uint dim, Neighborhood_System *nhs)
 Detailed constructor.

 DiagGauss_MRF (MRF *rf, vector< Diag_Normal * > const &gaussians)
 Detailed constructor.

 ~DiagGauss_MRF ()
 Destructor.

void DeleteAll ()
 Free all used memory.

uint Get_D ()
 Get the dimension.

void Simulate (Data *dat, uint gibbs_sampler_nbiter)
 Simulate.

void Simulate (Data *dat, double grad_tol)
 Simulate.

uint Degrees_Of_Freedom ()
double Density (vector< double > const &X, uint k)
 Compute the density.

void Update_Gaussians (Spatial_Data *spatd, vector< double > const &tik)
 Update gaussians.

void ReadFromFile (string filename)
 read from a file

void WriteToFile (string filename)
 save in a file

void NREM_E (Spatial_Data *spatd, vector< double > &tik)
 Step E of the NR-EM algorithm.

void NREM_M (Spatial_Data *spatd, vector< double > const &tik)
 Step M of the NR-EM algorithm.

void Info ()
 Display mdeol information.


Detailed Description

Author:
Lemine Abdallahi
Date:
Aug. 2005


Constructor & Destructor Documentation

DiagGauss_MRF::DiagGauss_MRF  
 

Default constructor

DiagGauss_MRF::DiagGauss_MRF Neighborhood_System   nhs
 

Default constructor

DiagGauss_MRF::DiagGauss_MRF uint    k,
uint    dim,
Neighborhood_System   nhs
 

Default constructor

DiagGauss_MRF::DiagGauss_MRF MRF   rf,
vector< Diag_Normal * > const &    gaussians
 

Detailed constructor

DiagGauss_MRF::~DiagGauss_MRF  
 

Destructor


Member Function Documentation

uint DiagGauss_MRF::Degrees_Of_Freedom   [virtual]
 

Number of free parameters ... useful for model selection.

Reimplemented from Seg_Model.

void DiagGauss_MRF::DeleteAll  
 

Free all memory used by the object.

double DiagGauss_MRF::Density vector< double > const &    X,
uint    k
[virtual]
 

Compute density at X in the class k, i.e. , f(X | mu_k, sigma_k)

Reimplemented from HMRF.

uint DiagGauss_MRF::Get_D  
 

Get the dimension

void DiagGauss_MRF::Info   [virtual]
 

Print some info on the model.

Abstract. Model-dependent.

Reimplemented from Seg_Model.

void DiagGauss_MRF::ReadFromFile string    filename
 

read from a file

file format details :

void DiagGauss_MRF::Simulate Data   dat,
double    grad_tol
 

Simulation procedure.

void DiagGauss_MRF::Simulate Data   dat,
uint    gibbs_sampler_nbiter
 

Simulation procedure.

void DiagGauss_MRF::Update_Gaussians Spatial_Data   spatd,
vector< double > const &    tik
 

Update gaussians

void DiagGauss_MRF::WriteToFile string    filename
 

save in a file


The documentation for this class was generated from the following files:
Generated on Tue Oct 25 11:45:24 2005 for NEM by doxygen1.2.18