Direct Graphical Models  v.1.7.0
DirectGraphicalModels::IEdgeModel Class Referenceabstract

Interface class for edge models used in dense graphical models. More...

#include <IEdgeModel.h>

Inheritance diagram for DirectGraphicalModels::IEdgeModel:

Public Member Functions

 IEdgeModel (void)=default
 
 IEdgeModel (const IEdgeModel &)=delete
 
virtual ~IEdgeModel (void)=default
 
const IEdgeModeloperator= (const IEdgeModel &)=delete
 
virtual void apply (const Mat &src, Mat &dst) const =0
 Applies an edge model to the node potentials of a dense graph. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ IEdgeModel() [1/2]

DirectGraphicalModels::IEdgeModel::IEdgeModel ( void  )
default

◆ IEdgeModel() [2/2]

DirectGraphicalModels::IEdgeModel::IEdgeModel ( const IEdgeModel )
delete

◆ ~IEdgeModel()

virtual DirectGraphicalModels::IEdgeModel::~IEdgeModel ( void  )
virtualdefault

Member Function Documentation

◆ 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]srcThe dense graph node potentials in form Mat(size: nNodes x nStates; type: CV_32FC1)
[out]dstThe 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=()

const IEdgeModel& DirectGraphicalModels::IEdgeModel::operator= ( const IEdgeModel )
delete

The documentation for this class was generated from the following file: