3
3
Program: Insight Segmentation & Registration Toolkit
4
4
Module: $RCSfile: itkTernaryMagnitudeImageFilter.h,v $
6
Date: $Date: 2007-09-27 11:36:41 $
7
Version: $Revision: 1.26 $
6
Date: $Date: 2008-10-18 16:11:14 $
7
Version: $Revision: 1.27 $
9
9
Copyright (c) Insight Software Consortium. All rights reserved.
10
10
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
42
42
bool operator!=( const Modulus3 & ) const
46
46
bool operator==( const Modulus3 & other ) const
48
48
return !(*this != other);
50
50
inline TOutput operator()( const TInput1 & A,
53
{ return (TOutput) vcl_sqrt((double)(A*A + B*B + C*C) ); }
53
{ return (TOutput) vcl_sqrt((double)(A*A + B*B + C*C) ); }
70
70
/** Standard class typedefs. */
71
typedef TernaryMagnitudeImageFilter Self;
72
typedef TernaryFunctorImageFilter<TInputImage1,TInputImage2,
73
TInputImage3,TOutputImage,
75
typename TInputImage1::PixelType,
76
typename TInputImage2::PixelType,
77
typename TInputImage3::PixelType,
78
typename TOutputImage::PixelType>
80
typedef SmartPointer<Self> Pointer;
81
typedef SmartPointer<const Self> ConstPointer;
71
typedef TernaryMagnitudeImageFilter Self;
72
typedef TernaryFunctorImageFilter<
73
TInputImage1,TInputImage2,
74
TInputImage3,TOutputImage,
76
typename TInputImage1::PixelType,
77
typename TInputImage2::PixelType,
78
typename TInputImage3::PixelType,
79
typename TOutputImage::PixelType>
81
typedef SmartPointer<Self> Pointer;
82
typedef SmartPointer<const Self> ConstPointer;
83
84
/** Method for creation through the object factory. */