18 #ifndef itkTernaryMagnitudeImageFilter_h 19 #define itkTernaryMagnitudeImageFilter_h 32 template<
typename TInput1,
typename TInput2,
typename TInput3,
typename TOutput >
46 return !( *
this != other );
51 const TInput3 & C)
const 52 {
return static_cast<TOutput
>(std::sqrt( static_cast<double>( A * A + B * B + C * C ) ) ); }
65 template<
typename TInputImage1,
typename TInputImage2,
66 typename TInputImage3,
typename TOutputImage >
70 TInputImage3, TOutputImage,
72 typename TInputImage1::PixelType,
73 typename TInputImage2::PixelType,
74 typename TInputImage3::PixelType,
75 typename TOutputImage::PixelType > >
81 TInputImage1, TInputImage2,
82 TInputImage3, TOutputImage,
84 typename TInputImage1::PixelType,
85 typename TInputImage2::PixelType,
86 typename TInputImage3::PixelType,
87 typename TOutputImage::PixelType >
106 void operator=(
const Self &) ITK_DELETE_FUNCTION;
Pixel-wise addition of three images.
TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, Functor::Modulus3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > > Superclass
virtual ~TernaryMagnitudeImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Implements pixel-wise generic operation of three images.
bool operator==(const Modulus3 &other) const
TernaryMagnitudeImageFilter()
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
bool operator!=(const Modulus3 &) const
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C) const
TernaryMagnitudeImageFilter Self