Interface class for edge models used in dense graphical models.
More...
#include <IEdgeModel.h>
Interface class for edge models used in dense graphical models.
- Author
- Sergey G. Kosov, serge.nosp@m.y.ko.nosp@m.sov@p.nosp@m.roje.nosp@m.ct-10.nosp@m..de
Definition at line 14 of file IEdgeModel.h.
◆ IEdgeModel() [1/2]
DirectGraphicalModels::IEdgeModel::IEdgeModel |
( |
void |
| ) |
|
|
default |
◆ IEdgeModel() [2/2]
DirectGraphicalModels::IEdgeModel::IEdgeModel |
( |
const IEdgeModel & |
| ) |
|
|
delete |
◆ ~IEdgeModel()
virtual DirectGraphicalModels::IEdgeModel::~IEdgeModel |
( |
void |
| ) |
|
|
virtualdefault |
◆ apply()
virtual void DirectGraphicalModels::IEdgeModel::apply |
( |
const Mat & |
src, |
|
|
Mat & |
dst |
|
) |
| const |
|
pure virtual |
Applies an edge model to the node potentials of a dense graph.
This function subsequently (in terms of multiple iterations and multiple models) applies an edge model derived from this class to the node potentials provided via src argument and stores the result into the dst.
- Parameters
-
[in] | src | The dense graph node potentials in form Mat(size: nNodes x nStates; type: CV_32FC1) |
[out] | dst | The reference to the container for resulting node potentials. Resulting matrix will be the same size and type as the input one: Mat(size: nNodes x nStates; type: CV_32FC1) |
Implemented in DirectGraphicalModels::CEdgeModelPotts.
◆ operator=()
The documentation for this class was generated from the following file: