OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList > Class Template Reference

#include <otbListSampleToBalancedListSampleFilter.h>

+ Inheritance diagram for otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >:
+ Collaboration diagram for otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::DataObjectPointer DataObjectPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef GaussianAdditiveNoiseType::Pointer GaussianAdditiveNoisePointerType
 
typedef otb::Statistics::GaussianAdditiveNoiseSampleListFilter< InputSampleListType, OutputSampleListTypeGaussianAdditiveNoiseType
 
typedef InputSampleListType::MeasurementVectorType InputMeasurementVectorType
 
typedef InputSampleListType::ConstPointer InputSampleListConstPointer
 
typedef InputSampleListType::Pointer InputSampleListPointer
 
typedef TInputSampleList InputSampleListType
 
typedef InputMeasurementVectorType::ValueType InputValueType
 
typedef LabelSampleListType::MeasurementVectorType LabelMeasurementVectorType
 
typedef LabelSampleListType::ConstPointer LabelSampleListConstPointer
 
typedef itk::DataObjectDecorator< LabelSampleListTypeLabelSampleListObjectType
 
typedef LabelSampleListType::Pointer LabelSampleListPointer
 
typedef TLabelSampleList LabelSampleListType
 
typedef LabelMeasurementVectorType::ValueType LabelValueType
 
typedef OutputSampleListType::MeasurementVectorType OutputMeasurementVectorType
 
typedef OutputSampleListType::ConstPointer OutputSampleListConstPointer
 
typedef OutputSampleListType::Pointer OutputSampleListPointer
 
typedef TOutputSampleList OutputSampleListType
 
typedef OutputMeasurementVectorType::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ListSampleToBalancedListSampleFilter Self
 
typedef otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TOutputSampleList > Superclass
 
- Public Types inherited from otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TInputSampleList >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef InputSampleListType::MeasurementVectorType InputMeasurementVectorType
 
typedef InputSampleListType::ConstPointer InputSampleListConstPointer
 
typedef InputSampleListType::Pointer InputSampleListPointer
 
typedef TInputSampleList InputSampleListType
 
typedef InputMeasurementVectorType::ValueType InputValueType
 
typedef Superclass::OutputMeasurementVectorType OutputMeasurementVectorType
 
typedef Superclass::OutputSampleListConstPointer OutputSampleListConstPointer
 
typedef Superclass::OutputSampleListPointer OutputSampleListPointer
 
typedef Superclass::OutputSampleListType OutputSampleListType
 
typedef Superclass::OutputValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ListSampleToListSampleFilter Self
 
typedef ListSampleSource< TInputSampleList > Superclass
 
- Public Types inherited from otb::Statistics::ListSampleSource< TInputSampleList >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef OutputSampleListType::MeasurementVectorType OutputMeasurementVectorType
 
typedef OutputSampleListType::ConstPointer OutputSampleListConstPointer
 
typedef OutputSampleListType::Pointer OutputSampleListPointer
 
typedef TInputSampleList OutputSampleListType
 
typedef OutputMeasurementVectorType::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ListSampleSource Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const LabelSampleListTypeGetInputLabel () const
 
virtual const char * GetNameOfClass () const
 
LabelSampleListTypeGetOutputLabel ()
 
void SetInputLabel (const LabelSampleListType *label)
 
- Public Member Functions inherited from otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TInputSampleList >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetInput (const InputSampleListType *inputPtr)
 
const InputSampleListTypeGetInput () const
 
- Public Member Functions inherited from otb::Statistics::ListSampleSource< TInputSampleList >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputSampleListTypeGetOutput ()
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TInputSampleList >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::Statistics::ListSampleSource< TInputSampleList >
static Pointer New ()
 
GaussianAdditiveNoisePointerType m_AddGaussianNoiseFilter
 
std::vector< unsigned int > m_MultiplicativeCoefficient
 
unsigned int m_BalancingFactor
 
 otbSetObjectMemberMacro (AddGaussianNoiseFilter, Mean, double)
 
 otbGetObjectMemberConstMacro (AddGaussianNoiseFilter, Mean, double)
 
 otbSetObjectMemberMacro (AddGaussianNoiseFilter, Variance, double)
 
 otbGetObjectMemberConstMacro (AddGaussianNoiseFilter, Variance, double)
 
virtual void SetBalancingFactor (unsigned int _arg)
 
virtual unsigned int GetBalancingFactor ()
 
void GenerateData () override
 
