18 #ifndef itkMultiplyImageFilter_h
19 #define itkMultiplyImageFilter_h
32 template<
typename TInput1,
typename TInput2 = TInput1,
typename TOutput = TInput1 >
46 return !( *
this != other );
49 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
50 {
return (TOutput)( A * B ); }
69 template<
typename TInputImage1,
typename TInputImage2 = TInputImage1,
typename TOutputImage = TInputImage1 >
74 typename TInputImage1::PixelType,
75 typename TInputImage2::PixelType,
76 typename TOutputImage::PixelType > >
83 typename TInputImage1::PixelType,
84 typename TInputImage2::PixelType,
85 typename TOutputImage::PixelType >
97 #ifdef ITK_USE_CONCEPT_CHECKING
101 typename TInputImage2::PixelType,
102 typename TOutputImage::PixelType > ) );
TOutput operator()(const TInput1 &A, const TInput2 &B) const
SmartPointer< const Self > ConstPointer
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Mult< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
bool operator!=(const Mult &) const
SmartPointer< Self > Pointer
virtual ~MultiplyImageFilter()
Base class for all process objects that output image data.
bool operator==(const Mult &other) const
Pixel-wise multiplication of two images.
void operator=(const Self &)
#define itkConceptMacro(name, concept)
Implements pixel-wise generic operation of two images, or of an image and a constant.