ITK  6.0.0
Insight Toolkit
itkScalarAnisotropicDiffusionFunction.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 itkScalarAnisotropicDiffusionFunction_h
19 #define itkScalarAnisotropicDiffusionFunction_h
20 
22 
23 namespace itk
24 {
40 template <typename TImage>
41 class ITK_TEMPLATE_EXPORT ScalarAnisotropicDiffusionFunction : public AnisotropicDiffusionFunction<TImage>
42 {
43 public:
44  ITK_DISALLOW_COPY_AND_MOVE(ScalarAnisotropicDiffusionFunction);
45 
51 
53  static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
54 
56  using typename Superclass::ImageType;
57  using typename Superclass::PixelType;
58  using typename Superclass::PixelRealType;
59  using typename Superclass::RadiusType;
60  using typename Superclass::NeighborhoodType;
61  using typename Superclass::TimeStepType;
62 
64  itkOverrideGetNameOfClassMacro(ScalarAnisotropicDiffusionFunction);
65 
66  void
67  CalculateAverageGradientMagnitudeSquared(TImage *) override;
68 
69 protected:
71  ~ScalarAnisotropicDiffusionFunction() override = default;
72 };
73 } // end namespace itk
74 
75 #ifndef ITK_MANUAL_INSTANTIATION
76 # include "itkScalarAnisotropicDiffusionFunction.hxx"
77 #endif
78 
79 #endif
itk::FiniteDifferenceFunction< TImage >::RadiusType
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
Definition: itkFiniteDifferenceFunction.h:97
itk::FiniteDifferenceFunction< TImage >::PixelRealType
double PixelRealType
Definition: itkFiniteDifferenceFunction.h:84
itkAnisotropicDiffusionFunction.h
itk::SmartPointer< Self >
itk::FiniteDifferenceFunction< TImage >::ImageType
TImage ImageType
Definition: itkFiniteDifferenceFunction.h:82
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::ScalarAnisotropicDiffusionFunction
Definition: itkScalarAnisotropicDiffusionFunction.h:41
itk::AnisotropicDiffusionFunction
Definition: itkAnisotropicDiffusionFunction.h:139
itk::FiniteDifferenceFunction< TImage >::PixelType
typename ImageType::PixelType PixelType
Definition: itkFiniteDifferenceFunction.h:83
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ConstNeighborhoodIterator
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Definition: itkConstNeighborhoodIterator.h:51
itk::FiniteDifferenceFunction< TImage >
itk::FiniteDifferenceFunction< TImage >::TimeStepType
double TimeStepType
Definition: itkFiniteDifferenceFunction.h:90