OTB
9.0.0
Orfeo Toolbox
|
#include <otbMRFOptimizerMetropolis.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::ParametersType | ParametersType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator | RandomGeneratorType |
typedef MRFOptimizerMetropolis | Self |
typedef MRFOptimizer | Superclass |
Public Types inherited from otb::MRFOptimizer | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::Array< double > | ParametersType |
typedef itk::SmartPointer< Self > | Pointer |
typedef MRFOptimizer | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::MRFOptimizer | |
virtual unsigned int | GetNumberOfParameters () const |
const ParametersType & | GetParameters (void) const |
virtual void | SetParameters (const ParametersType ¶meters) |
Static Public Member Functions | |
static Pointer | New () |
RandomGeneratorType::Pointer | m_Generator |
void | SetSingleParameter (double parameterVal) |
bool | Compute (double deltaEnergy) override |
void | InitializeSeed (int seed) |
void | InitializeSeed () |
MRFOptimizerMetropolis () | |
~MRFOptimizerMetropolis () override | |
Additional Inherited Members | |
Protected Member Functions inherited from otb::MRFOptimizer | |
MRFOptimizer () | |
~MRFOptimizer () override | |
Protected Attributes inherited from otb::MRFOptimizer | |
unsigned int | m_NumberOfParameters |
ParametersType | m_Parameters |
This is the optimizer class implementing the Metropolis algorithm.
This is one optimizer to be used in the MRF framework. This optimizer follows the metropolis algorithm to accept of reject the value proposed by the sampler.
The MRFOptimizerMetropolis has one parameter corresponding to the temperature T used to accept or reject proposed values. The proposed value is accepted with a probability:
This class is meant to be used in the MRF framework with the otb::MarkovRandomFieldFilter
Definition at line 51 of file otbMRFOptimizerMetropolis.h.
typedef itk::SmartPointer<const Self> otb::MRFOptimizerMetropolis::ConstPointer |
Definition at line 57 of file otbMRFOptimizerMetropolis.h.
typedef Superclass::ParametersType otb::MRFOptimizerMetropolis::ParametersType |
Definition at line 58 of file otbMRFOptimizerMetropolis.h.
typedef itk::SmartPointer<Self> otb::MRFOptimizerMetropolis::Pointer |
Definition at line 56 of file otbMRFOptimizerMetropolis.h.
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator otb::MRFOptimizerMetropolis::RandomGeneratorType |
Definition at line 60 of file otbMRFOptimizerMetropolis.h.
Definition at line 54 of file otbMRFOptimizerMetropolis.h.
Definition at line 55 of file otbMRFOptimizerMetropolis.h.
|
inlineprotected |
Set parameter to a one array filled with paramVal.
Definition at line 108 of file otbMRFOptimizerMetropolis.h.
|
inlineoverrideprotected |
Set parameter to a one array filled with paramVal.
Definition at line 116 of file otbMRFOptimizerMetropolis.h.
|
inlineoverridevirtual |
Set parameter to a one array filled with paramVal.
Implements otb::MRFOptimizer.
Definition at line 75 of file otbMRFOptimizerMetropolis.h.
virtual::itk::LightObject::Pointer otb::MRFOptimizerMetropolis::CreateAnother | ( | void | ) | const |
|
virtual |
Reimplemented from otb::MRFOptimizer.
|
inline |
Set parameter to a one array filled with paramVal.
Definition at line 101 of file otbMRFOptimizerMetropolis.h.
|
inline |
Methods to cancel random effects.
Definition at line 97 of file otbMRFOptimizerMetropolis.h.
|
static |
|
inline |
Set parameter to a one array filled with paramVal.
Definition at line 67 of file otbMRFOptimizerMetropolis.h.
|
protected |
Set parameter to a one array filled with paramVal.
Definition at line 119 of file otbMRFOptimizerMetropolis.h.