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

#include <otbVegetationIndicesFunctor.h>

+ Inheritance diagram for otb::Functor::EVI< TInput, TOutput >:
+ Collaboration diagram for otb::Functor::EVI< TInput, TOutput >:

Public Member Functions

 EVI ()
 
TOutput operator() (const itk::VariableLengthVector< TInput > &input) const override
 
- Public Member Functions inherited from otb::Functor::RadiometricIndex< TInput, TOutput >
 RadiometricIndex (const std::set< BandNameType > &requiredBands)
 
virtual ~RadiometricIndex ()=default
 
std::set< BandNameTypeGetRequiredBands () const
 
void SetBandIndex (BandNameType band, vcl_size_t index)
 
void SetBandsIndices (const std::map< BandNameType, vcl_size_t > &indicesMap)
 
vcl_size_t GetBandIndex (BandNameType band) const
 

Static Public Attributes

static constexpr double C1 = 6.0
 
static constexpr double C2 = 7.5
 
static constexpr double G = 2.5
 
static constexpr double L = 1.0
 
- Static Public Attributes inherited from otb::Functor::RadiometricIndex< TInput, TOutput >
static constexpr double Epsilon = 0.0000001
 
static constexpr vcl_size_t NumberOfBands = static_cast<vcl_size_t>(BandNameType::MAX)
 

Additional Inherited Members

- Public Types inherited from otb::Functor::RadiometricIndex< TInput, TOutput >
using BandNameType = CommonBandNames
 
using InputType = TInput
 
using OutputType = TOutput
 
using PixelType = itk::VariableLengthVector< InputType >
 
- Protected Member Functions inherited from otb::Functor::RadiometricIndex< TInput, TOutput >
vcl_size_t UncheckedBandIndex (BandNameType band) const
 
double Value (BandNameType band, const itk::VariableLengthVector< TInput > &input) const
 

Detailed Description

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

This functor computes the Enhanced Vegetation Index (EVI)

This vegetation index use three inputs channels

[Huete, Justice, & Liu, 1994; Huete, Liu, Batchily, & van Leeuwen, 1997]

Definition at line 482 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

◆ EVI()

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

Definition at line 485 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

◆ operator()()

template<class TInput , class TOutput >
TOutput otb::Functor::EVI< TInput, TOutput >::operator() ( const itk::VariableLengthVector< TInput > &  input) const
inlineoverridevirtual

Astract method which will compute the radiometric indice

Parameters
inputA itk::VariableLengthVector<TInput> holding the pixel values for each band
Returns
The indice value as TOutput (starts at 1 for first band)

Implements otb::Functor::RadiometricIndex< TInput, TOutput >.

Definition at line 489 of file otbVegetationIndicesFunctor.h.

References otb::Functor::EVI< TInput, TOutput >::C1, otb::Functor::EVI< TInput, TOutput >::C2, otb::Functor::EVI< TInput, TOutput >::G, otb::Functor::EVI< TInput, TOutput >::L, and otb::Functor::RadiometricIndex< TInput, TOutput >::Value().

Member Data Documentation

◆ C1

template<class TInput , class TOutput >
constexpr double otb::Functor::EVI< TInput, TOutput >::C1 = 6.0
staticconstexpr

Coefficient of the aerosol resistance term

Definition at line 507 of file otbVegetationIndicesFunctor.h.

Referenced by otb::Functor::EVI< TInput, TOutput >::operator()().

◆ C2

template<class TInput , class TOutput >
constexpr double otb::Functor::EVI< TInput, TOutput >::C2 = 7.5
staticconstexpr

Coefficient of the aerosol resistance term

Definition at line 510 of file otbVegetationIndicesFunctor.h.

Referenced by otb::Functor::EVI< TInput, TOutput >::operator()().

◆ G

template<class TInput , class TOutput >
constexpr double otb::Functor::EVI< TInput, TOutput >::G = 2.5
staticconstexpr

Gain factor

Definition at line 504 of file otbVegetationIndicesFunctor.h.

Referenced by otb::Functor::EVI< TInput, TOutput >::operator()().

◆ L

template<class TInput , class TOutput >
constexpr double otb::Functor::EVI< TInput, TOutput >::L = 1.0
staticconstexpr

Canopy background adjustment

Definition at line 513 of file otbVegetationIndicesFunctor.h.

Referenced by otb::Functor::EVI< TInput, TOutput >::operator()().


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