18 #ifndef itkBinaryMagnitudeImageFilter_h
19 #define itkBinaryMagnitudeImageFilter_h
32 template <
typename TInput1,
typename TInput2,
typename TOutput>
47 const auto dA = static_cast<double>(A);
48 const auto dB = static_cast<double>(B);
50 return static_cast<TOutput>(std::sqrt(dA * dA + dB * dB));
81 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
94 Modulus2<typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType>;
102 #ifdef ITK_USE_CONCEPT_CHECKING
113 #if !defined(ITK_WRAPPING_PARSER)