ITK  5.2.0
Insight Toolkit
itkWrapPadImageFilter.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 itkWrapPadImageFilter_h
19 #define itkWrapPadImageFilter_h
20 
21 #include "itkPadImageFilter.h"
22 
24 
25 namespace itk
26 {
53 template <typename TInputImage, typename TOutputImage>
54 class ITK_TEMPLATE_EXPORT WrapPadImageFilter : public PadImageFilter<TInputImage, TOutputImage>
55 {
56 public:
57  ITK_DISALLOW_COPY_AND_MOVE(WrapPadImageFilter);
58 
64 
66  itkNewMacro(Self);
67 
69  itkTypeMacro(WrapPadImageFilter, PadImageFilter);
70 
71  using InputImageType = typename Superclass::InputImageType;
72  using OutputImageType = typename Superclass::OutputImageType;
73  using InputImagePointer = typename Superclass::InputImagePointer;
74  using OutputImagePointer = typename Superclass::OutputImagePointer;
75  using InputImageConstPointer = typename Superclass::InputImageConstPointer;
76 
78  using OutputImageRegionType = typename Superclass::OutputImageRegionType;
79  using InputImageRegionType = typename Superclass::InputImageRegionType;
80 
82  using OutputImagePixelType = typename Superclass::OutputImagePixelType;
83  using InputImagePixelType = typename Superclass::InputImagePixelType;
84 
86  using OutputImageIndexType = typename Superclass::OutputImageIndexType;
87  using InputImageIndexType = typename Superclass::InputImageIndexType;
88  using OutputImageSizeType = typename Superclass::OutputImageSizeType;
89  using InputImageSizeType = typename Superclass::InputImageSizeType;
90 
92  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
93 
94 #ifdef ITK_USE_CONCEPT_CHECKING
95  // Begin concept checking
97  // End concept checking
98 #endif
99 
100 protected:
102  ~WrapPadImageFilter() override = default;
103 
104 private:
106 };
107 } // end namespace itk
108 
109 #ifndef ITK_MANUAL_INSTANTIATION
110 # include "itkWrapPadImageFilter.hxx"
111 #endif
112 
113 #endif
itk::ImageSource::OutputImagePointer
typename OutputImageType::Pointer OutputImagePointer
Definition: itkImageSource.h:91
itk::PadImageFilter::InputImageIndexType
typename TInputImage::IndexType InputImageIndexType
Definition: itkPadImageFilter.h:72
itk::PadImageFilter::OutputImageSizeType
typename TOutputImage::SizeType OutputImageSizeType
Definition: itkPadImageFilter.h:73
itk::PeriodicBoundaryCondition
A function object that determines values outside of image boundaries according to periodic (wrap-arou...
Definition: itkPeriodicBoundaryCondition.h:38
itk::PadImageFilter::OutputImageIndexType
typename TOutputImage::IndexType OutputImageIndexType
Definition: itkPadImageFilter.h:71
itk::SmartPointer< Self >
itk::WrapPadImageFilter
Increase the image size by padding with replicants of the input image value.
Definition: itkWrapPadImageFilter.h:54
itk::PadImageFilter::InputImageSizeType
typename TInputImage::SizeType InputImageSizeType
Definition: itkPadImageFilter.h:74
itk::ImageToImageFilter::InputImagePixelType
typename InputImageType::PixelType InputImagePixelType
Definition: itkImageToImageFilter.h:133
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::ImageToImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition: itkImageToImageFilter.h:130
itk::WrapPadImageFilter::m_InternalBoundaryCondition
PeriodicBoundaryCondition< TInputImage, TOutputImage > m_InternalBoundaryCondition
Definition: itkWrapPadImageFilter.h:105
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::PadImageFilter
Increase the image size by padding. Superclass for filters that fill in extra pixels.
Definition: itkPadImageFilter.h:48
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itkPeriodicBoundaryCondition.h
itkPadImageFilter.h
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itk::ImageSource::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkImageSource.h:93
itk::Concept::Convertible
Definition: itkConceptChecking.h:216
itk::ImageToImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkImageToImageFilter.h:132
itk::ImageToImageFilter::InputImageConstPointer
typename InputImageType::ConstPointer InputImageConstPointer
Definition: itkImageToImageFilter.h:131
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90