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

#include <otbMosaicFunctors.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

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

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

Definition at line 43 of file otbMosaicFunctors.h.

Constructor & Destructor Documentation

◆ RGB2LAB()

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

◆ ~RGB2LAB()

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

Definition at line 73 of file otbMosaicFunctors.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 77 of file otbMosaicFunctors.h.

◆ operator()()

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

◆ operator==()

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

Definition at line 82 of file otbMosaicFunctors.h.

◆ OutputSize()

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

Definition at line 125 of file otbMosaicFunctors.h.

Member Data Documentation

◆ D1

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

◆ D2

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

◆ M

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

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