![]() |
Orfeo Toolbox
3.16
|
base class for R, B 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. More...
#include <otbVegetationIndicesFunctor.h>
Inheritance diagram for otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >:Public Types | |
| typedef itk::VariableLengthVector < TInput1 > | InputVectorType |
Public Member Functions | |
| RAndBAndNIRIndexBase () | |
| Constructor. | |
| virtual | ~RAndBAndNIRIndexBase () |
| Desctructor. | |
| unsigned int | GetBlueIndex () const |
| Get Blue Index. | |
| 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 RAndBAndNIRIndexBase &) const |
| TOutput | operator() (const InputVectorType &inputVector) |
| TOutput | operator() (const TInput1 &r, const TInput2 &b, const TInput2 &nir) |
| bool | operator== (const RAndBAndNIRIndexBase &other) const |
| void | SetBlueIndex (unsigned int channel) |
| Set Blue Index. | |
| 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 &b, const TInput3 &nir) const =0 |
Protected Attributes | |
| double | m_EpsilonToBeConsideredAsZero |
Private Attributes | |
| unsigned int | m_BlueIndex |
| unsigned int | m_NIRIndex |
| unsigned int | m_RedIndex |
base class for R, B 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 149 of file otbVegetationIndicesFunctor.h.
| typedef itk::VariableLengthVector<TInput1> otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::InputVectorType |
Vector pixel type used to support both vector images and multiple input images
Definition at line 154 of file otbVegetationIndicesFunctor.h.
|
inline |
Constructor.
Definition at line 181 of file otbVegetationIndicesFunctor.h.
|
inlinevirtual |
Desctructor.
Definition at line 183 of file otbVegetationIndicesFunctor.h.
|
protectedpure virtual |
|
inline |
Get Blue Index.
Definition at line 234 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_BlueIndex.
|
inline |
Get index, generic method
Definition at line 202 of file otbVegetationIndicesFunctor.h.
References otb::BandName::BLUE, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_BlueIndex, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex, otb::BandName::NIR, and otb::BandName::RED.
|
pure virtual |
Return the index name
Implemented in otb::Functor::EVI< TInput1, TInput2, TInput3, TOutput >, otb::Functor::TSARVI< TInput1, TInput2, TInput3, TOutput >, and otb::Functor::ARVI< TInput1, TInput2, TInput3, TOutput >.
|
inline |
Get NIR Index.
Definition at line 245 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex.
|
inline |
Get Red Index.
Definition at line 224 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
inline |
Definition at line 157 of file otbVegetationIndicesFunctor.h.
|
inline |
Definition at line 169 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::Evaluate(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_BlueIndex, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, and otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
inline |
Definition at line 176 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::Evaluate().
|
inline |
Definition at line 163 of file otbVegetationIndicesFunctor.h.
|
inline |
Set Blue Index.
Definition at line 229 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_BlueIndex.
|
inline |
Set index, generic method
Definition at line 186 of file otbVegetationIndicesFunctor.h.
References otb::BandName::BLUE, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_BlueIndex, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex, otb::BandName::NIR, and otb::BandName::RED.
|
inline |
Set NIR Index.
Definition at line 240 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex.
|
inline |
Set Red Index.
Definition at line 219 of file otbVegetationIndicesFunctor.h.
References otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
private |
Definition at line 261 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetBlueIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetBlueIndex(), and otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex().
|
protected |
|
private |
Definition at line 262 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetNIRIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex(), and otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetNIRIndex().
|
private |
Definition at line 260 of file otbVegetationIndicesFunctor.h.
Referenced by otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::GetRedIndex(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex(), and otb::Functor::RAndBAndNIRIndexBase< TInput1, TInput2, TInput3, TOutput >::SetRedIndex().