ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkWrapPadImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 {
52 template< typename TInputImage, typename TOutputImage >
53 class ITK_TEMPLATE_EXPORT WrapPadImageFilter:
54  public PadImageFilter< TInputImage, TOutputImage >
55 {
56 public:
57  ITK_DISALLOW_COPY_AND_ASSIGN(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
96  itkConceptMacro( InputConvertibleToOutputCheck,
98  // End concept checking
99 #endif
100 
101 protected:
103  ~WrapPadImageFilter() override = default;
104 
105 private:
107 };
108 } // end namespace itk
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "itkWrapPadImageFilter.hxx"
112 #endif
113 
114 #endif
typename OutputImageType::Pointer OutputImagePointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
A function object that determines values outside of image boundaries according to periodic (wrap-arou...
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename TOutputImage::SizeType OutputImageSizeType
Increase the image size by padding with replicants of the input image value.
typename TOutputImage::IndexType OutputImageIndexType
typename InputImageType::RegionType InputImageRegionType
PeriodicBoundaryCondition< TInputImage, TOutputImage > m_InternalBoundaryCondition
Increase the image size by padding. Superclass for filters that fill in extra pixels.
typename TInputImage::IndexType InputImageIndexType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
typename TInputImage::SizeType InputImageSizeType