User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
NumOptimiseGibbsSamplingC::NumOptimiseGibbsSamplingC(UIntT,RealT,RealT,RealT,const ByteImageC &)
NumOptimiseGibbsSamplingC::NumOptimiseGibbsSamplingC(const NumOptimiseGibbsSamplingC &)
NumOptimiseGibbsSamplingC::NumOptimiseGibbsSamplingC(NumOptimiseGibbsSamplingBC &)
NumOptimiseGibbsSamplingC::operator=(const NumOptimiseGibbsSamplingC &)
NumOptimiseGibbsSamplingC::Copy(void) const
NumOptimiseC::Copy(void) const
NumOptimiseC::operator=(const NumOptimiseC &)
NumOptimiseC::MinimalX(const NumCostC &)
NumOptimiseC::MaximalX(const NumCostC &)
NumOptimiseC::GetInfo(void) const
NumOptimiseC::GetName(void) const
NumOptimiseC::Save(ostream &) const
RCHandleAC::Abstract(void)
RCHandleAC::IsHandleType(const DT &) const
RCHandleAC::CheckHandleType(const DT &) const
RCHandleAC::Save(ostream &) const
RCHandleAC::Copy(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
NumOptimiseGibbsSamplingC
 
GibbsSampling optimiser handle class.
 
include "amma/Region/NumOptimiseGibbsSampling.hh"
User Level:Default
Library:IPRegion
Example:exBayesSeg.cc
Section:Numerical Methods.Optimisation
In Scope:std

Comments:
This is the implementation class of the GibbsSampling optimiser. The NumOptimiseGibbsSamplingC handle class should be used. The annealing schedule used is the one proposed by Geman and Geman. Please refer to Tekalp Pg.133 for explanation. This optimisation class can only be used with cost functions which have the GetGibbsSample(X, temp) function.

Parent Classes: Methods:
NumOptimiseGibbsSamplingC(UIntT iterations,RealT Tau,RealT minTemp,RealT beta,const ByteImageC & image)
Constructor
iterations maximum number of iterations to use
Tau constant
minTemp the minimum temperature to be used during the annealing schedule
beta the 2-pixel clique potential
image the image over which Gibbs sampling is performed.

NumOptimiseGibbsSamplingC(const NumOptimiseGibbsSamplingC & oth)

NumOptimiseGibbsSamplingC(NumOptimiseGibbsSamplingBC & oth)

NumOptimiseGibbsSamplingC & operator=(const NumOptimiseGibbsSamplingC & cost)
Assigment of cost object.

NumOptimiseGibbsSamplingC Copy() const
Makes a deep copy

#include "amma/Num/NumOptimise.hh"
NumOptimiseC Copy() const
Makes a deep copy

NumOptimiseC & operator=(const NumOptimiseC & oth)
Assignment operator

VectorC MinimalX(const NumCostC & domain)
Do the Optimisation. Determines which X gives minimum cost function value

VectorC MaximalX(const NumCostC & domain)
Do the Optimisation. Determines which X gives maximum cost function value

const StringC GetInfo() const
Gets string describing object

const StringC GetName() const
Gets type name of the object

BooleanT Save(ostream & out) const
Writes object to stream, cna be loaded using constructor

#include "amma/RCHandleA.hh"
RCAbstractC Abstract()
Create an abstract handle to this object.

BooleanT IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

BooleanT Save(ostream & out) const
Save to ostream.

RCHandleAC<NumOptimiseBC> Copy() const
Creat a deep copy of this object.
protected:

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<NumOptimiseBC> & operator=(const RCHandleC<NumOptimiseBC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<NumOptimiseBC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<NumOptimiseBC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

NumOptimiseBC & Body()
Direct access to body.

const NumOptimiseBC & Body() const
Constant access to body.


Programmer:Ratna Rambaruth, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001