![]() |
Orfeo Toolbox
3.16
|
This functor computes the Perpendicular Vegetation Index (PVI) More...
#include <otbVegetationIndicesFunctor.h>
Inheritance diagram for otb::Functor::PVI< TInput1, TInput2, TOutput >:
Collaboration diagram for otb::Functor::PVI< TInput1, TInput2, TOutput >:Public Types | |
| typedef itk::VariableLengthVector < TInput1 > | InputVectorType |
Public Member Functions | |
| PVI () | |
| virtual | ~PVI () |
| double | GetA (void) const |
| double | GetB (void) const |
| unsigned int | GetIndex (BandName::BandName band) const |
| virtual std::string | GetName () const |
| unsigned int | GetNIRIndex () const |
| Get NIR Index. More... | |
| unsigned int | GetRedIndex () const |
| Get Red Index. More... | |
| 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 | SetA (const double A) |
| void | SetB (const double B) |
| void | SetIndex (BandName::BandName band, unsigned int channel) |
| void | SetNIRIndex (unsigned int channel) |
| Set NIR Index. More... | |
| void | SetRedIndex (unsigned int channel) |
| Set Red Index. More... | |
Protected Member Functions | |
| TOutput | Evaluate (const TInput1 &r, const TInput2 &nir) const |
Protected Attributes | |
| double | m_EpsilonToBeConsideredAsZero |
Private Attributes | |
| double | m_A |
| double | m_B |
| double | m_Coeff |
This functor computes the Perpendicular Vegetation Index (PVI)
[Richardson et Wiegand, 1977]
Default values for A and B are from C. L. Wiegand, A. J. Richardson, D. E. Escobar, and A. H. Gerbermann, "Vegetation Indices in Crop Assessments", REMOTE SENS. ENVIRON. 35:105-119 (1991)
Definition at line 477 of file otbVegetationIndicesFunctor.h.
|
inherited |
Vector pixel type used to support both vector images and multiple input images
Definition at line 49 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 486 of file otbVegetationIndicesFunctor.h.
|
inlinevirtual |
Definition at line 487 of file otbVegetationIndicesFunctor.h.
|
inlineprotectedvirtual |
Implements otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >.
Definition at line 507 of file otbVegetationIndicesFunctor.h.
References otb::Functor::PVI< TInput1, TInput2, TOutput >::m_A, otb::Functor::PVI< TInput1, TInput2, TOutput >::m_B, and otb::Functor::PVI< TInput1, TInput2, TOutput >::m_Coeff.
|
inline |
Definition at line 494 of file otbVegetationIndicesFunctor.h.
References otb::Functor::PVI< TInput1, TInput2, TOutput >::m_A.
|
inline |
Definition at line 502 of file otbVegetationIndicesFunctor.h.
References otb::Functor::PVI< TInput1, TInput2, TOutput >::m_B.
|
inlineinherited |
Get index, generic method
Definition at line 91 of file otbVegetationIndicesFunctor.h.
|
inlinevirtual |
Return the index name
Implements otb::Functor::RAndNIRIndexBase< TInput1, TInput2, TOutput >.
Definition at line 481 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Get NIR Index.
Definition at line 119 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Get Red Index.
Definition at line 109 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Definition at line 52 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Definition at line 63 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Definition at line 69 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Definition at line 57 of file otbVegetationIndicesFunctor.h.
|
inline |
Set/Get A and B parameters
Definition at line 489 of file otbVegetationIndicesFunctor.h.
References otb::Functor::PVI< TInput1, TInput2, TOutput >::m_A, and otb::Functor::PVI< TInput1, TInput2, TOutput >::m_Coeff.
|
inline |
Definition at line 498 of file otbVegetationIndicesFunctor.h.
References otb::Functor::PVI< TInput1, TInput2, TOutput >::m_B.
|
inlineinherited |
Set index, generic method
Definition at line 79 of file otbVegetationIndicesFunctor.h.
|
inlineinherited |
Set NIR Index.
Definition at line 114 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RadiometricNonWaterNonVegetationIndexFunctor< TInput >::SetNIRIndex().
|
inlineinherited |
Set Red Index.
Definition at line 104 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RadiometricNonWaterNonVegetationIndexFunctor< TInput >::SetRedIndex().
|
private |
A and B parameters
Definition at line 517 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::PVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::PVI< TInput1, TInput2, TOutput >::GetA(), and otb::Functor::PVI< TInput1, TInput2, TOutput >::SetA().
|
private |
Definition at line 518 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::PVI< TInput1, TInput2, TOutput >::Evaluate(), otb::Functor::PVI< TInput1, TInput2, TOutput >::GetB(), and otb::Functor::PVI< TInput1, TInput2, TOutput >::SetB().
|
private |
Denominator, pre-calculed when the A variable is set
Definition at line 520 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::PVI< TInput1, TInput2, TOutput >::Evaluate(), and otb::Functor::PVI< TInput1, TInput2, TOutput >::SetA().
|
protectedinherited |
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().