ITK  5.2.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  * 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 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 GPUBoxImageFilter : public GPUImageToImageFilter<TInputImage, TOutputImage, TParentImageFilter>
43 {
44 public:
45  ITK_DISALLOW_COPY_AND_MOVE(GPUBoxImageFilter);
46 
50  using CPUSuperclass = TParentImageFilter;
53 
55  itkNewMacro(Self);
56 
59 
61  using InputImageType = TInputImage;
66  using InputPixelType = typename TInputImage::PixelType;
67 
68  using OutputImageType = TOutputImage;
69  using OutputPixelType = typename OutputImageType::PixelType;
70 
74 
75 protected:
76  GPUBoxImageFilter() = default;
77  ~GPUBoxImageFilter() override = default;
78 
79  void
80  PrintSelf(std::ostream & os, Indent indent) const override
81  {
82  GPUSuperclass::PrintSelf(os, indent);
83  }
84 };
85 } // namespace itk
86 
87 #endif
itk::GPUBoxImageFilter::GPUBoxImageFilter
GPUBoxImageFilter()=default
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::GPUImageToImageFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
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::GPUBoxImageFilter::~GPUBoxImageFilter
~GPUBoxImageFilter() override=default
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:80
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