opengm::AlphaExpansionFusion< GM, ACC > Class Template Reference
[Inference Algorithms]

Alpha-Expansion-Fusion Algorithm uses the code of Alexander Fix to reduce the higer order moves to binary pairwise problems which are solved by QPBO as described in Alexander Fix, Artinan Gruber, Endre Boros, Ramin Zabih: A Graph Cut Algorithm for Higher Order Markov Random Fields, ICCV 2011. More...

#include <alphaexpansionfusion.hxx>

Inheritance diagram for opengm::AlphaExpansionFusion< GM, ACC >:
Inheritance graph
[legend]
Collaboration diagram for opengm::AlphaExpansionFusion< GM, ACC >:
Collaboration graph
[legend]

List of all members.

Classes

struct  Parameter

Public Types

typedef GM GraphicalModelType
typedef ACC AccumulationType
typedef VerboseVisitor
< AlphaExpansionFusion< GM,
ACC > > 
VerboseVisitorType
typedef TimingVisitor
< AlphaExpansionFusion< GM,
ACC > > 
TimingVisitorType
typedef EmptyVisitor
< AlphaExpansionFusion< GM,
ACC > > 
EmptyVisitorType

Public Member Functions

 AlphaExpansionFusion (const GraphicalModelType &, Parameter para=Parameter())
std::string name () const
const GraphicalModelTypegraphicalModel () const
template<class StateIterator >
void setState (StateIterator, StateIterator)
InferenceTermination infer ()
void reset ()
template<class Visitor >
InferenceTermination infer (Visitor &visitor)
void setStartingPoint (typename std::vector< LabelType >::const_iterator)
 set initial labeling
InferenceTermination arg (std::vector< LabelType > &, const size_t=1) const
 output a solution

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS

Detailed Description

template<class GM, class ACC>
class opengm::AlphaExpansionFusion< GM, ACC >

Alpha-Expansion-Fusion Algorithm uses the code of Alexander Fix to reduce the higer order moves to binary pairwise problems which are solved by QPBO as described in Alexander Fix, Artinan Gruber, Endre Boros, Ramin Zabih: A Graph Cut Algorithm for Higher Order Markov Random Fields, ICCV 2011.

Corresponding author: Joerg Hendrik Kappes

Definition at line 20 of file alphaexpansionfusion.hxx.


Member Typedef Documentation

template<class GM, class ACC>
typedef ACC opengm::AlphaExpansionFusion< GM, ACC >::AccumulationType

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 24 of file alphaexpansionfusion.hxx.

template<class GM, class ACC>
typedef EmptyVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::EmptyVisitorType

Definition at line 28 of file alphaexpansionfusion.hxx.

template<class GM, class ACC>
typedef GM opengm::AlphaExpansionFusion< GM, ACC >::GraphicalModelType

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 23 of file alphaexpansionfusion.hxx.

template<class GM, class ACC>
typedef TimingVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::TimingVisitorType

Definition at line 27 of file alphaexpansionfusion.hxx.

template<class GM, class ACC>
typedef VerboseVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::VerboseVisitorType

Definition at line 26 of file alphaexpansionfusion.hxx.


Constructor & Destructor Documentation

template<class GM , class ACC >
opengm::AlphaExpansionFusion< GM, ACC >::AlphaExpansionFusion ( const GraphicalModelType gm,
Parameter  para = Parameter() 
) [inline]

Definition at line 133 of file alphaexpansionfusion.hxx.


Member Function Documentation

template<class GM , class ACC >
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::arg ( std::vector< LabelType > &  arg,
const size_t  argIndex = 1 
) const [inline, virtual]

output a solution

Parameters:
[out] arg labeling
argIndex solution index (0=best, 1=second best, etc.)

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 457 of file alphaexpansionfusion.hxx.

template<class GM , class ACC >
const AlphaExpansionFusion< GM, ACC >::GraphicalModelType & opengm::AlphaExpansionFusion< GM, ACC >::graphicalModel (  )  const [inline, virtual]

Implements opengm::Inference< GM, ACC >.

Definition at line 99 of file alphaexpansionfusion.hxx.

template<class GM , class ACC >
template<class Visitor >
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::infer ( Visitor &  visitor  )  [inline]

Definition at line 257 of file alphaexpansionfusion.hxx.

template<class GM , class ACC >
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::infer (  )  [inline, virtual]

Implements opengm::Inference< GM, ACC >.

Definition at line 247 of file alphaexpansionfusion.hxx.

template<class GM , class ACC >
std::string opengm::AlphaExpansionFusion< GM, ACC >::name (  )  const [inline, virtual]

Implements opengm::Inference< GM, ACC >.

Definition at line 92 of file alphaexpansionfusion.hxx.

template<class GM , class ACC >
void opengm::AlphaExpansionFusion< GM, ACC >::reset (  )  [inline]

Definition at line 187 of file alphaexpansionfusion.hxx.

template<class GM, class ACC>
void opengm::AlphaExpansionFusion< GM, ACC >::setStartingPoint ( typename std::vector< LabelType >::const_iterator  begin  )  [virtual]

set initial labeling

Parameters:
begin iterator to the beginning of a sequence of labels

Reimplemented from opengm::Inference< GM, ACC >.

template<class GM , class ACC >
template<class StateIterator >
void opengm::AlphaExpansionFusion< GM, ACC >::setState ( StateIterator  begin,
StateIterator  end 
) [inline]

Definition at line 108 of file alphaexpansionfusion.hxx.


Member Data Documentation

template<class GM, class ACC>
opengm::AlphaExpansionFusion< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 25 of file alphaexpansionfusion.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:11 2013 for OpenGM by  doxygen 1.6.3