OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor > Class Template Reference

#include <otbSVMSampleListModelEstimator.h>

+ Inheritance diagram for otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >:
+ Collaboration diagram for otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
TInputSampleList::ConstIterator 
InputSampleListIteratorType
 
typedef TInputSampleList::Pointer InputSampleListPointer
 
typedef TInputSampleList InputSampleListType
 
typedef TInputSampleList::ValueType InputSampleListValueType
 
typedef TMeasurementFunctor MeasurementFunctorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef SVMSampleListModelEstimator Self
 
typedef SVMModelEstimator
< typename
TInputSampleList::MeasurementType,
typename
TTrainingSampleList::MeasurementType > 
Superclass
 
typedef
TTrainingSampleList::ConstIterator 
TrainingSampleListIteratorType
 
typedef
TTrainingSampleList::Pointer 
TrainingSampleListPointer
 
typedef TTrainingSampleList TrainingSampleListType
 
typedef
TTrainingSampleList::ValueType 
TrainingSampleListValueType
 
- Public Types inherited from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef SVMModel
< TInputSampleList::MeasurementType,
TTrainingSampleList::MeasurementType > 
ModelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef SVMModelEstimator Self
 
typedef itk::ProcessObject Superclass
 
typedef SVMModelType::Pointer SVMModelPointer
 
typedef SVMModel
< TInputSampleList::MeasurementType,
TTrainingSampleList::MeasurementType > 
SVMModelType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef 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 ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetInputSampleList (const InputSampleListType *inputSampleList)
 
const InputSampleListTypeGetInputSampleList ()
 
void SetTrainingSampleList (const TrainingSampleListType *trainingSampleList)
 
const TrainingSampleListTypeGetTrainingSampleList ()
 
- Public Member Functions inherited from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
double GetC (void)
 
int GetCacheSize (void)
 
bool GetDoProbabilityEstimates (void)
 
bool GetDoShrinking (void)
 
double GetEpsilon (void)
 
double GetKernelCoef0 (void)
 
double GetKernelGamma (void)
 
int GetKernelType (void)
 
ModelTypeGetModel ()
 
const ModelTypeGetModel () const
 
double GetNu (void)
 
unsigned int GetNumberOfClasses ()
 
double GetP (void)
 
int GetPolynomialKernelDegree (void)
 
int GetSVMType (void)
 
void SetKernelGamma (double gamma)
 
void SetP (double p)
 
virtual double GetInitialCrossValidationAccuracy ()
 
virtual double GetFinalCrossValidationAccuracy ()
 
virtual void SetParametersOptimization (bool _arg)
 
virtual bool GetParametersOptimization ()
 
virtual void ParametersOptimizationOn ()
 
virtual void ParametersOptimizationOff ()
 
virtual void SetCoarseOptimizationNumberOfSteps (unsigned int _arg)
 
virtual unsigned int GetCoarseOptimizationNumberOfSteps ()
 
virtual void SetFineOptimizationNumberOfSteps (unsigned int _arg)
 
virtual unsigned int GetFineOptimizationNumberOfSteps ()
 
virtual void SetNumberOfCrossValidationFolders (unsigned int _arg)
 
virtual unsigned int GetNumberOfCrossValidationFolders ()
 
void SetSVMType (int svmtype)
 
void SetKernelType (int kerneltype)
 
void SetPolynomialKernelDegree (int degree)
 
void SetKernelCoef0 (double coef0)
 
void SetNu (double nu)
 
void SetCacheSize (int cSize)
 
void SetC (double c)
 
void SetEpsilon (double eps)
 
void DoShrinking (bool s)
 
void DoProbabilityEstimates (bool prob)
 
virtual void SaveModel (const char *fname)
 
virtual void SaveModel (const std::string &fname)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
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 ITK_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) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >
static Pointer New ()
 
- 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 ()
 

Protected Member Functions

virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
 SVMSampleListModelEstimator ()
 
virtual ~SVMSampleListModelEstimator ()
 
virtual void PrepareData ()
 
- Protected Member Functions inherited from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >
void GenerateData ()
 
void OptimizeParameters ()
 
 SVMModelEstimator ()
 
virtual ~SVMModelEstimator ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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 ()
 

Private Member Functions

void operator= (const Self &)
 
 SVMSampleListModelEstimator (const Self &)
 

Private Attributes

InputSampleListPointer m_InputSampleList
 
TrainingSampleListPointer m_TrainingSampleList
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >
unsigned int m_NumberOfClasses
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TInputSampleList, class TTrainingSampleList, class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
class otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >

Class for SVM model estimation from SampleLists used for classification.

