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

#include <otbSoilIndicesFunctor.h>

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

Public Member Functions

 CI ()
 
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
 

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
 

Detailed Description

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

This functor computes the Color Index (IC)

[Pouget et al., "Caracteristiques spectrales des surfaces sableuses de la region cotiere nord-ouest de l'Egypte: application aux donnees satellitaires Spot, In: 2eme Journeees de Teledetection: Caracterisation et suivi des milieux terrestres en regions arides et tropicales. 4-6/12/1990 Ed. ORSTOM, Collection Colloques et Seminaires, Paris, pp. 27-38]

Definition at line 82 of file otbSoilIndicesFunctor.h.

Constructor & Destructor Documentation

◆ CI()

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

Definition at line 85 of file otbSoilIndicesFunctor.h.

Member Function Documentation

◆ operator()()

template<class TInput , class TOutput >
TOutput otb::Functor::CI< 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 89 of file otbSoilIndicesFunctor.h.

References otb::Functor::RadiometricIndex< TInput, TOutput >::Value().


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