OTB
9.0.0
Orfeo Toolbox
|
#include <otbMRFSamplerRandomMAP.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::EnergyFidelityPointer | EnergyFidelityPointer |
typedef Superclass::EnergyFidelityType | EnergyFidelityType |
typedef Superclass::EnergyRegularizationPointer | EnergyRegularizationPointer |
typedef Superclass::EnergyRegularizationType | EnergyRegularizationType |
typedef Superclass::InputImageNeighborhoodIterator | InputImageNeighborhoodIterator |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::LabelledImageNeighborhoodIterator | LabelledImageNeighborhoodIterator |
typedef Superclass::LabelledImagePixelType | LabelledImagePixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator | RandomGeneratorType |
typedef MRFSamplerRandomMAP | Self |
typedef otb::MRFSampler< TInput1, TInput2 > | Superclass |
Public Types inherited from otb::MRFSampler< TInput1, TInput2 > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef EnergyFidelityType::Pointer | EnergyFidelityPointer |
typedef MRFEnergy< TInput1, TInput2 > | EnergyFidelityType |
typedef EnergyRegularizationType::Pointer | EnergyRegularizationPointer |
typedef MRFEnergy< TInput2, TInput2 > | EnergyRegularizationType |
typedef itk::ConstNeighborhoodIterator< TInput1 > | InputImageNeighborhoodIterator |
typedef TInput1::PixelType | InputImagePixelType |
typedef itk::NeighborhoodIterator< TInput2 > | LabelledImageNeighborhoodIterator |
typedef TInput2::PixelType | LabelledImagePixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef MRFSampler | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
int | Compute (const InputImageNeighborhoodIterator &itData, const LabelledImageNeighborhoodIterator &itRegul) override |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetNumberOfClasses (const unsigned int nClasses) override |
Public Member Functions inherited from otb::MRFSampler< TInput1, TInput2 > | |
virtual double | GetDeltaEnergy () |
virtual double | GetEnergyAfter () const |
virtual double | GetEnergyBefore () const |
virtual double | GetLambda () |
virtual unsigned int | GetNumberOfClasses () |
virtual LabelledImagePixelType | GetValue () |
virtual void | SetEnergyFidelity (EnergyFidelityType *_arg) |
virtual void | SetEnergyRegularization (EnergyRegularizationType *_arg) |
virtual void | SetLambda (double _arg) |
Static Public Member Functions | |
static Pointer | New () |
double * | m_RepartitionFunction |
double * | m_Energy |
bool | m_EnergiesInvalid |
RandomGeneratorType::Pointer | m_Generator |
void | InitializeSeed (int seed) |
void | InitializeSeed () |
MRFSamplerRandomMAP () | |
~MRFSamplerRandomMAP () override | |
Additional Inherited Members | |
Protected Member Functions inherited from otb::MRFSampler< TInput1, TInput2 > | |
MRFSampler () | |
~MRFSampler () override | |
Protected Attributes inherited from otb::MRFSampler< TInput1, TInput2 > | |
double | m_DeltaEnergy |
double | m_EnergyAfter |
double | m_EnergyBefore |
double | m_EnergyCurrent |
EnergyFidelityPointer | m_EnergyFidelity |
EnergyRegularizationPointer | m_EnergyRegularization |
double | m_Lambda |
unsigned int | m_NumberOfClasses |
LabelledImagePixelType | m_Value |
LabelledImagePixelType | m_ValueCurrent |
This is the base class for sampler methods used in the MRF framework.
This is one sampler to be used int he MRF framework. This sampler select the value randomly according to the apriori probability.
The probability is defined from the energy as:
where
This class is meant to be used in the MRF framework with the otb::MarkovRandomFieldFilter
Definition at line 53 of file otbMRFSamplerRandomMAP.h.
typedef itk::SmartPointer<const Self> otb::MRFSamplerRandomMAP< TInput1, TInput2 >::ConstPointer |
Definition at line 59 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::EnergyFidelityPointer otb::MRFSamplerRandomMAP< TInput1, TInput2 >::EnergyFidelityPointer |
Definition at line 67 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::EnergyFidelityType otb::MRFSamplerRandomMAP< TInput1, TInput2 >::EnergyFidelityType |
Definition at line 65 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::EnergyRegularizationPointer otb::MRFSamplerRandomMAP< TInput1, TInput2 >::EnergyRegularizationPointer |
Definition at line 68 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::EnergyRegularizationType otb::MRFSamplerRandomMAP< TInput1, TInput2 >::EnergyRegularizationType |
Definition at line 66 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::InputImageNeighborhoodIterator otb::MRFSamplerRandomMAP< TInput1, TInput2 >::InputImageNeighborhoodIterator |
Definition at line 61 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::InputImagePixelType otb::MRFSamplerRandomMAP< TInput1, TInput2 >::InputImagePixelType |
Definition at line 64 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::LabelledImageNeighborhoodIterator otb::MRFSamplerRandomMAP< TInput1, TInput2 >::LabelledImageNeighborhoodIterator |
Definition at line 62 of file otbMRFSamplerRandomMAP.h.
typedef Superclass::LabelledImagePixelType otb::MRFSamplerRandomMAP< TInput1, TInput2 >::LabelledImagePixelType |
Definition at line 63 of file otbMRFSamplerRandomMAP.h.
typedef itk::SmartPointer<Self> otb::MRFSamplerRandomMAP< TInput1, TInput2 >::Pointer |
Definition at line 58 of file otbMRFSamplerRandomMAP.h.
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator otb::MRFSamplerRandomMAP< TInput1, TInput2 >::RandomGeneratorType |
Definition at line 69 of file otbMRFSamplerRandomMAP.h.
typedef MRFSamplerRandomMAP otb::MRFSamplerRandomMAP< TInput1, TInput2 >::Self |
Definition at line 56 of file otbMRFSamplerRandomMAP.h.
typedef otb::MRFSampler<TInput1, TInput2> otb::MRFSamplerRandomMAP< TInput1, TInput2 >::Superclass |
Definition at line 57 of file otbMRFSamplerRandomMAP.h.
|
inlineprotected |
Methods to cancel random effects.
Definition at line 156 of file otbMRFSamplerRandomMAP.h.
|
inlineoverrideprotected |
Methods to cancel random effects.
Definition at line 161 of file otbMRFSamplerRandomMAP.h.
|
inlineoverridevirtual |
Implements otb::MRFSampler< TInput1, TInput2 >.
Definition at line 90 of file otbMRFSamplerRandomMAP.h.
virtual::itk::LightObject::Pointer otb::MRFSamplerRandomMAP< TInput1, TInput2 >::CreateAnother | ( | void | ) | const |
|
virtual |
Reimplemented from otb::MRFSampler< TInput1, TInput2 >.
|
inline |
Methods to cancel random effects.
Definition at line 148 of file otbMRFSamplerRandomMAP.h.
|
inline |
Methods to cancel random effects.
Definition at line 144 of file otbMRFSamplerRandomMAP.h.
|
static |
|
inlineoverridevirtual |
Reimplemented from otb::MRFSampler< TInput1, TInput2 >.
Definition at line 75 of file otbMRFSamplerRandomMAP.h.
|
private |
Methods to cancel random effects.
Definition at line 172 of file otbMRFSamplerRandomMAP.h.
|
private |
Methods to cancel random effects.
Definition at line 171 of file otbMRFSamplerRandomMAP.h.
|
private |
Methods to cancel random effects.
Definition at line 173 of file otbMRFSamplerRandomMAP.h.
|
private |
Methods to cancel random effects.
Definition at line 170 of file otbMRFSamplerRandomMAP.h.