OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
otb::MRFEnergyGaussianClassification< TInput1, TInput2 > Class Template Reference

#include <otbMRFEnergyGaussianClassification.h>

+ Inheritance diagram for otb::MRFEnergyGaussianClassification< TInput1, TInput2 >:
+ Collaboration diagram for otb::MRFEnergyGaussianClassification< TInput1, TInput2 >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef TInput1 InputImageType
 
typedef LabelledImageType::PixelType LabelledImagePixelType
 
typedef TInput2 LabelledImageType
 
typedef itk::Array< double > ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MRFEnergyGaussianClassification Self
 
typedef MRFEnergy< TInput1, TInput2 > Superclass
 
- Public Types inherited from otb::MRFEnergy< TInput1, TInput2 >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef TInput1 InputImageType
 
typedef itk::ConstNeighborhoodIterator< InputImageTypeInputNeighborhoodIterator
 
typedef LabelledImageType::PixelType LabelledImagePixelType
 
typedef TInput2 LabelledImageType
 
typedef itk::ConstNeighborhoodIterator< LabelledImageTypeLabelledNeighborhoodIterator
 
typedef itk::Array< double > ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MRFEnergy Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
double GetSingleValue (const InputImagePixelType &value1, const LabelledImagePixelType &value2) override
 
void SetNumberOfParameters (const unsigned int nParameters) override
 
- Public Member Functions inherited from otb::MRFEnergy< TInput1, TInput2 >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual unsigned int GetNumberOfParameters () const
 
const ParametersTypeGetParameters (void) const
 
virtual double GetValue (const InputImagePixelType &value1, const LabelledImagePixelType &value2)
 
virtual double GetValue (const InputNeighborhoodIterator &it, const LabelledImagePixelType &value2)
 
virtual double GetValue (const LabelledNeighborhoodIterator &it, const LabelledImagePixelType &value2)
 
void SetParameters (const ParametersType &parameters)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::MRFEnergy< TInput1, TInput2 >
static Pointer New ()
 

Protected Member Functions

 MRFEnergyGaussianClassification ()
 
 ~MRFEnergyGaussianClassification () override
 
- Protected Member Functions inherited from otb::MRFEnergy< TInput1, TInput2 >
 MRFEnergy ()
 
 ~MRFEnergy () override
 

Additional Inherited Members

- Protected Attributes inherited from otb::MRFEnergy< TInput1, TInput2 >
unsigned int m_NumberOfParameters
 
ParametersType m_Parameters
 

Detailed Description

template<class TInput1, class TInput2>
class otb::MRFEnergyGaussianClassification< TInput1, TInput2 >

This is the implementation of the Gaussian model for Markov classification.

This is the implementation of the Gaussian Energy model for Markov classification, to be used for the fidelity term for classification. Energy is:

\[ U(x_s / y_s) = \frac{(y_s+\mu_{x_s})^2}{2\sigma^2_{x_s}}+\log{\sqrt{2\pi}\sigma_{x_s}} \]

with

Examples
Markov/MarkovClassification1Example.cxx, and Markov/MarkovClassification2Example.cxx.

Definition at line 49 of file otbMRFEnergyGaussianClassification.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInput1 , class TInput2 >
typedef itk::SmartPointer<const Self> otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::ConstPointer

Definition at line 55 of file otbMRFEnergyGaussianClassification.h.

◆ InputImagePixelType

template<class TInput1 , class TInput2 >
typedef InputImageType::PixelType otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::InputImagePixelType

Definition at line 59 of file otbMRFEnergyGaussianClassification.h.

◆ InputImageType

template<class TInput1 , class TInput2 >
typedef TInput1 otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::InputImageType

Definition at line 57 of file otbMRFEnergyGaussianClassification.h.

◆ LabelledImagePixelType

template<class TInput1 , class TInput2 >
typedef LabelledImageType::PixelType otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::LabelledImagePixelType

Definition at line 60 of file otbMRFEnergyGaussianClassification.h.

◆ LabelledImageType

template<class TInput1 , class TInput2 >
typedef TInput2 otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::LabelledImageType

Definition at line 58 of file otbMRFEnergyGaussianClassification.h.

◆ ParametersType

template<class TInput1 , class TInput2 >
typedef itk::Array<double> otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::ParametersType

Definition at line 61 of file otbMRFEnergyGaussianClassification.h.

◆ Pointer

template<class TInput1 , class TInput2 >
typedef itk::SmartPointer<Self> otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::Pointer

Definition at line 54 of file otbMRFEnergyGaussianClassification.h.

◆ Self

template<class TInput1 , class TInput2 >
typedef MRFEnergyGaussianClassification otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::Self

Definition at line 52 of file otbMRFEnergyGaussianClassification.h.

◆ Superclass

template<class TInput1 , class TInput2 >
typedef MRFEnergy<TInput1, TInput2> otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::Superclass

Definition at line 53 of file otbMRFEnergyGaussianClassification.h.

Constructor & Destructor Documentation

◆ MRFEnergyGaussianClassification()

template<class TInput1 , class TInput2 >
otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::MRFEnergyGaussianClassification ( )
inlineprotected

Definition at line 91 of file otbMRFEnergyGaussianClassification.h.

◆ ~MRFEnergyGaussianClassification()

template<class TInput1 , class TInput2 >
otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::~MRFEnergyGaussianClassification ( )
inlineoverrideprotected

Definition at line 92 of file otbMRFEnergyGaussianClassification.h.

Member Function Documentation

◆ CreateAnother()

template<class TInput1 , class TInput2 >
virtual::itk::LightObject::Pointer otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::CreateAnother ( void  ) const

◆ GetNameOfClass()

template<class TInput1 , class TInput2 >
virtual const char* otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::GetNameOfClass ( ) const
virtual

◆ GetSingleValue()

template<class TInput1 , class TInput2 >
double otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::GetSingleValue ( const InputImagePixelType value1,
const LabelledImagePixelType value2 
)
inlineoverridevirtual

Reimplemented from otb::MRFEnergy< TInput1, TInput2 >.

Definition at line 74 of file otbMRFEnergyGaussianClassification.h.

References otb::CONST_2PI.

◆ New()

template<class TInput1 , class TInput2 >
static Pointer otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::New ( )
static

◆ SetNumberOfParameters()

template<class TInput1 , class TInput2 >
void otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::SetNumberOfParameters ( const unsigned int  nParameters)
inlineoverridevirtual

Reimplemented from otb::MRFEnergy< TInput1, TInput2 >.

Definition at line 67 of file otbMRFEnergyGaussianClassification.h.


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