ITK  5.4.0
Insight Toolkit
itkGPUBoxImageFilter.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 itkGPUBoxImageFilter_h
19 #define itkGPUBoxImageFilter_h
20 
22 #include "itkCastImageFilter.h"
23 #include "itkBoxImageFilter.h"
24 
25 namespace itk
26 {
39 template <typename TInputImage,
40  typename TOutputImage,
41  typename TParentImageFilter = BoxImageFilter<TInputImage, TOutputImage>>
42 class ITK_TEMPLATE_EXPORT GPUBoxImageFilter
43  : public GPUImageToImageFilter<TInputImage, TOutputImage, TParentImageFilter>
44 {
45 public:
46  ITK_DISALLOW_COPY_AND_MOVE(GPUBoxImageFilter);
47 
51  using CPUSuperclass = TParentImageFilter;
54 
56  itkNewMacro(Self);
57 
59  itkOverrideGetNameOfClassMacro(GPUBoxImageFilter);
60 
62  using InputImageType = TInputImage;
67  using InputPixelType = typename TInputImage::PixelType;
68 
69  using OutputImageType = TOutputImage;
70  using OutputPixelType = typename OutputImageType::PixelType;
71 
75 
76 protected:
77  GPUBoxImageFilter() = default;
78  ~GPUBoxImageFilter() override = default;
79 
80  void
81  PrintSelf(std::ostream & os, Indent indent) const override
82  {
83  GPUSuperclass::PrintSelf(os, indent);
84  }
85 };
86 } // namespace itk
87 
88 #endif
itk::MeanImageFilter
Applies an averaging filter to an image.
Definition: itkMeanImageFilter.h:52
itk::BoxImageFilter::OutputPixelType
typename TOutputImage::PixelType OutputPixelType
Definition: itkBoxImageFilter.h:67
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itkCastImageFilter.h
itk::BoxImageFilter::RadiusType
typename TInputImage::SizeType RadiusType
Definition: itkBoxImageFilter.h:73
itk::BoxImageFilter::OffsetType
typename TInputImage::OffsetType OffsetType
Definition: itkBoxImageFilter.h:62
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::BoxImageFilter::InputPixelType
typename TInputImage::PixelType InputPixelType
Definition: itkBoxImageFilter.h:64
itk::BoxImageFilter::IndexType
typename TInputImage::IndexType IndexType
Definition: itkBoxImageFilter.h:61
itkGPUImageToImageFilter.h
itk::GPUBoxImageFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
Definition: itkGPUBoxImageFilter.h:81
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::GPUImageToImageFilter
class to abstract the behaviour of the GPU filters.
Definition: itkGPUImageToImageFilter.h:41
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkBoxImageFilter.h
itk::BoxImageFilter::SizeType
typename TInputImage::SizeType SizeType
Definition: itkBoxImageFilter.h:60
itk::BoxImageFilter::RadiusValueType
typename TInputImage::SizeValueType RadiusValueType
Definition: itkBoxImageFilter.h:74
itk::GPUBoxImageFilter
A base class for all the GPU filters working on a box neighborhood.
Definition: itkGPUBoxImageFilter.h:42
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90
itk::BoxImageFilter::RegionType
typename TInputImage::RegionType RegionType
Definition: itkBoxImageFilter.h:59