ITK  6.0.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 * 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 itkGPUScalarAnisotropicDiffusionFunction_h
19#define itkGPUScalarAnisotropicDiffusionFunction_h
20
22
23namespace itk
24{
35itkGPUKernelClassMacro(GPUScalarAnisotropicDiffusionFunctionKernel);
36
37template <typename TImage>
39{
40public:
41 ITK_DISALLOW_COPY_AND_MOVE(GPUScalarAnisotropicDiffusionFunction);
42
48
49 itkOverrideGetNameOfClassMacro(GPUScalarAnisotropicDiffusionFunction);
50
52 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
53
55 using typename Superclass::ImageType;
56 using typename Superclass::PixelType;
57 using typename Superclass::PixelRealType;
58 using typename Superclass::RadiusType;
59 using typename Superclass::NeighborhoodType;
60 using typename Superclass::TimeStepType;
61
63 itkGetOpenCLSourceFromKernelMacro(GPUScalarAnisotropicDiffusionFunctionKernel);
64
66 void
68
69protected:
72};
73} // end namespace itk
74
75#ifndef ITK_MANUAL_INSTANTIATION
76# include "itkGPUScalarAnisotropicDiffusionFunction.hxx"
77#endif
78
79#endif
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename ConstNeighborhoodIterator< TImage >::RadiusType RadiusType
~GPUScalarAnisotropicDiffusionFunction() override=default
void GPUCalculateAverageGradientMagnitudeSquared(TImage *) override
itkGetOpenCLSourceFromKernelMacro(GPUScalarAnisotropicDiffusionFunctionKernel)
Light weight base class for most itk classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
itkGPUKernelClassMacro(GPUImageOpsKernel)