|
OpenGM
2.3.x
Discrete Graphical Model Library
|
QPBO Algorithm
C. Rother, V. Kolmogorov, V. Lempitsky, and M. Szummer, "Optimizing binary MRFs via extended roof duality", CVPR 2007.
More...
#include <qpbo.hxx>
Inheritance diagram for opengm::QPBO< GM, MIN_ST_CUT >:
Collaboration diagram for opengm::QPBO< GM, MIN_ST_CUT >:Classes | |
| struct | Parameter |
Public Types | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef visitors::VerboseVisitor< QPBO< GM, MIN_ST_CUT > > | VerboseVisitorType |
| typedef visitors::TimingVisitor< QPBO< GM, MIN_ST_CUT > > | TimingVisitorType |
| typedef visitors::EmptyVisitor< QPBO< GM, MIN_ST_CUT > > | EmptyVisitorType |
Public Types inherited from opengm::Inference< GM, opengm::Minimizer > | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef GraphicalModelType::LabelType | LabelType |
| typedef GraphicalModelType::IndexType | IndexType |
| typedef GraphicalModelType::ValueType | ValueType |
| typedef GraphicalModelType::OperatorType | OperatorType |
| typedef GraphicalModelType::FactorType | FactorType |
| typedef GraphicalModelType::IndependentFactorType | IndependentFactorType |
| typedef GraphicalModelType::FunctionIdentifier | FunctionIdentifier |
Public Member Functions | |
| QPBO (const GraphicalModelType &, Parameter=Parameter()) | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| InferenceTermination | infer () |
| template<class VISITOR > | |
| InferenceTermination | infer (VISITOR &) |
| InferenceTermination | arg (std::vector< LabelType > &, const size_t &=1) const |
| double | partialOptimality (std::vector< bool > &) const |
Public Member Functions inherited from opengm::Inference< GM, opengm::Minimizer > | |
| virtual | ~Inference () |
| virtual void | setStartingPoint (typename std::vector< LabelType >::const_iterator) |
| set initial labeling More... | |
| virtual InferenceTermination | arg (std::vector< LabelType > &, const size_t=1) const |
| output a solution More... | |
| virtual InferenceTermination | args (std::vector< std::vector< LabelType > > &) const |
| virtual InferenceTermination | marginal (const size_t, IndependentFactorType &) const |
| output a solution for a marginal for a specific variable More... | |
| virtual InferenceTermination | factorMarginal (const size_t, IndependentFactorType &) const |
| output a solution for a marginal for all variables connected to a factor More... | |
| virtual ValueType | bound () const |
| return a bound on the solution More... | |
| virtual ValueType | value () const |
| return the solution (value) More... | |
| InferenceTermination | constrainedOptimum (std::vector< IndexType > &, std::vector< LabelType > &, std::vector< LabelType > &) const |
| InferenceTermination | modeFromMarginal (std::vector< LabelType > &) const |
| InferenceTermination | modeFromFactorMarginal (std::vector< LabelType > &) const |
Public Attributes | |
| OPENGM_GM_TYPE_TYPEDEFS | |
QPBO Algorithm
C. Rother, V. Kolmogorov, V. Lempitsky, and M. Szummer, "Optimizing binary MRFs via extended roof duality", CVPR 2007.
| typedef opengm::Minimizer opengm::QPBO< GM, MIN_ST_CUT >::AccumulationType |
| typedef visitors::EmptyVisitor<QPBO<GM,MIN_ST_CUT> > opengm::QPBO< GM, MIN_ST_CUT >::EmptyVisitorType |
| typedef GM opengm::QPBO< GM, MIN_ST_CUT >::GraphicalModelType |
| typedef visitors::TimingVisitor<QPBO<GM,MIN_ST_CUT> > opengm::QPBO< GM, MIN_ST_CUT >::TimingVisitorType |
| typedef visitors::VerboseVisitor<QPBO<GM,MIN_ST_CUT> > opengm::QPBO< GM, MIN_ST_CUT >::VerboseVisitorType |
| opengm::QPBO< GM, MIN_ST_CUT >::QPBO | ( | const GraphicalModelType & | , |
| Parameter | = Parameter() |
||
| ) |
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
| double opengm::QPBO< GM, MIN_ST_CUT >::partialOptimality | ( | std::vector< bool > & | optVec | ) | const |
| opengm::QPBO< GM, MIN_ST_CUT >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1