OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelMapWithClassLabelToLabeledSampleListFilter.h>
Public Types | |
typedef InputLabelMapType::ConstIterator | ConstIteratorType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef Superclass::DataObjectPointerType | 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 OutputTrainingSampleListType::Pointer | OutputTrainingSampleListPointerType |
typedef TOutputTrainingSampleList | OutputTrainingSampleListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapWithClassLabelToLabeledSampleListFilter | Self |
typedef LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, TMeasurementFunctor > | Superclass |
typedef OutputTrainingSampleListType::MeasurementVectorType | TraningVectorType |
Public Types inherited from otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, Functor::AttributesMapMeasurementFunctor< typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType > > | |
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 Functor::AttributesMapMeasurementFunctor< typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType > | MeasurementFunctorType |
typedef OutputSampleListType::MeasurementVectorType | MeasurementVectorType |
typedef OutputSampleListType::Pointer | OutputSampleListPointerType |
typedef TOutputSampleList | OutputSampleListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapToSampleListFilter | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
MeasurementFunctorType & | GetMeasurementFunctor () |
virtual const char * | GetNameOfClass () const |
const OutputTrainingSampleListType * | GetOutputTrainingSampleList () |
void | SetMeasurementFunctor (const MeasurementFunctorType &functor) |
Public Member Functions inherited from otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, Functor::AttributesMapMeasurementFunctor< typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType > > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetInputLabelMap (const InputLabelMapType *inputLabelMap) |
const InputLabelMapType * | GetInputLabelMap () const |
const OutputSampleListType * | GetOutputSampleList () |
void | SetMeasurementFunctor (const MeasurementFunctorType &functor) |
MeasurementFunctorType & | GetMeasurementFunctor () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, Functor::AttributesMapMeasurementFunctor< typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType > > | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData () override |
LabelMapWithClassLabelToLabeledSampleListFilter () | |
DataObjectPointerType | MakeOutput (DataObjectPointerArraySizeType idx) override |
DataObjectPointerType | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~LabelMapWithClassLabelToLabeledSampleListFilter () override | |
Protected Member Functions inherited from otb::LabelMapToSampleListFilter< TInputLabelMap, TOutputSampleList, Functor::AttributesMapMeasurementFunctor< typename TInputLabelMap::LabelObjectType, typename TOutputSampleList::MeasurementVectorType > > | |
LabelMapToSampleListFilter () | |
~LabelMapToSampleListFilter () override | |
void | GenerateData () override |
DataObjectPointerType | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Private Member Functions | |
LabelMapWithClassLabelToLabeledSampleListFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Private Attributes | |
MeasurementFunctorType | m_MeasurementFunctor |
This class converts a LabelObjectMap with some class labeled objects to a SampleList and a TrainingSampleList suitable for supervised learning, and compatible with otb::SVMSampleListModelEstimator.
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 45 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef InputLabelMapType::ConstIterator otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::ConstIteratorType |
Definition at line 64 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::ConstPointer |
Definition at line 52 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::DataObjectPointerArraySizeType |
Definition at line 65 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef Superclass::DataObjectPointerType otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::DataObjectPointerType |
Definition at line 81 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef InputLabelMapType::ConstPointer otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::InputLabelMapConstPointerType |
Definition at line 62 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef TInputLabelMap otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::InputLabelMapType |
template typedefs
Definition at line 58 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef InputLabelMapType::LabelObjectType otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::LabelObjectType |
Definition at line 63 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef TMeasurementFunctor otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::MeasurementFunctorType |
Measurement functor
Definition at line 78 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef OutputSampleListType::MeasurementVectorType otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::MeasurementVectorType |
Definition at line 70 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef OutputSampleListType::Pointer otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::OutputSampleListPointerType |
Definition at line 69 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef TOutputSampleList otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::OutputSampleListType |
Output sample list
Definition at line 68 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef OutputTrainingSampleListType::Pointer otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::OutputTrainingSampleListPointerType |
Definition at line 74 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef TOutputTrainingSampleList otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::OutputTrainingSampleListType |
Output training sample list
Definition at line 73 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef itk::SmartPointer<Self> otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::Pointer |
Definition at line 51 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef LabelMapWithClassLabelToLabeledSampleListFilter otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::Self |
Standard class typedefs.
Definition at line 49 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef LabelMapToSampleListFilter<TInputLabelMap, TOutputSampleList, TMeasurementFunctor> otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::Superclass |
Definition at line 50 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
typedef OutputTrainingSampleListType::MeasurementVectorType otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::TraningVectorType |
Definition at line 75 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
|
protected |
Definition at line 32 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
overrideprotected |
Definition at line 40 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputSampleList, TOutputTrainingSampleList, TMeasurementFunctor >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Definition at line 80 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
inline |
Definition at line 92 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
|
virtual |
Run-time type information (and related methods).
const LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputListSample, TOutputTrainingListSample, TMeasurementFunctor >::OutputTrainingSampleListType * otb::LabelMapWithClassLabelToLabeledSampleListFilter< TInputLabelMap, TOutputListSample, TOutputTrainingListSample, TMeasurementFunctor >::GetOutputTrainingSampleList |
Definition at line 74 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
overrideprotected |
Make Output
Definition at line 48 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
overrideprotected |
Make Output
Definition at line 45 of file otbLabelMapToSampleListFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
Definition at line 131 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.hxx.
|
inline |
Definition at line 87 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.
|
private |
The functor used to build the measurement vector
Definition at line 114 of file otbLabelMapWithClassLabelToLabeledSampleListFilter.h.