18 #ifndef __itkDivideImageFilter_h
19 #define __itkDivideImageFilter_h
33 template<
class TInput1,
class TInput2,
class TOutput >
47 return !( *
this != other );
50 inline TOutput
operator()(
const TInput1 & A,
const TInput2 & B)
const
52 if ( B != (TInput2)0 )
54 return (TOutput)( A / B );
80 template<
class TInputImage1,
class TInputImage2,
class TOutputImage >
85 typename TInputImage1::PixelType,
86 typename TInputImage2::PixelType,
87 typename TOutputImage::PixelType > >
100 typename TInputImage1::PixelType,
101 typename TInputImage2::PixelType,
102 typename TOutputImage::PixelType >
120 #ifdef ITK_USE_CONCEPT_CHECKING
126 typename TInputImage2::PixelType,
127 typename TOutputImage::PixelType > ) );
138 const typename Superclass::DecoratedInput2ImagePixelType *input
139 =
dynamic_cast< const typename Superclass::DecoratedInput2ImagePixelType *
>(
143 itkGenericExceptionMacro(<<
"The constant value used as denominator should not be set to zero");
147 Superclass::GenerateData();
153 void operator=(
const Self &);