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>
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 GraphicalModelType & | graphicalModel () 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 |
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.
typedef ACC opengm::AlphaExpansionFusion< GM, ACC >::AccumulationType |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 24 of file alphaexpansionfusion.hxx.
typedef EmptyVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::EmptyVisitorType |
Definition at line 28 of file alphaexpansionfusion.hxx.
typedef GM opengm::AlphaExpansionFusion< GM, ACC >::GraphicalModelType |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 23 of file alphaexpansionfusion.hxx.
typedef TimingVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::TimingVisitorType |
Definition at line 27 of file alphaexpansionfusion.hxx.
typedef VerboseVisitor<AlphaExpansionFusion<GM,ACC> > opengm::AlphaExpansionFusion< GM, ACC >::VerboseVisitorType |
Definition at line 26 of file alphaexpansionfusion.hxx.
opengm::AlphaExpansionFusion< GM, ACC >::AlphaExpansionFusion | ( | const GraphicalModelType & | gm, | |
Parameter | para = Parameter() | |||
) | [inline] |
Definition at line 133 of file alphaexpansionfusion.hxx.
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::arg | ( | std::vector< LabelType > & | arg, | |
const size_t | argIndex = 1 | |||
) | const [inline, virtual] |
output a solution
[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.
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.
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::infer | ( | Visitor & | visitor | ) | [inline] |
Definition at line 257 of file alphaexpansionfusion.hxx.
InferenceTermination opengm::AlphaExpansionFusion< GM, ACC >::infer | ( | ) | [inline, virtual] |
Implements opengm::Inference< GM, ACC >.
Definition at line 247 of file alphaexpansionfusion.hxx.
std::string opengm::AlphaExpansionFusion< GM, ACC >::name | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, ACC >.
Definition at line 92 of file alphaexpansionfusion.hxx.
void opengm::AlphaExpansionFusion< GM, ACC >::reset | ( | ) | [inline] |
Definition at line 187 of file alphaexpansionfusion.hxx.
void opengm::AlphaExpansionFusion< GM, ACC >::setStartingPoint | ( | typename std::vector< LabelType >::const_iterator | begin | ) | [virtual] |
set initial labeling
begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< GM, ACC >.
void opengm::AlphaExpansionFusion< GM, ACC >::setState | ( | StateIterator | begin, | |
StateIterator | end | |||
) | [inline] |
Definition at line 108 of file alphaexpansionfusion.hxx.
opengm::AlphaExpansionFusion< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 25 of file alphaexpansionfusion.hxx.