21 #ifndef otbDotProductImageFilter_h
22 #define otbDotProductImageFilter_h
39 template <
class TInput,
class TOutput>
61 assert(in.Size() ==
m_Vector.Size());
63 for (
unsigned int i = 0; i < in.Size(); ++i)
89 template <
typename TInputImage,
typename TOutputImage>
A generic functor filter templated by its functor.
Computes the dot product against a specific vector.
virtual ~DotProductFunctor()=default
DotProductFunctor()=default
OutputType operator()(const InputType &in)
void SetVector(const InputType &m)
const InputType & GetVector()
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.