ITK  5.2.0
Insight Toolkit
itkGPUScalarAnisotropicDiffusionFunction.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 itkGPUScalarAnisotropicDiffusionFunction_h
19 #define itkGPUScalarAnisotropicDiffusionFunction_h
20 
22 
23 namespace itk
24 {
35 itkGPUKernelClassMacro(GPUScalarAnisotropicDiffusionFunctionKernel);
36 
37 template <typename TImage>
39 {
40 public:
41  ITK_DISALLOW_COPY_AND_MOVE(GPUScalarAnisotropicDiffusionFunction);
42 
48 
50 
52  static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
53 
55  using ImageType = typename Superclass::ImageType;
56  using PixelType = typename Superclass::PixelType;
61 
63  itkGetOpenCLSourceFromKernelMacro(GPUScalarAnisotropicDiffusionFunctionKernel);
64 
66  void
67  GPUCalculateAverageGradientMagnitudeSquared(TImage *) override;
68 
69 protected:
71  ~GPUScalarAnisotropicDiffusionFunction() override = default;
72 };
73 } // end namespace itk
74 
75 #ifndef ITK_MANUAL_INSTANTIATION
76 # include "itkGPUScalarAnisotropicDiffusionFunction.hxx"
77 #endif
78 
79 #endif
itk::GPUAnisotropicDiffusionFunction::PixelType
typename Superclass::PixelType PixelType
Definition: itkGPUAnisotropicDiffusionFunction.h:54
itk::GPUAnisotropicDiffusionFunction::ImageType
typename Superclass::ImageType ImageType
Definition: itkGPUAnisotropicDiffusionFunction.h:53
itk::GPUAnisotropicDiffusionFunction::TimeStepType
typename Superclass::TimeStepType TimeStepType
Definition: itkGPUAnisotropicDiffusionFunction.h:58
itk::GPUAnisotropicDiffusionFunction
Definition: itkGPUAnisotropicDiffusionFunction.h:38
itk::GPUScalarAnisotropicDiffusionFunction::PixelRealType
typename Superclass::PixelRealType PixelRealType
Definition: itkGPUScalarAnisotropicDiffusionFunction.h:57
itkGPUAnisotropicDiffusionFunction.h
itk::GPUFiniteDifferenceFunction< TImage >::ImageType
typename Superclass::ImageType ImageType
Definition: itkGPUFiniteDifferenceFunction.h:63
itk::GPUFiniteDifferenceFunction< TImage >::TimeStepType
typename Superclass::TimeStepType TimeStepType
Definition: itkGPUFiniteDifferenceFunction.h:71
itk::SmartPointer< Self >
itk::GPUAnisotropicDiffusionFunction::RadiusType
typename Superclass::RadiusType RadiusType
Definition: itkGPUAnisotropicDiffusionFunction.h:56
itk::GPUAnisotropicDiffusionFunction::NeighborhoodType
typename Superclass::NeighborhoodType NeighborhoodType
Definition: itkGPUAnisotropicDiffusionFunction.h:57
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::GPUFiniteDifferenceFunction< TImage >::NeighborhoodType
typename Superclass::NeighborhoodType NeighborhoodType
Definition: itkGPUFiniteDifferenceFunction.h:81
itk::GPUFiniteDifferenceFunction< TImage >
itk::GPUScalarAnisotropicDiffusionFunction
Definition: itkGPUScalarAnisotropicDiffusionFunction.h:38
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUImageOpsKernel)
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::GPUFiniteDifferenceFunction< TImage >::PixelType
typename Superclass::PixelType PixelType
Definition: itkGPUFiniteDifferenceFunction.h:64
itk::GPUFiniteDifferenceFunction< TImage >::PixelRealType
typename Superclass::PixelRealType PixelRealType
Definition: itkGPUFiniteDifferenceFunction.h:65
itk::GPUFiniteDifferenceFunction< TImage >::RadiusType
typename Superclass::RadiusType RadiusType
Definition: itkGPUFiniteDifferenceFunction.h:78