OTB
9.0.0
Orfeo Toolbox
|
#include <otbListSampleToBalancedListSampleFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectPointer | DataObjectPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef GaussianAdditiveNoiseType::Pointer | GaussianAdditiveNoisePointerType |
typedef otb::Statistics::GaussianAdditiveNoiseSampleListFilter< InputSampleListType, OutputSampleListType > | GaussianAdditiveNoiseType |
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< LabelSampleListType > | LabelSampleListObjectType |
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< Self > | Pointer |
typedef ListSampleToBalancedListSampleFilter | Self |
typedef otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TOutputSampleList > | Superclass |
Public Types inherited from otb::Statistics::ListSampleToListSampleFilter< TInputSampleList, TInputSampleList > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
typedef ListSampleToListSampleFilter | Self |
typedef ListSampleSource< TInputSampleList > | Superclass |
Public Types inherited from otb::Statistics::ListSampleSource< TInputSampleList > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
typedef ListSampleSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const LabelSampleListType * | GetInputLabel () const |
virtual const char * | GetNameOfClass () const |
LabelSampleListType * | GetOutputLabel () |
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 InputSampleListType * | GetInput () const |
Public Member Functions inherited from otb::Statistics::ListSampleSource< TInputSampleList > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
OutputSampleListType * | GetOutput () |
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 | |
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().
Definition at line 48 of file otbListSampleToBalancedListSampleFilter.h.
typedef itk::SmartPointer<const Self> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::ConstPointer |
Definition at line 55 of file otbListSampleToBalancedListSampleFilter.h.
typedef Superclass::DataObjectPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::DataObjectPointer |
DataObject typedef
Definition at line 86 of file otbListSampleToBalancedListSampleFilter.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::DataObjectPointerArraySizeType |
Definition at line 87 of file otbListSampleToBalancedListSampleFilter.h.
typedef GaussianAdditiveNoiseType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::GaussianAdditiveNoisePointerType |
Definition at line 91 of file otbListSampleToBalancedListSampleFilter.h.
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.
typedef InputSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputMeasurementVectorType |
Definition at line 67 of file otbListSampleToBalancedListSampleFilter.h.
typedef InputSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListConstPointer |
Definition at line 66 of file otbListSampleToBalancedListSampleFilter.h.
typedef InputSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListPointer |
Definition at line 65 of file otbListSampleToBalancedListSampleFilter.h.
typedef TInputSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputSampleListType |
InputSampleList typedefs
Definition at line 61 of file otbListSampleToBalancedListSampleFilter.h.
typedef InputMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::InputValueType |
Definition at line 68 of file otbListSampleToBalancedListSampleFilter.h.
typedef LabelSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelMeasurementVectorType |
Definition at line 74 of file otbListSampleToBalancedListSampleFilter.h.
typedef LabelSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListConstPointer |
Definition at line 73 of file otbListSampleToBalancedListSampleFilter.h.
typedef itk::DataObjectDecorator<LabelSampleListType> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListObjectType |
Definition at line 76 of file otbListSampleToBalancedListSampleFilter.h.
typedef LabelSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListPointer |
Definition at line 72 of file otbListSampleToBalancedListSampleFilter.h.
typedef TLabelSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelSampleListType |
LabelSampleList typedefs
Definition at line 71 of file otbListSampleToBalancedListSampleFilter.h.
typedef LabelMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::LabelValueType |
Definition at line 75 of file otbListSampleToBalancedListSampleFilter.h.
typedef OutputSampleListType::MeasurementVectorType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputMeasurementVectorType |
Definition at line 82 of file otbListSampleToBalancedListSampleFilter.h.
typedef OutputSampleListType::ConstPointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListConstPointer |
Definition at line 81 of file otbListSampleToBalancedListSampleFilter.h.
typedef OutputSampleListType::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListPointer |
Definition at line 80 of file otbListSampleToBalancedListSampleFilter.h.
typedef TOutputSampleList otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputSampleListType |
OutputSampleList typedefs
Definition at line 79 of file otbListSampleToBalancedListSampleFilter.h.
typedef OutputMeasurementVectorType::ValueType otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::OutputValueType |
Definition at line 83 of file otbListSampleToBalancedListSampleFilter.h.
typedef itk::SmartPointer<Self> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Pointer |
Definition at line 54 of file otbListSampleToBalancedListSampleFilter.h.
typedef ListSampleToBalancedListSampleFilter otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Self |
Standard class typedefs
Definition at line 52 of file otbListSampleToBalancedListSampleFilter.h.
typedef otb::Statistics::ListSampleToListSampleFilter<TInputSampleList, TOutputSampleList> otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::Superclass |
Definition at line 53 of file otbListSampleToBalancedListSampleFilter.h.
|
protected |
Set/Get the mean for the white gaussian noise to generate
Definition at line 36 of file otbListSampleToBalancedListSampleFilter.hxx.
|
inlineoverrideprotected |
Set/Get the mean for the white gaussian noise to generate
Definition at line 135 of file otbListSampleToBalancedListSampleFilter.h.
|
privatedelete |
Set/Get the mean for the white gaussian noise to generate
|
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.
virtual::itk::LightObject::Pointer otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
This method causes the filter to generate its output.
Definition at line 176 of file otbListSampleToBalancedListSampleFilter.hxx.
|
virtual |
Set/Get the mean for the white gaussian noise to generate
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.
|
virtual |
Run-time type information (and related methods).
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.
|
overrideprotected |
Make Output
Definition at line 51 of file otbListSampleToBalancedListSampleFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
Set/Get the mean for the white gaussian noise to generate
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbGetObjectMemberConstMacro | ( | AddGaussianNoiseFilter | , |
Mean | , | ||
double | |||
) |
Set/Get the mean for the white gaussian noise to generate
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbGetObjectMemberConstMacro | ( | AddGaussianNoiseFilter | , |
Variance | , | ||
double | |||
) |
Set/Get the mean for the white gaussian noise to generate
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbSetObjectMemberMacro | ( | AddGaussianNoiseFilter | , |
Mean | , | ||
double | |||
) |
Set/Get the mean for the white gaussian noise to generate
otb::Statistics::ListSampleToBalancedListSampleFilter< TInputSampleList, TLabelSampleList, TOutputSampleList >::otbSetObjectMemberMacro | ( | AddGaussianNoiseFilter | , |
Variance | , | ||
double | |||
) |
Set/Get the variance for the white gaussian noise to generate
|
overrideprotected |
Set/Get the mean for the white gaussian noise to generate
Definition at line 266 of file otbListSampleToBalancedListSampleFilter.hxx.
|
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
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.
|
private |
Set/Get the mean for the white gaussian noise to generate
Definition at line 144 of file otbListSampleToBalancedListSampleFilter.h.
|
private |
Set/Get the mean for the white gaussian noise to generate
Definition at line 146 of file otbListSampleToBalancedListSampleFilter.h.
|
private |
Set/Get the mean for the white gaussian noise to generate
Definition at line 145 of file otbListSampleToBalancedListSampleFilter.h.