|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbMRFEnergyPotts_h
23 #define otbMRFEnergyPotts_h
50 template <
class TInput1,
class TInput2>
74 return this->m_Parameters[0];
78 return -this->m_Parameters[0];
86 this->m_NumberOfParameters = 1;
87 this->m_Parameters.SetSize(this->m_NumberOfParameters);
88 this->m_Parameters[0] = 1.0;
double GetSingleValue(const InputImagePixelType &value1, const LabelledImagePixelType &value2) override
This is the implementation of the Potts model for Markov classification.
itk::SmartPointer< const Self > ConstPointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::Array< double > ParametersType
MRFEnergy< TInput1, TInput2 > Superclass
InputImageType::PixelType InputImagePixelType
LabelledImageType::PixelType LabelledImagePixelType
InputImageType::PixelType InputImagePixelType
TInput2 LabelledImageType
LabelledImageType::PixelType LabelledImagePixelType
This is the base class for energy function used in the MRF framework.
~MRFEnergyPotts() override
itk::SmartPointer< Self > Pointer