ITK  5.2.0
Insight Toolkit
itkTernaryAddImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 
38 template <typename TInputImage1, typename TInputImage2, typename TInputImage3, typename TOutputImage>
39 class TernaryAddImageFilter : public TernaryGeneratorImageFilter<TInputImage1, TInputImage2, TInputImage3, TOutputImage>
40 {
41 public:
42  ITK_DISALLOW_COPY_AND_MOVE(TernaryAddImageFilter);
43 
47 
50 
51  using FunctorType = Functor::Add3<typename TInputImage1::PixelType,
52  typename TInputImage2::PixelType,
53  typename TInputImage3::PixelType,
54  typename TOutputImage::PixelType>;
55 
57  itkNewMacro(Self);
58 
61 
62 protected:
64  {
65 #if !defined(ITK_WRAPPING_PARSER)
67 #endif
68  }
69  virtual ~TernaryAddImageFilter() = default;
70 };
71 } // end namespace itk
72 
73 #endif
itk::TernaryAddImageFilter::TernaryAddImageFilter
TernaryAddImageFilter()
Definition: itkTernaryAddImageFilter.h:63
itk::TernaryAddImageFilter::~TernaryAddImageFilter
virtual ~TernaryAddImageFilter()=default
itk::Functor::Add3
Definition: itkArithmeticOpsFunctors.h:66
itk::SmartPointer< Self >
itk::TernaryAddImageFilter
Pixel-wise addition of three images.
Definition: itkTernaryAddImageFilter.h:39
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itkArithmeticOpsFunctors.h
itk::TernaryGeneratorImageFilter
Implements pixel-wise generic operation of three images or images with constants.
Definition: itkTernaryGeneratorImageFilter.h:54
itk::TernaryGeneratorImageFilter::SetFunctor
void SetFunctor(const std::function< ConstRefFunctionType > &f)
Definition: itkTernaryGeneratorImageFilter.h:166
itk::TernaryAddImageFilter::FunctorType
Functor::Add3< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > FunctorType
Definition: itkTernaryAddImageFilter.h:54
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itkTernaryGeneratorImageFilter.h