Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::NormalizeVectorImageFilter< TInputImage, TOutputImage > Class Template Reference

Normalize an VectorImage by setting its mean to zero and possibly variance to one (band by band). More...

#include <otbNormalizeVectorImageFilter.h>

+ Inheritance diagram for otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
CovarianceEstimatorFilterType::Pointer 
CovarianceEstimatorFilterPointerType
 
typedef
StreamingStatisticsVectorImageFilter
< InputImageType
CovarianceEstimatorFilterType
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::NumericTraits
< typename
RealVectorType::ValueType >
::RealType 
RealType
 
typedef itk::NumericTraits
< typename
TInputImage::PixelType >
::RealType 
RealVectorType
 
typedef NormalizeVectorImageFilter Self
 
typedef
UnaryFunctorVectorImageFilter
< TInputImage, TOutputImage,
Functor::NormalizeVectorImageFunctor
< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass
 
- Public Types inherited from otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Functor::NormalizeVectorImageFunctor
< TInputImage::PixelType,
TOutputImage::PixelType > 
FunctorType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::ProcessObject ProcessObjectType
 
typedef
UnaryFunctorVectorImageFilter 
Self
 
typedef
itk::InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual
CovarianceEstimatorFilterType
GetCovarianceEstimator () const
 
virtual const char * GetNameOfClass () const
 
template<class T >
void SetMean (const itk::VariableLengthVector< T > &m)
 
template<class T >
void SetStdDev (const itk::VariableLengthVector< T > &sigma)
 
virtual void SetUseMean (bool _arg)
 
virtual void SetUseStdDev (bool _arg)
 
template<class T >
void SetVariance (const itk::VariableLengthVector< T > &var)
 
- Public Member Functions inherited from otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FunctorTypeGetFunctor ()
 
void SetFunctor (const FunctorType &functor)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter (void)
 

Protected Member Functions

 NormalizeVectorImageFilter ()
 
virtual ~NormalizeVectorImageFilter ()
 
void BeforeThreadedGenerateData ()
 
- Protected Member Functions inherited from otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >
 UnaryFunctorVectorImageFilter ()
 
virtual ~UnaryFunctorVectorImageFilter ()
 
virtual void GenerateOutputInformation (void)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId)
 

Private Member Functions

 NormalizeVectorImageFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

CovarianceEstimatorFilterPointerType m_CovarianceEstimator
 
bool m_IsGivenMean
 
bool m_IsGivenStdDev
 
bool m_UseMean
 
bool m_UseStdDev
 

Additional Inherited Members

- Static Public Attributes inherited from otb::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< TInputImage::PixelType, TOutputImage::PixelType > >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >

Normalize an VectorImage by setting its mean to zero and possibly variance to one (band by band).

NormalizeVectorImageFilter shifts and scales an image so that the pixels in the image have a zero mean and unit variance.

This filter uses StreamingStatisticsVectorImageFilter to compute the mean and variance of the input and then applies the dedicated functor.

See Also
StreamingStatisticsVectorImageFilter

Definition at line 130 of file otbNormalizeVectorImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 144 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef CovarianceEstimatorFilterType::Pointer otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorFilterPointerType

Definition at line 159 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef StreamingStatisticsVectorImageFilter< InputImageType > otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorFilterType

Definition at line 158 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::InputImageType

Definition at line 150 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 153 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 143 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::NumericTraits< typename RealVectorType::ValueType >::RealType otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::RealType

Definition at line 156 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::NumericTraits< typename TInputImage::PixelType >::RealType otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::RealVectorType

Definition at line 155 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef NormalizeVectorImageFilter otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::Self

Standart class typedefs

Definition at line 138 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, Functor::NormalizeVectorImageFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 142 of file otbNormalizeVectorImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::NormalizeVectorImageFilter ( )
protected

Definition at line 27 of file otbNormalizeVectorImageFilter.txx.

template<class TInputImage , class TOutputImage >
virtual otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::~NormalizeVectorImageFilter ( )
inlineprotectedvirtual

Definition at line 196 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::NormalizeVectorImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  )
protected
template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const
template<class TInputImage , class TOutputImage >
virtual CovarianceEstimatorFilterType* otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::GetCovarianceEstimator ( ) const
virtual
template<class TInputImage , class TOutputImage >
virtual const char* otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputImage >
static Pointer otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage , class TOutputImage >
template<class T >
void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::SetMean ( const itk::VariableLengthVector< T > &  m)
inline

Definition at line 164 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
template<class T >
void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::SetStdDev ( const itk::VariableLengthVector< T > &  sigma)
inline

Definition at line 173 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::SetUseMean ( bool  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::SetUseStdDev ( bool  _arg)
virtual
template<class TInputImage , class TOutputImage >
template<class T >
void otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::SetVariance ( const itk::VariableLengthVector< T > &  var)
inline

Definition at line 182 of file otbNormalizeVectorImageFilter.h.

Member Data Documentation

template<class TInputImage , class TOutputImage >
CovarianceEstimatorFilterPointerType otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::m_CovarianceEstimator
private

Definition at line 210 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
bool otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::m_IsGivenMean
private

Definition at line 204 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
bool otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::m_IsGivenStdDev
private

Definition at line 205 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
bool otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::m_UseMean
private

Definition at line 207 of file otbNormalizeVectorImageFilter.h.

template<class TInputImage , class TOutputImage >
bool otb::NormalizeVectorImageFilter< TInputImage, TOutputImage >::m_UseStdDev
private

Definition at line 208 of file otbNormalizeVectorImageFilter.h.


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