22 #ifndef otbMRFEnergyGaussian_h
23 #define otbMRFEnergyGaussian_h
28 #include "vcl_legacy_aliases.h"
52 template <
class TInput1,
class TInput2>
74 return vnl_math_sqr((
static_cast<double>(value1)) - (
static_cast<double>(value2)));
81 this->m_NumberOfParameters = 0;
82 this->m_Parameters.SetSize(this->m_NumberOfParameters);
This is the implementation of the Gaussian model for Markov classification.
itk::SmartPointer< const Self > ConstPointer
MRFEnergy< TInput1, TInput2 > Superclass
LabelledImageType::PixelType LabelledImagePixelType
TInput2 LabelledImageType
double GetSingleValue(const InputImagePixelType &value1, const LabelledImagePixelType &value2) override
InputImageType::PixelType InputImagePixelType
itk::SmartPointer< Self > Pointer
itk::Array< double > ParametersType
~MRFEnergyGaussian() override
This is the base class for energy function used in the MRF framework.
InputImageType::PixelType InputImagePixelType
LabelledImageType::PixelType LabelledImagePixelType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.