OTB
9.0.0
Orfeo Toolbox
|
#include <otbSOMWithMissingValue.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef MapType::DistancePointerType | DistancePointerType |
typedef MapType::DistanceType | DistanceType |
typedef MapType::IndexType | IndexType |
typedef ListSampleType::Pointer | ListSamplePointerType |
typedef TListSample | ListSampleType |
typedef MapType::Pointer | MapPointerType |
typedef TMap | MapType |
typedef MapType::PixelType | NeuronType |
typedef itk::SmartPointer< Self > | Pointer |
typedef MapType::RegionType | RegionType |
typedef SOMWithMissingValue | Self |
typedef MapType::SizeType | SizeType |
typedef PeriodicSOM< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor > | Superclass |
typedef NeuronType::ValueType | ValueType |
Public Types inherited from otb::PeriodicSOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef MapType::IndexType | IndexType |
typedef ListSampleType::Pointer | ListSamplePointerType |
typedef TListSample | ListSampleType |
typedef MapType::Pointer | MapPointerType |
typedef TMap | MapType |
typedef MapType::PixelType | NeuronType |
typedef itk::SmartPointer< Self > | Pointer |
typedef MapType::RegionType | RegionType |
typedef PeriodicSOM | Self |
typedef MapType::SizeType | SizeType |
typedef SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | Superclass |
typedef NeuronType::ValueType | ValueType |
Public Types inherited from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef MapType::IndexType | IndexType |
typedef ListSampleType::Pointer | ListSamplePointerType |
typedef TListSample | ListSampleType |
typedef MapType::Pointer | MapPointerType |
typedef TMap | MapType |
typedef MapType::PixelType | NeuronType |
typedef itk::SmartPointer< Self > | Pointer |
typedef MapType::RegionType | RegionType |
typedef SOM | Self |
typedef MapType::SizeType | SizeType |
typedef Functor::CzihoSOMLearningBehaviorFunctor | SOMLearningBehaviorFunctorType |
typedef Functor::CzihoSOMNeighborhoodBehaviorFunctor | SOMNeighborhoodBehaviorFunctorType |
typedef itk::ImageSource< TMap > | Superclass |
typedef NeuronType::ValueType | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::PeriodicSOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | SetNumberOfIterations (unsigned int _arg) |
virtual unsigned int | GetNumberOfIterations () |
virtual void | SetBetaInit (double _arg) |
virtual double | GetBetaInit () |
virtual void | SetBetaEnd (double _arg) |
virtual double | GetBetaEnd () |
virtual void | SetMinWeight (ValueType _arg) |
virtual ValueType | GetMinWeight () |
virtual void | SetMaxWeight (ValueType _arg) |
virtual ValueType | GetMaxWeight () |
virtual void | SetMapSize (SizeType _arg) |
virtual SizeType | GetMapSize () |
virtual void | SetNeighborhoodSizeInit (SizeType _arg) |
virtual SizeType | GetNeighborhoodSizeInit () |
virtual void | SetRandomInit (bool _arg) |
virtual bool | GetRandomInit () |
virtual void | SetSeed (unsigned int _arg) |
virtual unsigned int | GetSeed () |
itkGetObjectMacro (ListSample, ListSampleType) | |
virtual void | SetListSample (ListSampleType *_arg) |
void | SetBetaFunctor (const SOMLearningBehaviorFunctorType &functor) |
void | SetNeighborhoodSizeFunctor (const SOMNeighborhoodBehaviorFunctorType &functor) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::PeriodicSOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
static Pointer | New () |
Static Public Member Functions inherited from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
static Pointer | New () |
Protected Member Functions | |
void | AllocateOutputs () override |
void | GenerateData (void) override |
void | GenerateOutputInformation () override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
SOMWithMissingValue () | |
void | Step (unsigned int currentIteration) override |
void | UpdateMap (const NeuronType &sample, double beta, SizeType &radius) override |
~SOMWithMissingValue () override | |
Protected Member Functions inherited from otb::PeriodicSOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
void | AllocateOutputs () override |
void | GenerateData (void) override |
void | GenerateOutputInformation () override |
PeriodicSOM () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | Step (unsigned int currentIteration) override |
void | UpdateMap (const NeuronType &sample, double beta, SizeType &radius) override |
~PeriodicSOM () override | |
Protected Member Functions inherited from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
SOM () | |
~SOM () override | |
void | GenerateOutputInformation () override |
void | AllocateOutputs () override |
void | GenerateData (void) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Private Member Functions | |
void | operator= (const Self &)=delete |
SOMWithMissingValue (const Self &)=delete | |
Additional Inherited Members | |
Static Public Attributes inherited from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor > | |
static const unsigned int | MapDimension |
This class implements SOM training with missing value.
The distance between vectors that may have missing components is holded by the EuclideanDistanceMetricWithMissingValue class in the SOMMap distance template. Nevertheless, this class re-implements the UpdateMap method to adapt the evaluation of each component of the 'newNeuron' when dealing with missing values.
TMap has to be templeted with EuclideanDistanceMetricWithMissingValuePow2
Definition at line 49 of file otbSOMWithMissingValue.h.
typedef itk::SmartPointer<const Self> otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::ConstPointer |
Definition at line 57 of file otbSOMWithMissingValue.h.
typedef MapType::DistancePointerType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::DistancePointerType |
Definition at line 70 of file otbSOMWithMissingValue.h.
typedef MapType::DistanceType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::DistanceType |
Definition at line 69 of file otbSOMWithMissingValue.h.
typedef MapType::IndexType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::IndexType |
Definition at line 65 of file otbSOMWithMissingValue.h.
typedef ListSampleType::Pointer otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::ListSamplePointerType |
Definition at line 60 of file otbSOMWithMissingValue.h.
typedef TListSample otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::ListSampleType |
Definition at line 59 of file otbSOMWithMissingValue.h.
typedef MapType::Pointer otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::MapPointerType |
Definition at line 68 of file otbSOMWithMissingValue.h.
typedef TMap otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::MapType |
Definition at line 62 of file otbSOMWithMissingValue.h.
typedef MapType::PixelType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::NeuronType |
Definition at line 63 of file otbSOMWithMissingValue.h.
typedef itk::SmartPointer<Self> otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::Pointer |
Definition at line 56 of file otbSOMWithMissingValue.h.
typedef MapType::RegionType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::RegionType |
Definition at line 67 of file otbSOMWithMissingValue.h.
typedef SOMWithMissingValue otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::Self |
Standard typedefs
Definition at line 54 of file otbSOMWithMissingValue.h.
typedef MapType::SizeType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::SizeType |
Definition at line 66 of file otbSOMWithMissingValue.h.
typedef PeriodicSOM<TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor> otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::Superclass |
Definition at line 55 of file otbSOMWithMissingValue.h.
typedef NeuronType::ValueType otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::ValueType |
Definition at line 64 of file otbSOMWithMissingValue.h.
|
protected |
Constructor
Definition at line 34 of file otbSOMWithMissingValue.hxx.
|
overrideprotected |
Destructor
Definition at line 39 of file otbSOMWithMissingValue.hxx.
|
privatedelete |
|
inlineoverrideprotected |
Output allocation redefinition
Definition at line 92 of file otbSOMWithMissingValue.h.
virtual::itk::LightObject::Pointer otb::SOMWithMissingValue< TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor >::CreateAnother | ( | void | ) | const |
|
inlineoverrideprotected |
Main computation method
Definition at line 98 of file otbSOMWithMissingValue.h.
|
inlineoverrideprotected |
Output information redefinition
Definition at line 86 of file otbSOMWithMissingValue.h.
|
virtual |
Runtime information macro
|
static |
Creation through object factory macro
|
privatedelete |
|
overrideprotected |
PrintSelf method
Definition at line 108 of file otbSOMWithMissingValue.hxx.
|
inlineoverrideprotectedvirtual |
Step one iteration.
Reimplemented from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor >.
Definition at line 109 of file otbSOMWithMissingValue.h.
|
overrideprotectedvirtual |
Update the output map with a new sample, depending on the availability of the data
Update the output map with a new sample by including the case when some components of this new sample may be missing.
sample | The new sample to learn, |
beta | The learning coefficient, |
radius | The radius of the nieghbourhood. |
Reimplemented from otb::SOM< TListSample, TMap, Functor::CzihoSOMLearningBehaviorFunctor, Functor::CzihoSOMNeighborhoodBehaviorFunctor >.
Definition at line 51 of file otbSOMWithMissingValue.hxx.