Direct Graphical Models
v.1.7.0
|
Dense Inference for Dense CRF. More...
#include <InferDense.h>
Public Member Functions | |
CInferDense (CGraphDense &graph) | |
Constructor. More... | |
virtual | ~CInferDense (void)=default |
virtual void | infer (unsigned int nIt=1) |
Inference. More... | |
Public Member Functions inherited from DirectGraphicalModels::CInfer | |
CInfer (CGraph &graph) | |
Constructor. More... | |
CInfer (const CInfer &)=delete | |
virtual | ~CInfer ()=default |
const CInfer & | operator= (const CInfer &)=delete |
vec_byte_t | decode (unsigned int nIt=0, Mat &lossMatrix=EmptyMat) |
Approximate decoding. More... | |
vec_float_t | getConfidence (void) const |
Returns the confidence of the perdiction. More... | |
vec_float_t | getPotentials (byte state) const |
Returns the potnetials for the selected state (class) More... | |
Protected Member Functions | |
CGraphDense & | getGraphDense (void) const |
Returns the dense graph. More... | |
Protected Member Functions inherited from DirectGraphicalModels::CInfer | |
CGraph & | getGraph (void) const |
Returns the reference to the graph. More... | |
Dense Inference for Dense CRF.
The implementation is based on Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials paper.
Definition at line 18 of file InferDense.h.
|
inline |
|
virtualdefault |
|
inlineprotected |
Returns the dense graph.
Definition at line 36 of file InferDense.h.
|
virtual |
Inference.
This function estimates the marginal potentials for each graph node, and stores them as node potentials
This function modifies Node::Pot containers of graph nodes
nIt | Number of iterations |
Implements DirectGraphicalModels::CInfer.
Definition at line 38 of file InferDense.cpp.