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

#include <otbMosaicFunctors.h>

Public Member Functions

 LAB2RGB ()
 
bool operator!= (const LAB2RGB &) const
 
TOutput operator() (const TInput &A) const
 
bool operator== (const LAB2RGB &other) const
 
vcl_size_t OutputSize (const std::array< vcl_size_t, 1 > &) const
 
 ~LAB2RGB ()
 

Private Attributes

vnl_matrix< double > D1
 
vnl_matrix< double > D2
 
vnl_matrix< double > M
 

Detailed Description

template<class TInput, class TOutput>
class otb::Functor::LAB2RGB< TInput, TOutput >

Base class for converting LAB into RGB color space (Ruderman et al.)

TODO: invert the function RGB2LAB than using the hardcoded one

Definition at line 145 of file otbMosaicFunctors.h.

Constructor & Destructor Documentation

◆ LAB2RGB()

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

◆ ~LAB2RGB()

template<class TInput , class TOutput >
otb::Functor::LAB2RGB< TInput, TOutput >::~LAB2RGB ( )
inline

Definition at line 175 of file otbMosaicFunctors.h.

Member Function Documentation

◆ operator!=()

template<class TInput , class TOutput >
bool otb::Functor::LAB2RGB< TInput, TOutput >::operator!= ( const LAB2RGB< TInput, TOutput > &  ) const
inline

Definition at line 179 of file otbMosaicFunctors.h.

◆ operator()()

template<class TInput , class TOutput >
TOutput otb::Functor::LAB2RGB< TInput, TOutput >::operator() ( const TInput &  A) const
inline

◆ operator==()

template<class TInput , class TOutput >
bool otb::Functor::LAB2RGB< TInput, TOutput >::operator== ( const LAB2RGB< TInput, TOutput > &  other) const
inline

Definition at line 184 of file otbMosaicFunctors.h.

◆ OutputSize()

template<class TInput , class TOutput >
vcl_size_t otb::Functor::LAB2RGB< TInput, TOutput >::OutputSize ( const std::array< vcl_size_t, 1 > &  ) const
inline

Definition at line 224 of file otbMosaicFunctors.h.

Member Data Documentation

◆ D1

template<class TInput , class TOutput >
vnl_matrix<double> otb::Functor::LAB2RGB< TInput, TOutput >::D1
private

◆ D2

template<class TInput , class TOutput >
vnl_matrix<double> otb::Functor::LAB2RGB< TInput, TOutput >::D2
private

◆ M

template<class TInput , class TOutput >
vnl_matrix<double> otb::Functor::LAB2RGB< TInput, TOutput >::M
private

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