void ComputeMaxSampleFrequency ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
 ListSampleToBalancedListSampleFilter ()
 
 ~ListSampleToBalancedListSampleFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ListSampleToBalancedListSampleFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TInputSampleList >
 ListSampleToListSampleFilter ()
 
 ~ListSampleToListSampleFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
- Protected Member Functions inherited from otb::Statistics::ListSampleSource< TInputSampleList >
 ListSampleSource ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~ListSampleSource () override
 

Detailed Description

template<class TInputSampleList, class TLabelSampleList, class TOutputSampleList = TInputSampleList>
class otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >

This class generate a balanced ListSample in order to have fair distribution of learning samples.

The maximum number of samples with same labels are first computed. This maximum number by the m_BalancingFactor determines the final number of samples belonging to each label.

Mean and Variance are set via the methods SetMean() and SetVariance().

See also
ListSampleToListSampleFilter, GaussianAdditiveNoiseSampleListFilter

Definition at line 48 of file otbListSampleToBalancedListSampleFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef itk::SmartPointer<const Self> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::ConstPointer

Definition at line 55 of file otbListSampleToBalancedListSampleFilter.h.

◆ DataObjectPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef Superclass::DataObjectPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::DataObjectPointer

DataObject typedef

Definition at line 86 of file otbListSampleToBalancedListSampleFilter.h.

◆ DataObjectPointerArraySizeType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::DataObjectPointerArraySizeType

Definition at line 87 of file otbListSampleToBalancedListSampleFilter.h.

◆ GaussianAdditiveNoisePointerType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef GaussianAdditiveNoiseType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GaussianAdditiveNoisePointerType

Definition at line 91 of file otbListSampleToBalancedListSampleFilter.h.

◆ GaussianAdditiveNoiseType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef otb::Statistics::GaussianAdditiveNoiseSampleListFilter<InputSampleListType, OutputSampleListType> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GaussianAdditiveNoiseType

Filter adding noise to a ListSample

Definition at line 90 of file otbListSampleToBalancedListSampleFilter.h.

◆ InputMeasurementVectorType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef InputSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputMeasurementVectorType

Definition at line 67 of file otbListSampleToBalancedListSampleFilter.h.

◆ InputSampleListConstPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef InputSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListConstPointer

Definition at line 66 of file otbListSampleToBalancedListSampleFilter.h.

◆ InputSampleListPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef InputSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListPointer

Definition at line 65 of file otbListSampleToBalancedListSampleFilter.h.

◆ InputSampleListType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef TInputSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListType

InputSampleList typedefs

Definition at line 61 of file otbListSampleToBalancedListSampleFilter.h.

◆ InputValueType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef InputMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputValueType

Definition at line 68 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelMeasurementVectorType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef LabelSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelMeasurementVectorType

Definition at line 74 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelSampleListConstPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef LabelSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListConstPointer

Definition at line 73 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelSampleListObjectType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef itk::DataObjectDecorator<LabelSampleListType> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListObjectType

Definition at line 76 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelSampleListPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef LabelSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListPointer

Definition at line 72 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelSampleListType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef TLabelSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListType

LabelSampleList typedefs

Definition at line 71 of file otbListSampleToBalancedListSampleFilter.h.

◆ LabelValueType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef LabelMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelValueType

Definition at line 75 of file otbListSampleToBalancedListSampleFilter.h.

◆ OutputMeasurementVectorType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef OutputSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputMeasurementVectorType

Definition at line 82 of file otbListSampleToBalancedListSampleFilter.h.

◆ OutputSampleListConstPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef OutputSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListConstPointer

Definition at line 81 of file otbListSampleToBalancedListSampleFilter.h.

◆ OutputSampleListPointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef OutputSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListPointer

Definition at line 80 of file otbListSampleToBalancedListSampleFilter.h.

◆ OutputSampleListType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef TOutputSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListType

OutputSampleList typedefs

Definition at line 79 of file otbListSampleToBalancedListSampleFilter.h.

◆ OutputValueType

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef OutputMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputValueType

Definition at line 83 of file otbListSampleToBalancedListSampleFilter.h.

◆ Pointer

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef itk::SmartPointer<Self> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Pointer

Definition at line 54 of file otbListSampleToBalancedListSampleFilter.h.

◆ Self

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef ListSampleToBalancedListSampleFilter otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Self

Standard class typedefs

