OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
otb::MRFOptimizer Class Referenceabstract

#include <otbMRFOptimizer.h>

+ Inheritance diagram for otb::MRFOptimizer:
+ Collaboration diagram for otb::MRFOptimizer:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Array< double > ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MRFOptimizer Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual bool Compute (double deltaEnergy)=0
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfParameters () const
 
const ParametersTypeGetParameters (void) const
 
virtual void SetParameters (const ParametersType &parameters)
 

Protected Member Functions

 MRFOptimizer ()
 
 ~MRFOptimizer () override
 

Protected Attributes

unsigned int m_NumberOfParameters
 
ParametersType m_Parameters
 

Detailed Description

This is the base class for optimizer used in the MRF framework.

Derived class must reimplement Compute() method.

This class is meant to be used in the MRF framework with the otb::MarkovRandomFieldFilter

Definition at line 43 of file otbMRFOptimizer.h.

Member Typedef Documentation

◆ ConstPointer

typedef itk::SmartPointer<const Self> otb::MRFOptimizer::ConstPointer

Definition at line 49 of file otbMRFOptimizer.h.

◆ ParametersType

typedef itk::Array<double> otb::MRFOptimizer::ParametersType

Definition at line 50 of file otbMRFOptimizer.h.

◆ Pointer

typedef itk::SmartPointer<Self> otb::MRFOptimizer::Pointer

Definition at line 48 of file otbMRFOptimizer.h.

◆ Self

Definition at line 46 of file otbMRFOptimizer.h.

◆ Superclass

typedef itk::Object otb::MRFOptimizer::Superclass

Definition at line 47 of file otbMRFOptimizer.h.

Constructor & Destructor Documentation

◆ MRFOptimizer()

otb::MRFOptimizer::MRFOptimizer ( )
inlineprotected

Definition at line 75 of file otbMRFOptimizer.h.

◆ ~MRFOptimizer()

otb::MRFOptimizer::~MRFOptimizer ( )
inlineoverrideprotected

Definition at line 78 of file otbMRFOptimizer.h.

Member Function Documentation

◆ Compute()

virtual bool otb::MRFOptimizer::Compute ( double  deltaEnergy)
pure virtual

◆ GetNameOfClass()

virtual const char* otb::MRFOptimizer::GetNameOfClass ( ) const
virtual

◆ GetNumberOfParameters()

virtual unsigned int otb::MRFOptimizer::GetNumberOfParameters ( ) const
virtual

◆ GetParameters()

const ParametersType& otb::MRFOptimizer::GetParameters ( void  ) const
inline

Definition at line 57 of file otbMRFOptimizer.h.

◆ SetParameters()

virtual void otb::MRFOptimizer::SetParameters ( const ParametersType parameters)
inlinevirtual

Definition at line 62 of file otbMRFOptimizer.h.

Member Data Documentation

◆ m_NumberOfParameters

unsigned int otb::MRFOptimizer::m_NumberOfParameters
protected

Definition at line 81 of file otbMRFOptimizer.h.

◆ m_Parameters

ParametersType otb::MRFOptimizer::m_Parameters
protected

Definition at line 82 of file otbMRFOptimizer.h.


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