OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision > Class Template Reference

#include <otbNCLSUnmixingImageFilter.h>

Public Types

typedef TInput InputType
 
typedef vnl_matrix< PrecisionTypeMatrixType
 
typedef TOutput OutputType
 
typedef TPrecision PrecisionType
 
typedef NCLSUnmixingFunctor
< TInput, TOutput, TPrecision > 
Self
 
typedef vnl_vector< PrecisionTypeVectorType
 

Public Member Functions

const MatrixTypeGetEndmembersMatrix (void) const
 
unsigned int GetMaxIteration () const
 
 NCLSUnmixingFunctor ()
 
OutputType operator() (const InputType &in) const
 
vcl_size_t OutputSize (const std::array< vcl_size_t, 1 > &nbBands) const
 
void SetEndmembersMatrix (const MatrixType &U)
 
void SetMaxIteration (unsigned int val)
 
virtual ~NCLSUnmixingFunctor ()=default
 

Private Types

typedef boost::shared_ptr
< SVDType
SVDPointerType
 
typedef vnl_svd< PrecisionTypeSVDType
 

Static Private Member Functions

static bool IsNonNegative (PrecisionType val)
 

Private Attributes

unsigned int m_MaxIteration
 
unsigned int m_OutputSize
 
SVDPointerType m_Svd
 
MatrixType m_U
 
MatrixType m_Ut
 
MatrixType m_UtUinv
 

Detailed Description

template<class TInput, class TOutput, class TPrecision>
class otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >

Performs fully constrained least squares on a pixel.

See Also
NCLSUnmixingImageFilter

Definition at line 44 of file otbNCLSUnmixingImageFilter.h.

Member Typedef Documentation

template<class TInput, class TOutput, class TPrecision>
typedef TInput otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::InputType

Definition at line 49 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef vnl_matrix<PrecisionType> otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::MatrixType

Definition at line 54 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef TOutput otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::OutputType

Definition at line 50 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef TPrecision otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::PrecisionType

Definition at line 51 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef NCLSUnmixingFunctor<TInput, TOutput, TPrecision> otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::Self

Definition at line 47 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef boost::shared_ptr<SVDType> otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::SVDPointerType
private

Definition at line 84 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef vnl_svd<PrecisionType> otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::SVDType
private

Definition at line 83 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
typedef vnl_vector<PrecisionType> otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::VectorType

Definition at line 53 of file otbNCLSUnmixingImageFilter.h.

Constructor & Destructor Documentation

template<class TInput , class TOutput , class TPrecision >
otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::NCLSUnmixingFunctor ( )

Definition at line 35 of file otbNCLSUnmixingImageFilter.hxx.

template<class TInput, class TOutput, class TPrecision>
virtual otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::~NCLSUnmixingFunctor ( )
virtualdefault

Member Function Documentation

template<class TInput , class TOutput , class TPrecision >
const NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::MatrixType & otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::GetEndmembersMatrix ( void  ) const

Definition at line 65 of file otbNCLSUnmixingImageFilter.hxx.

template<class TInput, class TOutput, class TPrecision>
unsigned int otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::GetMaxIteration ( ) const
inline
template<class TInput, class TOutput, class TPrecision>
static bool otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::IsNonNegative ( PrecisionType  val)
inlinestaticprivate

Definition at line 78 of file otbNCLSUnmixingImageFilter.h.

template<class TInput , class TOutput , class TPrecision >
NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::OutputType otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::operator() ( const InputType in) const

Definition at line 73 of file otbNCLSUnmixingImageFilter.hxx.

template<class TInput , class TOutput , class TPrecision >
vcl_size_t otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::OutputSize ( const std::array< vcl_size_t, 1 > &  nbBands) const

Definition at line 44 of file otbNCLSUnmixingImageFilter.hxx.

template<class TInput , class TOutput , class TPrecision >
void otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::SetEndmembersMatrix ( const MatrixType U)

Definition at line 52 of file otbNCLSUnmixingImageFilter.hxx.

template<class TInput, class TOutput, class TPrecision>
void otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::SetMaxIteration ( unsigned int  val)
inline

Member Data Documentation

template<class TInput, class TOutput, class TPrecision>
unsigned int otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_MaxIteration
private
template<class TInput, class TOutput, class TPrecision>
unsigned int otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_OutputSize
private

Definition at line 90 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
SVDPointerType otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_Svd
private

Definition at line 89 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
MatrixType otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_U
private

Definition at line 86 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
MatrixType otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_Ut
private

Definition at line 87 of file otbNCLSUnmixingImageFilter.h.

template<class TInput, class TOutput, class TPrecision>
MatrixType otb::Functor::NCLSUnmixingFunctor< TInput, TOutput, TPrecision >::m_UtUinv
private

Definition at line 88 of file otbNCLSUnmixingImageFilter.h.


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