21 #ifndef otbImageFunctionAdaptor_hxx
22 #define otbImageFunctionAdaptor_hxx
28 template <
class TInternalImageFunctionType,
class TOutputPrecision>
31 m_InternalImageFunction = InternalImageFunctionType::New();
32 m_Converter = ConverterType::New();
35 template <
class TInternalImageFunctionType,
class TOutputPrecision>
38 Superclass::PrintSelf(os, indent);
39 os << indent <<
"Internal Image Function: " << m_InternalImageFunction << std::endl;
42 template <
class TInternalImageFunctionType,
class TOutputPrecision>
47 this->GetInternalImageFunction()->SetInputImage(this->GetInputImage());
49 result = m_Converter->Convert(tmpResult);
OutputType EvaluateAtIndex(const IndexType &index) const override
Superclass::IndexType IndexType
Superclass::OutputType OutputType
InternalImageFunctionType::OutputType InternalImageFunctionOutputType
void PrintSelf(std::ostream &os, itk::Indent indent) const override
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.