OTB
9.0.0
Orfeo Toolbox
|
#include <otbVegetationIndicesFunctor.h>
Public Member Functions | |
NDVI () | |
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< BandNameType > | GetRequiredBands () 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 Member Functions | |
static double | Compute (const double &red, const double &nir) |
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 > |
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) |
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 |
This functor computes the Normalized Difference Vegetation Index (NDVI)
[Rouse et al., 1973]
Definition at line 43 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 46 of file otbVegetationIndicesFunctor.h.
|
inlinestatic |
Definition at line 59 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::NDVI< typename TReduceSpectralResponse::ValuePrecisionType, typename TReduceSpectralResponse::ValuePrecisionType >::operator()(), otb::Functor::MSAVI< TInput, TOutput >::operator()(), otb::Functor::TNDVI< TInput, TOutput >::operator()(), and otb::Functor::LAIFromNDVILogarithmic< TInput, TOutput >::operator()().
|
inlineoverridevirtual |
Astract method which will compute the radiometric indice
input | A itk::VariableLengthVector<TInput> holding the pixel values for each band |
Implements otb::Functor::RadiometricIndex< TInput, TOutput >.
Definition at line 50 of file otbVegetationIndicesFunctor.h.