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

#include <otbGaussianAdditiveNoiseSampleListFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputSampleListType::MeasurementVectorType InputMeasurementVectorType
 
typedef InputSampleListType::ConstPointer InputSampleListConstPointer
 
typedef InputSampleListType::Pointer InputSampleListPointer
 
typedef TInputSampleList InputSampleListType
 
typedef InputMeasurementVectorType::ValueType InputValueType
 
typedef OutputSampleListType::MeasurementVectorType OutputMeasurementVectorType
 
typedef OutputSampleListType::ConstPointer OutputSampleListConstPointer
 
typedef OutputSampleListType::Pointer OutputSampleListPointer
 
typedef TOutputSampleList OutputSampleListType
 
typedef OutputMeasurementVectorType::ValueType OutputValueType
 
typedef itk::SmartPointer< SelfPointer
 
typedef GaussianAdditiveNoiseSampleListFilter 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
 
virtual const char * GetNameOfClass () const
 
- 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 ()
 
double m_Mean
 
double m_Variance
 
std::vector< double > m_WhiteGaussianNoiseCoefficients
 
unsigned int m_NumberOfIteration
 
virtual void SetMean (double _arg)
 
virtual double GetMean ()
 
virtual void SetVariance (double _arg)
 
virtual double GetVariance ()
 
virtual void SetNumberOfIteration (unsigned int _arg)
 
virtual unsigned int GetNumberOfIteration ()
 
void GenerateData () override
 
void GenerateRandomSequence ()
 
 GaussianAdditiveNoiseSampleListFilter ()
 
 ~GaussianAdditiveNoiseSampleListFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 GaussianAdditiveNoiseSampleListFilter (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 TOutputSampleList = TInputSampleList>
class otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >

This class generate a noised version of the input sample list.

For each component of the samples, a white gaussian random is added.

It use the MersenneTwisterRandomVariateGenerator to generate a sequence of numbers following the normal law considered as White Gaussian Noise. Mean and Variance are set via the methods SetMean() and SetVariance(). The input SampleList can be noised m_NumberOfIteration times via the method SetNumberOfIteration()

See also
ListSampleToListSampleFilter

Definition at line 48 of file otbGaussianAdditiveNoiseSampleListFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 55 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ InputMeasurementVectorType

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

Definition at line 67 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ InputSampleListConstPointer

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

Definition at line 66 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ InputSampleListPointer

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

Definition at line 65 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ InputSampleListType

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

InputSampleList typedefs

Definition at line 61 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ InputValueType

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

Definition at line 68 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ OutputMeasurementVectorType

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

Definition at line 74 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ OutputSampleListConstPointer

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

Definition at line 73 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ OutputSampleListPointer

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

Definition at line 72 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ OutputSampleListType

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

OutputSampleList typedefs

Definition at line 71 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ OutputValueType

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

Definition at line 75 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ Pointer

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

Definition at line 54 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ Self

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

Standard class typedefs

Definition at line 52 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ Superclass

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

Definition at line 53 of file otbGaussianAdditiveNoiseSampleListFilter.h.

Constructor & Destructor Documentation

◆ GaussianAdditiveNoiseSampleListFilter() [1/2]

template<class TInputSampleList , class TOutputSampleList >
otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::GaussianAdditiveNoiseSampleListFilter
protected

Set/Get the Shifts for this sample list

Definition at line 34 of file otbGaussianAdditiveNoiseSampleListFilter.hxx.

◆ ~GaussianAdditiveNoiseSampleListFilter()

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

Set/Get the Shifts for this sample list

Definition at line 102 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ GaussianAdditiveNoiseSampleListFilter() [2/2]

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

Set/Get the Shifts for this sample list

Member Function Documentation

◆ CreateAnother()

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

◆ GenerateData()

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

This method causes the filter to generate its output.

Definition at line 65 of file otbGaussianAdditiveNoiseSampleListFilter.hxx.

◆ GenerateRandomSequence()

template<class TInputSampleList , class TOutputSampleList >
void otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::GenerateRandomSequence
protected

Generate a white gaussian noise with mean m_Mean and variance m_Variance

Definition at line 42 of file otbGaussianAdditiveNoiseSampleListFilter.hxx.

◆ GetMean()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual double otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::GetMean ( )
virtual

Set/Get the Shifts for this sample list

◆ GetNameOfClass()

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

Run-time type information (and related methods).

◆ GetNumberOfIteration()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual unsigned int otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::GetNumberOfIteration ( )
virtual

Set/Get the Shifts for this sample list

◆ GetVariance()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual double otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::GetVariance ( )
virtual

Set/Get the Shifts for this sample list

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

Set/Get the Shifts for this sample list

◆ PrintSelf()

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

Set/Get the Shifts for this sample list

Definition at line 117 of file otbGaussianAdditiveNoiseSampleListFilter.hxx.

◆ SetMean()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual void otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::SetMean ( double  _arg)
virtual

Set/Get the Shifts for this sample list

◆ SetNumberOfIteration()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual void otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::SetNumberOfIteration ( unsigned int  _arg)
virtual

Set how many times the ListSample must be noised

◆ SetVariance()

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
virtual void otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::SetVariance ( double  _arg)
virtual

Set/Get the Scales for this sample list

Member Data Documentation

◆ m_Mean

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
double otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::m_Mean
private

Set/Get the Shifts for this sample list

Definition at line 112 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ m_NumberOfIteration

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
unsigned int otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::m_NumberOfIteration
private

Set/Get the Shifts for this sample list

Definition at line 115 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ m_Variance

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
double otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::m_Variance
private

Set/Get the Shifts for this sample list

Definition at line 113 of file otbGaussianAdditiveNoiseSampleListFilter.h.

◆ m_WhiteGaussianNoiseCoefficients

template<class TInputSampleList , class TOutputSampleList = TInputSampleList>
std::vector<double> otb::Statistics::GaussianAdditiveNoiseSampleListFilter< TInputSampleList, TOutputSampleList >::m_WhiteGaussianNoiseCoefficients
private

Set/Get the Shifts for this sample list

Definition at line 114 of file otbGaussianAdditiveNoiseSampleListFilter.h.


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