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 (TOutput)std::sqrt( (
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 >
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()
Implements pixel-wise generic operation of three images.
Base class for all process objects that output image data.
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
void operator=(const Self &)
TernaryMagnitudeImageFilter Self