ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkAnisotropicDiffusionImageFilter.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#ifndef itkAnisotropicDiffusionImageFilter_h
19#define itkAnisotropicDiffusionImageFilter_h
20
23#include "itkNumericTraits.h"
24
25namespace itk
26{
72template <typename TInputImage, typename TOutputImage>
73class ITK_TEMPLATE_EXPORT AnisotropicDiffusionImageFilter
74 : public DenseFiniteDifferenceImageFilter<TInputImage, TOutputImage>
75{
76public:
77 ITK_DISALLOW_COPY_AND_MOVE(AnisotropicDiffusionImageFilter);
78
84
86 itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
87
89 using typename Superclass::InputImageType;
90 using typename Superclass::OutputImageType;
91 using typename Superclass::UpdateBufferType;
92
95 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
96
99 using typename Superclass::PixelType;
100 using typename Superclass::TimeStepType;
101
103 itkSetMacro(TimeStep, TimeStepType);
104 itkGetConstMacro(TimeStep, TimeStepType);
106
109 itkSetMacro(ConductanceParameter, double);
110 itkGetConstMacro(ConductanceParameter, double);
112
115 itkSetMacro(ConductanceScalingUpdateInterval, unsigned int);
116 itkGetConstMacro(ConductanceScalingUpdateInterval, unsigned int);
118
121 itkSetMacro(ConductanceScalingParameter, double);
122 itkGetConstMacro(ConductanceScalingParameter, double);
124
132 void
139
140
141 itkGetConstMacro(FixedAverageGradientMagnitude, double);
142
143protected:
146 void
147 PrintSelf(std::ostream & os, Indent indent) const override;
148
151 // virtual bool Halt();
152
154 void
156
158
159private:
164
166};
167} // namespace itk
168
169#ifndef ITK_MANUAL_INSTANTIATION
170# include "itkAnisotropicDiffusionImageFilter.hxx"
171#endif
172
173#endif
typename FiniteDifferenceFunctionType::TimeStepType TimeStepType
DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > Superclass
~AnisotropicDiffusionImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename FiniteDifferenceFunctionType::TimeStepType TimeStepType
Control indentation during Print() invocation.
Definition itkIndent.h:50
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....