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);