ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkAnisotropicDiffusionImageFilter.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 itkAnisotropicDiffusionImageFilter_h
19 #define itkAnisotropicDiffusionImageFilter_h
20 
23 #include "itkNumericTraits.h"
24 
25 namespace itk
26 {
72 template< typename TInputImage, typename TOutputImage >
74  public DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage >
75 {
76 public:
82 
86 
91 
94  itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension);
95 
98  typedef typename Superclass::PixelType PixelType;
100 
102  itkSetMacro(TimeStep, TimeStepType);
103  itkGetConstMacro(TimeStep, TimeStepType);
105 
108  itkSetMacro(ConductanceParameter, double);
109  itkGetConstMacro(ConductanceParameter, double);
111 
114  itkSetMacro(ConductanceScalingUpdateInterval, unsigned int);
115  itkGetConstMacro(ConductanceScalingUpdateInterval, unsigned int);
117 
120  itkSetMacro(ConductanceScalingParameter, double);
121  itkGetConstMacro(ConductanceScalingParameter, double);
123 
132  {
134  this->Modified();
136  }
138 
139  itkGetConstMacro(FixedAverageGradientMagnitude, double);
140 
141 protected:
144  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
145 
148  // virtual bool Halt();
149 
151  virtual void InitializeIteration() ITK_OVERRIDE;
152 
154 
155 private:
156  AnisotropicDiffusionImageFilter(const Self &); //purposely not implemented
157  void operator=(const Self &); //purposely not implemented
158 
163 
165 };
166 } // end namspace itk
167 
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkAnisotropicDiffusionImageFilter.hxx"
170 #endif
171 
172 #endif
DenseFiniteDifferenceImageFilter< TInputImage, TOutputImage > Superclass
Base class for all process objects that output image data.
virtual void InitializeIteration() override
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void Modified() const
Control indentation during Print() invocation.
Definition: itkIndent.h:49