18 #ifndef itkBinaryMagnitudeImageFilter_h
19 #define itkBinaryMagnitudeImageFilter_h
32 template <
typename TInput1,
typename TInput2,
typename TOutput>
50 const auto dA = static_cast<double>(A);
51 const auto dB = static_cast<double>(B);
53 return static_cast<TOutput>(std::sqrt(dA * dA + dB * dB));
84 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
97 Modulus2<typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType>;
105 #ifdef ITK_USE_CONCEPT_CHECKING
116 #if !defined(ITK_WRAPPING_PARSER)