18 #ifndef __itkWeightedAddImageFilter_h
19 #define __itkWeightedAddImageFilter_h
33 template<
class TInput1,
class TInput2,
class TOutput >
53 return !( *
this != other );
56 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
61 return static_cast< TOutput
>( sum1 + sum2 );
113 template<
class TInputImage1,
class TInputImage2,
class TOutputImage >
117 Functor::WeightedAdd2<
118 typename TInputImage1::PixelType,
119 typename TInputImage2::PixelType,
120 typename TOutputImage::PixelType > >
128 typename TInputImage1::PixelType,
129 typename TInputImage2::PixelType,
130 typename TOutputImage::PixelType >
149 this->GetFunctor().SetAlpha(alpha);
157 return this->GetFunctor().GetAlpha();
160 #ifdef ITK_USE_CONCEPT_CHECKING
166 RealType, RealType > ) );
169 RealType, RealType > ) );
180 void operator=(
const Self &);