Definition at line 52 of file otbListSampleToBalancedListSampleFilter.h.

◆ Superclass

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
typedef otb::Statistics::ListSampleToListSampleFilter<TInputSampleList, TOutputSampleList> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Superclass

Definition at line 53 of file otbListSampleToBalancedListSampleFilter.h.

Constructor & Destructor Documentation

◆ ListSampleToBalancedListSampleFilter() [1/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::ListSampleToBalancedListSampleFilter
protected

Set/Get the mean for the white gaussian noise to generate

Definition at line 36 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ ~ListSampleToBalancedListSampleFilter()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::~ListSampleToBalancedListSampleFilter ( )
inlineoverrideprotected

Set/Get the mean for the white gaussian noise to generate

Definition at line 135 of file otbListSampleToBalancedListSampleFilter.h.

◆ ListSampleToBalancedListSampleFilter() [2/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::ListSampleToBalancedListSampleFilter ( const Self )
privatedelete

Set/Get the mean for the white gaussian noise to generate

Member Function Documentation

◆ ComputeMaxSampleFrequency()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::ComputeMaxSampleFrequency
protected

In order to respect the fair data principle, the number of samples for each label must be the same. This method computes the label that have the higher number of sample.

Definition at line 103 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ CreateAnother()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
virtual::itk::LightObject::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GenerateData
overrideprotected

This method causes the filter to generate its output.

Definition at line 176 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ GetBalancingFactor()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
virtual unsigned int otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetBalancingFactor ( )
virtual

Set/Get the mean for the white gaussian noise to generate

◆ GetInputLabel()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
const ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListType * otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetInputLabel

Returns the label sample list

Definition at line 82 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ GetNameOfClass()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
virtual const char* otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetOutputLabel()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListType * otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GetOutputLabel

Returns the label sample list as a data object

Definition at line 95 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ MakeOutput()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::DataObjectPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overrideprotected

Make Output

Definition at line 51 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ New()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
static Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::operator= ( const Self )
privatedelete

Set/Get the mean for the white gaussian noise to generate

◆ otbGetObjectMemberConstMacro() [1/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbGetObjectMemberConstMacro ( AddGaussianNoiseFilter  ,
Mean  ,
double   
)

Set/Get the mean for the white gaussian noise to generate

◆ otbGetObjectMemberConstMacro() [2/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbGetObjectMemberConstMacro ( AddGaussianNoiseFilter  ,
Variance  ,
double   
)

Set/Get the mean for the white gaussian noise to generate

◆ otbSetObjectMemberMacro() [1/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbSetObjectMemberMacro ( AddGaussianNoiseFilter  ,
Mean  ,
double   
)

Set/Get the mean for the white gaussian noise to generate

◆ otbSetObjectMemberMacro() [2/2]

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbSetObjectMemberMacro ( AddGaussianNoiseFilter  ,
Variance  ,
double   
)

Set/Get the variance for the white gaussian noise to generate

◆ PrintSelf()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Set/Get the mean for the white gaussian noise to generate

Definition at line 266 of file otbListSampleToBalancedListSampleFilter.hxx.

◆ SetBalancingFactor()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
virtual void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::SetBalancingFactor ( unsigned int  _arg)
virtual

Set/Get the multiplicative factor : this value is used to determine the maximum number of samples in each label in order to reach a balanced output ListSample

◆ SetInputLabel()

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList >
void otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::SetInputLabel ( const LabelSampleListType label)

Get/Set the label sample list

Definition at line 73 of file otbListSampleToBalancedListSampleFilter.hxx.

Member Data Documentation

◆ m_AddGaussianNoiseFilter

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
GaussianAdditiveNoisePointerType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::m_AddGaussianNoiseFilter
private

Set/Get the mean for the white gaussian noise to generate

Definition at line 144 of file otbListSampleToBalancedListSampleFilter.h.

◆ m_BalancingFactor

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
unsigned int otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::m_BalancingFactor
private

Set/Get the mean for the white gaussian noise to generate

Definition at line 146 of file otbListSampleToBalancedListSampleFilter.h.

◆ m_MultiplicativeCoefficient

template<class TInputSampleList , class TLabelSampleList , class TOutputSampleList = TInputSampleList>
std::vector<unsigned int> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::m_MultiplicativeCoefficient
private

Set/Get the mean for the white gaussian noise to generate

Definition at line 145 of file otbListSampleToBalancedListSampleFilter.h.


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