The basic functionality of the SVMSampleListModelEstimator is to generate the models used in SVM classification. It requires one input poinset and a training pointset to be provided by the user. This object supports data handling of multiband data. The object accepts the input image as a VectorImage only, where each pixel is a vector and each element of the vector corresponds to an entry from 1 particular band of a multiband dataset. A single band data set is treated as a vector with a single element for every vector. The classified data is treated as a single band scalar data.

Deprecated:
See Also
MachineLearningModel
LibSVMMachineLearningModel
ImageClassificationFilter

Definition at line 117 of file otbSVMSampleListModelEstimator.h.

Member Typedef Documentation

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef itk::SmartPointer<const Self> otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::ConstPointer

Definition at line 129 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TInputSampleList::ConstIterator otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::InputSampleListIteratorType

Type definitions for the iterators for the input and training images.

Definition at line 155 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TInputSampleList::Pointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::InputSampleListPointer

Definition at line 139 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TInputSampleList otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::InputSampleListType

Type definition for the input image.

Definition at line 135 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TInputSampleList::ValueType otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::InputSampleListValueType

Type definition for the vector associated with input image pixel type.

Definition at line 147 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TMeasurementFunctor otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::MeasurementFunctorType

Measurement functor typedef

Definition at line 160 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef itk::SmartPointer<Self> otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::Pointer

Definition at line 128 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef SVMSampleListModelEstimator otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::Self

Standard class typedefs.

Definition at line 123 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef SVMModelEstimator<typename TInputSampleList::MeasurementType, typename TTrainingSampleList::MeasurementType> otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::Superclass

Definition at line 126 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TTrainingSampleList::ConstIterator otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::TrainingSampleListIteratorType

Definition at line 157 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TTrainingSampleList::Pointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::TrainingSampleListPointer

Definition at line 143 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TTrainingSampleList otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::TrainingSampleListType

Type definitions for the training image.

Definition at line 142 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
typedef TTrainingSampleList::ValueType otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::TrainingSampleListValueType

Type definitions for the vector holding training image pixel type.

Definition at line 151 of file otbSVMSampleListModelEstimator.h.

Constructor & Destructor Documentation

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::SVMSampleListModelEstimator ( void  )
protected

Constructor

Definition at line 31 of file otbSVMSampleListModelEstimator.txx.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::~SVMSampleListModelEstimator ( void  )
protectedvirtual

Destructor

Definition at line 40 of file otbSVMSampleListModelEstimator.txx.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::SVMSampleListModelEstimator ( const Self )
private

Member Function Documentation

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
virtual::itk::LightObject::Pointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
const SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::InputSampleListType * otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::GetInputSampleList ( )

Get the input image.

Definition at line 78 of file otbSVMSampleListModelEstimator.txx.

References itk::ProcessObject::GetInput().

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
virtual const char* otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
const SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::TrainingSampleListType * otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::GetTrainingSampleList ( )

Get the training image.

Definition at line 97 of file otbSVMSampleListModelEstimator.txx.

References itk::ProcessObject::GetInput().

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
static Pointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::New ( )
static

Method for creation through the object factory.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
void otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::operator= ( const Self )
private
template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
void otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::PrepareData ( )
protectedvirtual

PrepareData method

Generate data (start the model building process)

Reimplemented from otb::SVMModelEstimator< TInputSampleList::MeasurementType, TTrainingSampleList::MeasurementType >.

Definition at line 128 of file otbSVMSampleListModelEstimator.txx.

References otbMsgDebugMacro.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
void otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual
template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
void otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::SetInputSampleList ( const InputSampleListType inputSampleList)

Set the input image.

Definition at line 49 of file otbSVMSampleListModelEstimator.txx.

References itk::ProcessObject::SetNthInput().

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor >
void otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::SetTrainingSampleList ( const TrainingSampleListType trainingSampleList)

Set the training image.

Definition at line 63 of file otbSVMSampleListModelEstimator.txx.

References itk::ProcessObject::SetNthInput().

Member Data Documentation

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
InputSampleListPointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::m_InputSampleList
private

Definition at line 200 of file otbSVMSampleListModelEstimator.h.

template<class TInputSampleList , class TTrainingSampleList , class TMeasurementFunctor = Functor::VectorToMeasurementVectorFunctor<typename TInputSampleList::MeasurementVectorType>>
TrainingSampleListPointer otb::SVMSampleListModelEstimator< TInputSampleList, TTrainingSampleList, TMeasurementFunctor >::m_TrainingSampleList
private

Definition at line 199 of file otbSVMSampleListModelEstimator.h.


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