ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkTernaryAddImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkTernaryAddImageFilter_h
19 #define itkTernaryAddImageFilter_h
20 
23 
24 namespace itk
25 {
26 
37 template< typename TInputImage1, typename TInputImage2,
38  typename TInputImage3, typename TOutputImage >
40  public
41  TernaryFunctorImageFilter< TInputImage1, TInputImage2,
42  TInputImage3, TOutputImage,
43  Functor::Add3< typename TInputImage1::PixelType,
44  typename TInputImage2::PixelType,
45  typename TInputImage3::PixelType,
46  typename TOutputImage::PixelType > >
47 {
48 public:
52  TInputImage1, TInputImage2,
53  TInputImage3, TOutputImage,
54  Functor::Add3< typename TInputImage1::PixelType,
55  typename TInputImage2::PixelType,
56  typename TInputImage3::PixelType,
57  typename TOutputImage::PixelType > > Superclass;
58 
61 
63  itkNewMacro(Self);
64 
66  itkTypeMacro(TernaryAddImageFilter,
68 
69 protected:
72 
73 private:
74  ITK_DISALLOW_COPY_AND_ASSIGN(TernaryAddImageFilter);
75 };
76 } // end namespace itk
77 
78 #endif
TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, Functor::Add3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > > Superclass
Implements pixel-wise generic operation of three images.
Base class for all process objects that output image data.
Pixel-wise addition of three images.
SmartPointer< const Self > ConstPointer