ITK  5.2.0
Insight Toolkit
itkVectorAnisotropicDiffusionFunction.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  * 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 itkVectorAnisotropicDiffusionFunction_h
19 #define itkVectorAnisotropicDiffusionFunction_h
20 
22 #include "itkVector.h"
23 
24 namespace itk
25 {
52 template <typename TImage>
53 class ITK_TEMPLATE_EXPORT VectorAnisotropicDiffusionFunction : public AnisotropicDiffusionFunction<TImage>
54 {
55 public:
56  ITK_DISALLOW_COPY_AND_MOVE(VectorAnisotropicDiffusionFunction);
57 
63 
66 
68  using ImageType = typename Superclass::ImageType;
69  using PixelType = typename Superclass::PixelType;
73 
75  static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
76  static constexpr unsigned int VectorDimension = PixelType::Dimension;
77 
79  void
80  CalculateAverageGradientMagnitudeSquared(TImage *) override;
81 
82 protected:
84  ~VectorAnisotropicDiffusionFunction() override = default;
85  void
86  PrintSelf(std::ostream & os, Indent indent) const override
87  {
88  Superclass::PrintSelf(os, indent);
89  }
90 };
91 } // end namespace itk
92 
93 #ifndef ITK_MANUAL_INSTANTIATION
94 # include "itkVectorAnisotropicDiffusionFunction.hxx"
95 #endif
96 
97 #endif
itk::AnisotropicDiffusionFunction::RadiusType
typename Superclass::RadiusType RadiusType
Definition: itkAnisotropicDiffusionFunction.h:158
itk::FiniteDifferenceFunction< TImage >::RadiusType
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
Definition: itkFiniteDifferenceFunction.h:97
itk::AnisotropicDiffusionFunction::PixelType
typename Superclass::PixelType PixelType
Definition: itkAnisotropicDiffusionFunction.h:156
itkAnisotropicDiffusionFunction.h
itk::AnisotropicDiffusionFunction::NeighborhoodType
typename Superclass::NeighborhoodType NeighborhoodType
Definition: itkAnisotropicDiffusionFunction.h:159
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::FiniteDifferenceFunction< TImage >::ImageType
TImage ImageType
Definition: itkFiniteDifferenceFunction.h:82
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::AnisotropicDiffusionFunction::TimeStepType
typename Superclass::TimeStepType TimeStepType
Definition: itkAnisotropicDiffusionFunction.h:160
itk::VectorAnisotropicDiffusionFunction
Definition: itkVectorAnisotropicDiffusionFunction.h:53
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: itkAnnulusOperator.h:24
itk::ConstNeighborhoodIterator
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Definition: itkConstNeighborhoodIterator.h:51
itkVector.h
itk::VectorAnisotropicDiffusionFunction::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
Definition: itkVectorAnisotropicDiffusionFunction.h:86
itk::FiniteDifferenceFunction< TImage >
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition: itkGTestTypedefsAndConstructors.h:44
itk::FiniteDifferenceFunction< TImage >::TimeStepType
double TimeStepType
Definition: itkFiniteDifferenceFunction.h:90
itk::AnisotropicDiffusionFunction::ImageType
typename Superclass::ImageType ImageType
Definition: itkAnisotropicDiffusionFunction.h:155