ITK  5.2.0
Insight Toolkit
itkGPUAnisotropicDiffusionImageFilter.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 itkGPUAnisotropicDiffusionImageFilter_h
19 #define itkGPUAnisotropicDiffusionImageFilter_h
20 
23 #include "itkNumericTraits.h"
24 
25 namespace itk
26 {
34 template <typename TInputImage,
35  typename TOutputImage,
36  typename TParentImageFilter = AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>>
37 class ITK_TEMPLATE_EXPORT GPUAnisotropicDiffusionImageFilter
38  : public GPUDenseFiniteDifferenceImageFilter<TInputImage, TOutputImage, TParentImageFilter>
39 {
40 public:
41  ITK_DISALLOW_COPY_AND_MOVE(GPUAnisotropicDiffusionImageFilter);
42 
49 
52 
55  using OutputImageType = typename GPUSuperclass::OutputImageType;
56  using UpdateBufferType = typename GPUSuperclass::UpdateBufferType;
57 
60  static constexpr unsigned int ImageDimension = GPUSuperclass::ImageDimension;
61 
64  using PixelType = typename GPUSuperclass::PixelType;
65  using TimeStepType = typename GPUSuperclass::TimeStepType;
66 
67 protected:
69  ~GPUAnisotropicDiffusionImageFilter() override = default;
70  void
71  PrintSelf(std::ostream & os, Indent indent) const override;
72 
74  void
75  InitializeIteration() override;
76 };
77 } // namespace itk
78 
79 #ifndef ITK_MANUAL_INSTANTIATION
80 # include "itkGPUAnisotropicDiffusionImageFilter.hxx"
81 #endif
82 
83 #endif
itk::GPUInPlaceImageFilter::OutputImageType
typename GPUSuperclass::OutputImageType OutputImageType
Definition: itkGPUInPlaceImageFilter.h:56
itk::GPUDenseFiniteDifferenceImageFilter::TimeStepType
typename GPUSuperclass::TimeStepType TimeStepType
Definition: itkGPUDenseFiniteDifferenceImageFilter.h:85
itk::GPUAnisotropicDiffusionImageFilter
Definition: itkGPUAnisotropicDiffusionImageFilter.h:37
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::GPUDenseFiniteDifferenceImageFilter::UpdateBufferType
OutputImageType UpdateBufferType
Definition: itkGPUDenseFiniteDifferenceImageFilter.h:88
itk::GPUImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkGPUImageToImageFilter.h:63
itk::GPUImageToImageFilter
class to abstract the behaviour of the GPU filters.
Definition: itkGPUImageToImageFilter.h:41
itk::GPUDenseFiniteDifferenceImageFilter
Definition: itkGPUDenseFiniteDifferenceImageFilter.h:55
itkAnisotropicDiffusionImageFilter.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkGPUDenseFiniteDifferenceImageFilter.h
itkNumericTraits.h
itk::GPUInPlaceImageFilter::CPUSuperclass
TParentImageFilter CPUSuperclass
Definition: itkGPUInPlaceImageFilter.h:48
itk::GPUDenseFiniteDifferenceImageFilter::PixelType
typename GPUSuperclass::PixelType PixelType
Definition: itkGPUDenseFiniteDifferenceImageFilter.h:82
itk::AnisotropicDiffusionImageFilter
Definition: itkAnisotropicDiffusionImageFilter.h:73