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

#include <otbVegetationIndicesFunctor.h>

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

Public Member Functions

 LAIFromNDVIFormosat2Functor ()
 
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 A = 0.1519
 
static constexpr double B = 3.9443
 
static constexpr double C = 0.13
 
- 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::LAIFromNDVIFormosat2Functor< TInput, TOutput >

use red and nir image band to compute LAI image using formula a*(exp(nir-red)/((red+nir)*b)-exp(c*b)); with a = 0.1519 b = 3.9443 c = 0.13 this formula is only valid for Formosat 2 reflectance TOC

This relationship have been presented by : M. Claverie, V. Demarez, B. Duchemin, Spatialization of crop leaf area index and biomass by combining a simple crop model safy and high spatial and temporal resolutions remote sensing data.

Definition at line 742 of file otbVegetationIndicesFunctor.h.

Constructor & Destructor Documentation

◆ LAIFromNDVIFormosat2Functor()

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

Definition at line 745 of file otbVegetationIndicesFunctor.h.

Member Function Documentation

◆ operator()()

template<class TInput , class TOutput >
TOutput otb::Functor::LAIFromNDVIFormosat2Functor< 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 749 of file otbVegetationIndicesFunctor.h.

References otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::A, otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::B, otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::C, and otb::Functor::RadiometricIndex< TInput, TOutput >::Value().

Member Data Documentation

◆ A

template<class TInput , class TOutput >
constexpr double otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::A = 0.1519
staticconstexpr

◆ B

template<class TInput , class TOutput >
constexpr double otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::B = 3.9443
staticconstexpr

◆ C

template<class TInput , class TOutput >
constexpr double otb::Functor::LAIFromNDVIFormosat2Functor< TInput, TOutput >::C = 0.13
staticconstexpr

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