![]() |
Orfeo Toolbox
3.16
|
Base class for Green And Red And NIR channels of Spot Images. More...
#include <otbSoilIndicesFunctor.h>
Inheritance diagram for otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >:Public Types | |
| typedef itk::VariableLengthVector < TInput1 > | InputVectorType |
Public Member Functions | |
| GAndRAndNirIndexBase () | |
| Constructor. | |
| virtual | ~GAndRAndNirIndexBase () |
| Desctructor. | |
| unsigned int | GetGreenIndex () const |
| Get Green 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 GAndRAndNirIndexBase &) const |
| TOutput | operator() (const InputVectorType &inputVector) const |
| TOutput | operator() (const TInput1 &g, const TInput2 &r, const TInput2 &nir) const |
| bool | operator== (const GAndRAndNirIndexBase &other) const |
| void | SetGreenIndex (unsigned int channel) |
| Set Green 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 &g, const TInput2 &r, const TInput2 &nir) const =0 |
Protected Attributes | |
| double | m_EpsilonToBeConsideredAsZero |
Private Attributes | |
| unsigned int | m_GreenIndex |
| unsigned int | m_NIRIndex |
| unsigned int | m_RedIndex |
Base class for Green And Red And NIR channels of Spot Images.
Definition at line 148 of file otbSoilIndicesFunctor.h.
| typedef itk::VariableLengthVector<TInput1> otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::InputVectorType |
Vector pixel type used to support both vector images and multiple input images
Definition at line 153 of file otbSoilIndicesFunctor.h.
|
inline |
Constructor.
Definition at line 180 of file otbSoilIndicesFunctor.h.
|
inlinevirtual |
Desctructor.
Definition at line 182 of file otbSoilIndicesFunctor.h.
|
protectedpure virtual |
|
inline |
Get Green Index.
Definition at line 190 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_GreenIndex.
|
inline |
Get index, generic method
Definition at line 232 of file otbSoilIndicesFunctor.h.
References otb::BandName::GREEN, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_GreenIndex, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex, otb::BandName::NIR, and otb::BandName::RED.
|
pure virtual |
Return the index name
Implemented in otb::Functor::IB2< TInput1, TInput2, TInput3, TOutput >.
|
inline |
Get Nir Index.
Definition at line 210 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex.
|
inline |
Get Red Index.
Definition at line 200 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
inline |
Definition at line 156 of file otbSoilIndicesFunctor.h.
|
inline |
Definition at line 167 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::Evaluate(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_GreenIndex, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, and otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
inline |
Definition at line 175 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::Evaluate().
|
inline |
Definition at line 161 of file otbSoilIndicesFunctor.h.
|
inline |
Set Green Index.
Definition at line 185 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_GreenIndex.
|
inline |
Set index, generic method
Definition at line 216 of file otbSoilIndicesFunctor.h.
References otb::BandName::GREEN, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_GreenIndex, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex, otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex, otb::BandName::NIR, and otb::BandName::RED.
|
inline |
Set Nir Index.
Definition at line 205 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_NIRIndex.
|
inline |
Set Red Index.
Definition at line 195 of file otbSoilIndicesFunctor.h.
References otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::m_RedIndex.
|
protected |
Definition at line 256 of file otbSoilIndicesFunctor.h.
|
private |
Definition at line 259 of file otbSoilIndicesFunctor.h.
Referenced by otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetGreenIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetGreenIndex(), and otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex().
|
private |
Definition at line 261 of file otbSoilIndicesFunctor.h.
Referenced by otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetNIRIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex(), and otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetNIRIndex().
|
private |
Definition at line 260 of file otbSoilIndicesFunctor.h.
Referenced by otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::GetRedIndex(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetIndex(), and otb::Functor::GAndRAndNirIndexBase< TInput1, TInput2, TInput3, TOutput >::SetRedIndex().