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

#include <otbUnConstrainedLeastSquareImageFilter.h>

+ Collaboration diagram for otb::Functor::UnConstrainedLeastSquareFunctor< TInput, TOutput, TPrecision >:

Public Types

typedef TInput InputType
 
typedef vnl_matrix< PrecisionTypeMatrixType
 
typedef TOutput OutputType
 
typedef TPrecision PrecisionType
 
typedef vnl_vector< PrecisionTypeVectorType
 

Public Member Functions

OutputType operator() (const InputType &in) const
 
vcl_size_t OutputSize (const std::array< vcl_size_t, 1 > &nbBands) const
 
void SetMatrix (const MatrixType &m)
 
 UnConstrainedLeastSquareFunctor ()
 
virtual ~UnConstrainedLeastSquareFunctor ()=default
 

Private Types

typedef std::shared_ptr< SVDTypeSVDPointerType
 
typedef vnl_svd< PrecisionTypeSVDType
 

Private Attributes

MatrixType m_Inv
 
unsigned int m_OutputSize
 
SVDPointerType m_Svd
 

Detailed Description

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

Solves a least square system on a pixel.

See also
UnConstrainedLeastSquareImageFilter

Definition at line 44 of file otbUnConstrainedLeastSquareImageFilter.h.

Member Typedef Documentation

◆ InputType

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

Definition at line 47 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ MatrixType

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

Definition at line 52 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ OutputType

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

Definition at line 48 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ PrecisionType

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

Definition at line 49 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ SVDPointerType

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

Definition at line 65 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ SVDType

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

Definition at line 64 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ VectorType

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

Definition at line 51 of file otbUnConstrainedLeastSquareImageFilter.h.

Constructor & Destructor Documentation

◆ UnConstrainedLeastSquareFunctor()

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

Definition at line 54 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ ~UnConstrainedLeastSquareFunctor()

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

Member Function Documentation

◆ operator()()

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

Definition at line 47 of file otbUnConstrainedLeastSquareImageFilter.hxx.

◆ OutputSize()

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

Definition at line 32 of file otbUnConstrainedLeastSquareImageFilter.hxx.

◆ SetMatrix()

template<class TInput , class TOutput , class TPrecision >
void otb::Functor::UnConstrainedLeastSquareFunctor< TInput, TOutput, TPrecision >::SetMatrix ( const MatrixType m)

Definition at line 38 of file otbUnConstrainedLeastSquareImageFilter.hxx.

Member Data Documentation

◆ m_Inv

template<class TInput , class TOutput , class TPrecision >
MatrixType otb::Functor::UnConstrainedLeastSquareFunctor< TInput, TOutput, TPrecision >::m_Inv
private

Definition at line 69 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ m_OutputSize

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

Definition at line 67 of file otbUnConstrainedLeastSquareImageFilter.h.

◆ m_Svd

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

Definition at line 68 of file otbUnConstrainedLeastSquareImageFilter.h.


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