OTB  6.7.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 Self
ConstPointer
 
typedef itk::Array< double > ParametersType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MRFOptimizer Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

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)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Protected Member Functions

 MRFOptimizer ()
 
 ~MRFOptimizer () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

unsigned int m_NumberOfParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

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

Definition at line 49 of file otbMRFOptimizer.h.

Definition at line 50 of file otbMRFOptimizer.h.

Definition at line 48 of file otbMRFOptimizer.h.

Definition at line 46 of file otbMRFOptimizer.h.

Definition at line 47 of file otbMRFOptimizer.h.

Constructor & Destructor Documentation

otb::MRFOptimizer::MRFOptimizer ( )
inlineprotected

Definition at line 76 of file otbMRFOptimizer.h.

otb::MRFOptimizer::~MRFOptimizer ( )
inlineoverrideprotected

Definition at line 79 of file otbMRFOptimizer.h.

Member Function Documentation

virtual bool otb::MRFOptimizer::Compute ( double  deltaEnergy)
pure virtual
virtual const char* otb::MRFOptimizer::GetNameOfClass ( ) const
virtual

Reimplemented from itk::Object.

Reimplemented in otb::MRFOptimizerMetropolis, and otb::MRFOptimizerICM.

virtual unsigned int otb::MRFOptimizer::GetNumberOfParameters ( ) const
virtual
const ParametersType& otb::MRFOptimizer::GetParameters ( void  ) const
inline

Definition at line 57 of file otbMRFOptimizer.h.

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

Definition at line 62 of file otbMRFOptimizer.h.

References itk::Array< TValue >::GetSize().

Member Data Documentation

unsigned int otb::MRFOptimizer::m_NumberOfParameters
protected

Definition at line 80 of file otbMRFOptimizer.h.

ParametersType otb::MRFOptimizer::m_Parameters
protected

Definition at line 81 of file otbMRFOptimizer.h.


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