Boost solvers for the min st-cut framework GraphCut. More...
#include <minstcutboost.hxx>
Public Types | |
typedef NType | node_type |
typedef VType | ValueType |
typedef boost::vecS | OutEdgeList |
typedef boost::vecS | VertexList |
typedef boost::adjacency_list_traits < OutEdgeList, VertexList, boost::directedS > | graph_traits |
typedef graph_traits::edge_descriptor | edge_descriptor |
typedef graph_traits::vertex_descriptor | vertex_descriptor |
typedef boost::adjacency_list < OutEdgeList, VertexList, boost::directedS, size_t, Edge > | graph_type |
typedef boost::graph_traits < graph_type >::edge_iterator | edge_iterator |
typedef boost::graph_traits < graph_type > ::out_edge_iterator | out_edge_iterator |
Public Member Functions | |
MinSTCutBoost () | |
MinSTCutBoost (size_t numberOfNodes, size_t numberOfEdges) | |
void | addEdge (node_type, node_type, ValueType) |
void | calculateCut (std::vector< bool > &) |
Boost solvers for the min st-cut framework GraphCut.
Definition at line 31 of file minstcutboost.hxx.
typedef graph_traits::edge_descriptor opengm::MinSTCutBoost< NType, VType, mfalg >::edge_descriptor |
Definition at line 39 of file minstcutboost.hxx.
typedef boost::graph_traits<graph_type>::edge_iterator opengm::MinSTCutBoost< NType, VType, mfalg >::edge_iterator |
Definition at line 53 of file minstcutboost.hxx.
typedef boost::adjacency_list_traits<OutEdgeList, VertexList, boost::directedS> opengm::MinSTCutBoost< NType, VType, mfalg >::graph_traits |
Definition at line 38 of file minstcutboost.hxx.
typedef boost::adjacency_list<OutEdgeList, VertexList, boost::directedS, size_t, Edge> opengm::MinSTCutBoost< NType, VType, mfalg >::graph_type |
Definition at line 52 of file minstcutboost.hxx.
typedef NType opengm::MinSTCutBoost< NType, VType, mfalg >::node_type |
Definition at line 34 of file minstcutboost.hxx.
typedef boost::graph_traits<graph_type>::out_edge_iterator opengm::MinSTCutBoost< NType, VType, mfalg >::out_edge_iterator |
Definition at line 54 of file minstcutboost.hxx.
typedef boost::vecS opengm::MinSTCutBoost< NType, VType, mfalg >::OutEdgeList |
Definition at line 36 of file minstcutboost.hxx.
typedef VType opengm::MinSTCutBoost< NType, VType, mfalg >::ValueType |
Definition at line 35 of file minstcutboost.hxx.
typedef graph_traits::vertex_descriptor opengm::MinSTCutBoost< NType, VType, mfalg >::vertex_descriptor |
Definition at line 40 of file minstcutboost.hxx.
typedef boost::vecS opengm::MinSTCutBoost< NType, VType, mfalg >::VertexList |
Definition at line 37 of file minstcutboost.hxx.
opengm::MinSTCutBoost< NType, VType, mfalg >::MinSTCutBoost | ( | ) | [inline] |
Definition at line 76 of file minstcutboost.hxx.
opengm::MinSTCutBoost< NType, VType, mfalg >::MinSTCutBoost | ( | size_t | numberOfNodes, | |
size_t | numberOfEdges | |||
) | [inline] |
Definition at line 82 of file minstcutboost.hxx.
void opengm::MinSTCutBoost< NType, VType, mfalg >::addEdge | ( | node_type | n1, | |
node_type | n2, | |||
ValueType | cost | |||
) | [inline] |
Definition at line 90 of file minstcutboost.hxx.
void opengm::MinSTCutBoost< NType, VType, mfalg >::calculateCut | ( | std::vector< bool > & | segmentation | ) | [inline] |
Definition at line 103 of file minstcutboost.hxx.