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

#include <otbMRFEnergyGaussian.h>

+ Inheritance diagram for otb::MRFEnergyGaussian< TInput1, TInput2 >:
+ Collaboration diagram for otb::MRFEnergyGaussian< 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 MRFEnergyGaussian 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
 
- 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)
 
virtual void SetNumberOfParameters (unsigned int _arg)
 
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

 MRFEnergyGaussian ()
 
 ~MRFEnergyGaussian () 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::MRFEnergyGaussian< TInput1, TInput2 >

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

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

\[ U(x_s, x_t) = (x_s-x_t)^2 \]

with

Examples
Markov/MarkovRestorationExample.cxx.

Definition at line 52 of file otbMRFEnergyGaussian.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 58 of file otbMRFEnergyGaussian.h.

◆ InputImagePixelType

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

Definition at line 62 of file otbMRFEnergyGaussian.h.

◆ InputImageType

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

Definition at line 60 of file otbMRFEnergyGaussian.h.

◆ LabelledImagePixelType

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

Definition at line 63 of file otbMRFEnergyGaussian.h.

◆ LabelledImageType

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

Definition at line 61 of file otbMRFEnergyGaussian.h.

◆ ParametersType

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

Definition at line 65 of file otbMRFEnergyGaussian.h.

◆ Pointer

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

Definition at line 57 of file otbMRFEnergyGaussian.h.

◆ Self

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

Definition at line 55 of file otbMRFEnergyGaussian.h.

◆ Superclass

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

Definition at line 56 of file otbMRFEnergyGaussian.h.

Constructor & Destructor Documentation

◆ MRFEnergyGaussian()

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

Definition at line 78 of file otbMRFEnergyGaussian.h.

◆ ~MRFEnergyGaussian()

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

Definition at line 83 of file otbMRFEnergyGaussian.h.

Member Function Documentation

◆ CreateAnother()

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

◆ GetNameOfClass()

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

◆ GetSingleValue()

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

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

Definition at line 71 of file otbMRFEnergyGaussian.h.

◆ New()

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

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