OTB
9.0.0
Orfeo Toolbox
|
#include <otbIndicesStackFunctor.h>
Public Types | |
using | IndiceType = TIndice |
using | OutputType = itk::VariableLengthVector< typename IndiceType::OutputType > |
using | PixelType = typename IndiceType::PixelType |
std::vector< IndiceType * > | m_Indices |
IndicesStackFunctor (const std::vector< IndiceType * > &indices) | |
void | operator() (OutputType &out, const PixelType &in) const |
vcl_size_t | OutputSize (...) const |
A class to compute a stack of radiometric indices.
This functor can be built from a vector of TIndice*. its operator() will apply each functor of this vector to the input pixel, and return a VariableLengthVector containing the list resulting values. It can be used with otb::FunctorImageFilter
Definition at line 47 of file otbIndicesStackFunctor.h.
using otb::Functor::IndicesStackFunctor< TIndice >::IndiceType = TIndice |
Read input / output types from TIndice.
Definition at line 51 of file otbIndicesStackFunctor.h.
using otb::Functor::IndicesStackFunctor< TIndice >::OutputType = itk::VariableLengthVector<typename IndiceType::OutputType> |
Definition at line 55 of file otbIndicesStackFunctor.h.
using otb::Functor::IndicesStackFunctor< TIndice >::PixelType = typename IndiceType::PixelType |
Definition at line 52 of file otbIndicesStackFunctor.h.
|
inline |
indices | A std::vector<IndiceType*> for indices to compute the indice stack |
std::runtime_error | if indices is empty |
Definition at line 62 of file otbIndicesStackFunctor.h.
|
inline |
input | A itk::VariableLengthVector<TInput> holding the pixel values for each band |
Definition at line 77 of file otbIndicesStackFunctor.h.
References otb::Functor::IndicesStackFunctor< TIndice >::m_Indices.
|
inline |
Definition at line 90 of file otbIndicesStackFunctor.h.
References otb::Functor::IndicesStackFunctor< TIndice >::m_Indices.
|
private |
The list of indices to use.
Definition at line 97 of file otbIndicesStackFunctor.h.
Referenced by otb::Functor::IndicesStackFunctor< TIndice >::operator()(), and otb::Functor::IndicesStackFunctor< TIndice >::OutputSize().