![]() |
Orfeo Toolbox
3.16
|
Base class for R And NIR based Index. More...
#include <otbVegetationIndicesFunctor.h>
Inheritance diagram for otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >:Public Types | |
| typedef itk::VariableLengthVector < TInput1 > | InputVectorType |
Public Member Functions | |
| RAndNIRIndexBase () | |
| Constructor. | |
| virtual | ~RAndNIRIndexBase () |
| Desctructor. | |
| unsigned int | GetIndex (BandName::BandName band) const |
| virtual std::string | GetName () const =0 |
| unsigned int | GetNIRIndex () const |
| Get NIR Index. | |
| unsigned int | GetRedIndex () const |
| Get Red Index. | |
| bool | operator!= (const RAndNIRIndexBase &) const |
| TOutput | operator() (const InputVectorType &inputVector) const |
| TOutput | operator() (const TInput1 &r, const TInput2 &nir) const |
| bool | operator== (const RAndNIRIndexBase &other) const |
| void | SetIndex (BandName::BandName band, unsigned int channel) |
| void | SetNIRIndex (unsigned int channel) |
| Set NIR Index. | |
| void | SetRedIndex (unsigned int channel) |
| Set Red Index. | |
Protected Member Functions | |
| virtual TOutput | Evaluate (const TInput1 &r, const TInput2 &nir) const =0 |
Protected Attributes | |
| double | m_EpsilonToBeConsideredAsZero |
Private Attributes | |
| unsigned int | m_NIRIndex |
| unsigned int | m_RedIndex |
Base class for R And NIR based Index.
Implement operators for UnaryFunctorImageFilter templated with a VectorImage and BinaryFunctorImageFilter templated with single images. Subclasses should NOT overload operators, they must re-implement the Evaluate() method.
Definition at line 44 of file otbVegetationIndicesFunctor.h.
| typedef itk::VariableLengthVector<TInput1> otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >::InputVectorType |
Vector pixel type used to support both vector images and multiple input images
Definition at line 49 of file otbVegetationIndicesFunctor.h.
|
inline |
Constructor.
Definition at line 74 of file otbVegetationIndicesFunctor.h.
|
inlinevirtual |
Desctructor.
Definition at line 76 of file otbVegetationIndicesFunctor.h.
|
protectedpure virtual |
Implemented in otb::Functor::LAIFromNDVIFormosat2Functor< TInput1, TInput2, TOutput >, otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >, otb::Functor::LAIFromNDVILogarithmic< TInput1, TInput2, TOutput >, otb::Functor::TNDVI< TInput1, TInput2, TOutput >, otb::Functor::IPVI< TInput1, TInput2, TOutput >, otb::Functor::GEMI< TInput1, TInput2, TOutput >, otb::Functor::MSAVI2< TInput1, TInput2, TOutput >, otb::Functor::MSAVI< TInput1, TInput2, TOutput >, otb::Functor::WDVI< TInput1, TInput2, TOutput >, otb::Functor::TSAVI< TInput1, TInput2, TOutput >, otb::Functor::SAVI< TInput1, TInput2, TOutput >, otb::Functor::PVI< TInput1, TInput2, TOutput >, otb::Functor::RVI< TInput1, TInput2, TOutput >, otb::Functor::NDVI< TInput1, TInput2, TOutput >, otb::Functor::NDVI< ScalarRealType, ScalarRealType, PrecisionType >, otb::Functor::NDVI< double, double, double >, and otb::Functor::ISU< TInput1, TInput2, TOutput >.
Referenced by otb::Functor::RAndNIRIndexBase< double, double, double >::operator()().
|
inline |
Get index, generic method
Definition at line 91 of file otbVegetationIndicesFunctor.h.
|
pure virtual |
Return the index name
Implemented in otb::Functor::LAIFromNDVIFormosat2Functor< TInput1, TInput2, TOutput >, otb::Functor::LAIFromReflectancesLinear< TInput1, TInput2, TOutput >, otb::Functor::LAIFromNDVILogarithmic< TInput1, TInput2, TOutput >, otb::Functor::TNDVI< TInput1, TInput2, TOutput >, otb::Functor::IPVI< TInput1, TInput2, TOutput >, otb::Functor::GEMI< TInput1, TInput2, TOutput >, otb::Functor::MSAVI2< TInput1, TInput2, TOutput >, otb::Functor::MSAVI< TInput1, TInput2, TOutput >, otb::Functor::WDVI< TInput1, TInput2, TOutput >, otb::Functor::TSAVI< TInput1, TInput2, TOutput >, otb::Functor::SAVI< TInput1, TInput2, TOutput >, otb::Functor::PVI< TInput1, TInput2, TOutput >, otb::Functor::RVI< TInput1, TInput2, TOutput >, otb::Functor::NDVI< TInput1, TInput2, TOutput >, otb::Functor::NDVI< ScalarRealType, ScalarRealType, PrecisionType >, otb::Functor::NDVI< double, double, double >, and otb::Functor::ISU< TInput1, TInput2, TOutput >.
|
inline |
Get NIR Index.
Definition at line 119 of file otbVegetationIndicesFunctor.h.
|
inline |
Get Red Index.
Definition at line 109 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 52 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 63 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 69 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 57 of file otbVegetationIndicesFunctor.h.
|
inline |
Set index, generic method
Definition at line 79 of file otbVegetationIndicesFunctor.h.
|
inline |
Set NIR Index.
Definition at line 114 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RadiometricNonWaterNonVegetationIndexFunctor< TInput >::SetNIRIndex().
|
inline |
Set Red Index.
Definition at line 104 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RadiometricNonWaterNonVegetationIndexFunctor< TInput >::SetRedIndex().
|
protected |
Definition at line 131 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::NDVI< double, double, double >::Evaluate(), otb::Functor::RVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::SAVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::TSAVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::MSAVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::GEMI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::IPVI< TInput1, TInput2, TOutput >::Evaluate(), and otb::Functor::LAIFromNDVIFormosat2Functor< TInput1, TInput2, TOutput >::Evaluate().
|
private |
Definition at line 135 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RAndNIRIndexBase< double, double, double >::GetIndex(), otb::Functor::RAndNIRIndexBase< double, double, double >::GetNIRIndex(), otb::Functor::RAndNIRIndexBase< double, double, double >::operator()(), otb::Functor::RAndNIRIndexBase< double, double, double >::SetIndex(), and otb::Functor::RAndNIRIndexBase< double, double, double >::SetNIRIndex().
|
private |
Definition at line 134 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RAndNIRIndexBase< double, double, double >::GetIndex(), otb::Functor::RAndNIRIndexBase< double, double, double >::GetRedIndex(), otb::Functor::RAndNIRIndexBase< double, double, double >::operator()(), otb::Functor::RAndNIRIndexBase< double, double, double >::SetIndex(), and otb::Functor::RAndNIRIndexBase< double, double, double >::SetRedIndex().