21 #ifndef otbMultiplyByScalarImageFilter_h
22 #define otbMultiplyByScalarImageFilter_h
24 #include "itkUnaryFunctorImageFilter.h"
38 template <
class TInput,
class TOutput>
53 result =
static_cast<TOutput
>(
m_Coef * value);
72 template <
class TInputImage,
class TOutputImage>
74 :
public itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
75 Functor::MultiplyByScalar<typename TInputImage::PixelType, typename TOutputImage::PixelType>>
80 typedef typename itk::UnaryFunctorImageFilter<TInputImage, TOutputImage,
91 this->GetFunctor().SetCoef(Coef);
96 return (this->GetFunctor().GetCoef());
109 void operator=(
const Self&) =
delete;