ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkConjugateGradientGetX_kPlusOneImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright RTK 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 * https://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
19#ifndef rtkConjugateGradientGetX_kPlusOneImageFilter_h
20#define rtkConjugateGradientGetX_kPlusOneImageFilter_h
21
22#include <itkAddImageFilter.h>
25
26namespace rtk
27{
34template <typename TInputImage>
36 : public itk::ImageToImageFilter<TInputImage, TInputImage>
37{
38public:
39 ITK_DISALLOW_COPY_AND_MOVE(ConjugateGradientGetX_kPlusOneImageFilter);
40
45 using OutputImageRegionType = typename TInputImage::RegionType;
47
49 itkNewMacro(Self);
50
52 itkOverrideGetNameOfClassMacro(ConjugateGradientGetX_kPlusOneImageFilter);
53
55 void
56 SetXk(const TInputImage * Xk);
57 void
58 SetPk(const TInputImage * Pk);
59
60 itkGetMacro(Alphak, double);
61 itkSetMacro(Alphak, double);
62
66
67protected:
70
71 typename TInputImage::Pointer
73 typename TInputImage::Pointer
75
77 void
78 GenerateData() override;
79
80 void
82
83private:
84 double m_Alphak;
85
89};
90} // namespace rtk
91
92
93#ifndef ITK_MANUAL_INSTANTIATION
94# include "rtkConjugateGradientGetX_kPlusOneImageFilter.hxx"
95#endif
96
97#endif
Pixel-wise addition of two images.
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Definition itkImage.h:89
Pixel-wise multiplication of two images.
Implements transparent reference counting.
~ConjugateGradientGetX_kPlusOneImageFilter() override=default
itk::Image< typename TInputImage::InternalPixelType, TInputImage::ImageDimension > AlphaImage
itk::ImageToImageFilter< TInputImage, TInputImage > Superclass
itk::MultiplyImageFilter< TInputImage, AlphaImage, TInputImage > MultiplyFilterType
#define itkSetMacro(name, type)