OTB  6.7.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::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor > Class Template Reference

#include <otbLabelMapToSampleListFilter.h>

+ Inheritance diagram for otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >:
+ Collaboration diagram for otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >:

Public Types

typedef
InputLabelMapType::ConstIterator 
ConstIteratorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef
Superclass::DataObjectPointer 
DataObjectPointerType
 
typedef
InputLabelMapType::ConstPointer 
InputLabelMapConstPointerType
 
typedef TInputLabelMap InputLabelMapType
 
typedef
InputLabelMapType::LabelObjectType 
LabelObjectType
 
typedef TMeasurementFunctor MeasurementFunctorType
 
typedef
OutputSampleListType::MeasurementVectorType 
MeasurementVectorType
 
typedef
OutputSampleListType::Pointer 
OutputSampleListPointerType
 
typedef TOutputSampleList OutputSampleListType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LabelMapToSampleListFilter Self
 
typedef itk::ProcessObject Superclass
 
- 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
 
MeasurementFunctorTypeGetMeasurementFunctor ()
 
virtual const char * GetNameOfClass () const
 
const OutputSampleListTypeGetOutputSampleList ()
 
void SetMeasurementFunctor (const MeasurementFunctorType &functor)
 
void SetInputLabelMap (const InputLabelMapType *inputLabelMap)
 
const InputLabelMapTypeGetInputLabelMap () const
 
- 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 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 () 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
 

Static Public Member Functions

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

void GenerateData () override
 
 LabelMapToSampleListFilter ()
 
DataObjectPointerType MakeOutput (DataObjectPointerArraySizeType idx) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~LabelMapToSampleListFilter () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
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 RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(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

 LabelMapToSampleListFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

MeasurementFunctorType m_MeasurementFunctor
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
class otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >

This class converts a LabelObjectMap to a SampleList for learning and classification.

The conversion from label object to measurement vector is made through a functor. This allows supporting any kind of LabelObject via proper redefinition of the functor.

Definition at line 46 of file otbLabelMapToSampleListFilter.h.

Member Typedef Documentation

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef InputLabelMapType::ConstIterator otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::ConstIteratorType

Definition at line 66 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef itk::SmartPointer<const Self> otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::ConstPointer

Definition at line 53 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::DataObjectPointerArraySizeType

Definition at line 77 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef Superclass::DataObjectPointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::DataObjectPointerType

DataObject typedef

Definition at line 76 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef InputLabelMapType::ConstPointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::InputLabelMapConstPointerType

Definition at line 63 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef TInputLabelMap otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::InputLabelMapType

template typedefs

Definition at line 59 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef InputLabelMapType::LabelObjectType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::LabelObjectType

Definition at line 64 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef TMeasurementFunctor otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::MeasurementFunctorType

Definition at line 73 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef OutputSampleListType ::MeasurementVectorType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::MeasurementVectorType

Definition at line 71 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef OutputSampleListType::Pointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::OutputSampleListPointerType

Definition at line 69 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef TOutputSampleList otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::OutputSampleListType

Definition at line 68 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef itk::SmartPointer<Self> otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Pointer

Definition at line 52 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef LabelMapToSampleListFilter otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Self

Standard class typedefs.

Definition at line 50 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
typedef itk::ProcessObject otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::Superclass

Definition at line 51 of file otbLabelMapToSampleListFilter.h.

Constructor & Destructor Documentation

template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::LabelMapToSampleListFilter ( )
protected
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::~LabelMapToSampleListFilter ( )
overrideprotected

Definition at line 41 of file otbLabelMapToSampleListFilter.hxx.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::LabelMapToSampleListFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
virtual::itk::LightObject::Pointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::CreateAnother ( void  ) const
virtual
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::GenerateData ( void  )
overrideprotectedvirtual
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
const LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::InputLabelMapType * otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::GetInputLabelMap ( ) const

Set/Get the input label map

Definition at line 72 of file otbLabelMapToSampleListFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
MeasurementFunctorType& otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::GetMeasurementFunctor ( )
inline

Definition at line 93 of file otbLabelMapToSampleListFilter.h.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
virtual const char* otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::GetNameOfClass ( ) const
virtual
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
const LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::OutputSampleListType * otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::GetOutputSampleList ( )

Get the output SampleList

Definition at line 88 of file otbLabelMapToSampleListFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::DataObjectPointerType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overrideprotectedvirtual
template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
static Pointer otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::New ( )
static

Method for creation through the object factory.

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::operator= ( const Self )
privatedelete
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual
template<class TInputLabelMap , class TOutputListSample , class TMeasurementFunctor >
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputListSample, TMeasurementFunctor >::SetInputLabelMap ( const InputLabelMapType inputLabelMap)

Set/Get the input label map

Definition at line 60 of file otbLabelMapToSampleListFilter.hxx.

References itk::ProcessObject::SetNthInput().

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
void otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::SetMeasurementFunctor ( const MeasurementFunctorType functor)
inline

Get a hook on the functor for settings

Definition at line 88 of file otbLabelMapToSampleListFilter.h.

Member Data Documentation

template<class TInputLabelMap, class TOutputSampleList, class TMeasurementFunctor = Functor::AttributesMapMeasurementFunctor <typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType >>
MeasurementFunctorType otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor >::m_MeasurementFunctor
private

The functor used to build the measurement vector

Definition at line 115 of file otbLabelMapToSampleListFilter.h.


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