18 #ifndef itkDivideImageFilter_h
19 #define itkDivideImageFilter_h
46 template<
typename TInputImage1,
typename TInputImage2,
typename TOutputImage >
51 typename TInputImage1::PixelType,
52 typename TInputImage2::PixelType,
53 typename TOutputImage::PixelType > >
66 typename TInputImage1::PixelType,
67 typename TInputImage2::PixelType,
68 typename TOutputImage::PixelType >
86 #ifdef ITK_USE_CONCEPT_CHECKING
92 typename TInputImage2::PixelType,
93 typename TOutputImage::PixelType > ) );
103 const typename Superclass::DecoratedInput2ImagePixelType *input
104 =
dynamic_cast< const typename Superclass::DecoratedInput2ImagePixelType *
>(
108 itkGenericExceptionMacro(<<
"The constant value used as denominator should not be set to zero");
112 Superclass::GenerateData();
virtual ~DivideImageFilter() override
Base class for all process objects that output image data.
SmartPointer< const Self > ConstPointer
void GenerateData() override
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
bool AlmostEquals(T1 x1, T2 x2)
Provide consistent equality checks between values of potentially different scalar or complex types...
#define itkConceptMacro(name, concept)
SmartPointer< Self > Pointer
Implements pixel-wise generic operation of two images, or of an image and a constant.
BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > Superclass
Pixel-wise division of two images.