18 #ifndef itkConstrainedValueDifferenceImageFilter_h
19 #define itkConstrainedValueDifferenceImageFilter_h
57 template <
typename TInput1,
typename TInput2,
typename TOutput>
72 const auto dA = static_cast<double>(A);
73 const auto dB = static_cast<double>(B);
74 const double diff = dA - dB;
79 return static_cast<TOutput>(cdiff2);
84 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
97 typename TInputImage2::PixelType,
98 typename TOutputImage::PixelType>;
106 #ifdef ITK_USE_CONCEPT_CHECKING
119 #if !defined(ITK_WRAPPING_PARSER)