ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkKrcahPreprocessingImageToImageFilter.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 * 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 itkKrcahPreprocessingImageToImageFilter_h
20#define itkKrcahPreprocessingImageToImageFilter_h
21
26#include "itkAddImageFilter.h"
27
28namespace itk
29{
54template <typename TInputImage, typename TOutputImage = TInputImage>
55class ITK_TEMPLATE_EXPORT KrcahPreprocessingImageToImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
56{
57public:
58 ITK_DISALLOW_COPY_AND_MOVE(KrcahPreprocessingImageToImageFilter);
59
65
67 itkNewMacro(Self);
68
70 itkOverrideGetNameOfClassMacro(KrcahPreprocessingImageToImageFilter);
71
74 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
75
77 using PixelType = typename TInputImage::PixelType;
78 using OutputPixelType = typename TOutputImage::PixelType;
81 using InputImageConstPointer = typename TInputImage::ConstPointer;
82
88
90 itkSetMacro(ReleaseInternalFilterData, bool);
91 itkGetConstMacro(ReleaseInternalFilterData, bool);
92 itkBooleanMacro(ReleaseInternalFilterData);
93
96 itkGetConstMacro(Sigma, RealType);
97
99 itkSetMacro(ScalingConstant, RealType);
100 itkGetConstMacro(ScalingConstant, RealType);
101
108 void
110
111 static_assert(TInputImage::ImageDimension == TOutputImage::ImageDimension);
112
113protected:
115
117 void
118 GenerateData() override;
119
120 void
121 PrintSelf(std::ostream & os, Indent indent) const override;
122
123private:
124 /* Internal member variables */
128
129 /* Filter member variables */
134}; // end class
135} // namespace itk
136
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkKrcahPreprocessingImageToImageFilter.hxx"
139#endif
140
141#endif // itkKrcahPreprocessingImageToImageFilter_h
Pixel-wise addition of two images.
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
Control indentation during Print() invocation.
Definition itkIndent.h:53
DiscreteGaussianImageFilter< TInputImage, TInputImage > GaussianFilterType
AddImageFilter< TInputImage, TInputImage, TOutputImage > AddFilterType
MultiplyImageFilter< TInputImage, TInputImage, TInputImage > MultiplyFilterType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
typename NumericTraits< OutputPixelType >::ValueType OutputPixelValueType
SubtractImageFilter< TInputImage, TInputImage, TInputImage > SubstractFilterType
typename NumericTraits< PixelType >::RealType RealType
void PrintSelf(std::ostream &os, Indent indent) const override
Pixel-wise multiplication of two images.
Implements transparent reference counting.
Pixel-wise subtraction of two images.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)