ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkZeroFluxNeumannPadImageFilter.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 itkZeroFluxNeumannPadImageFilter_h
19 #define itkZeroFluxNeumannPadImageFilter_h
20 
21 #include "itkPadImageFilter.h"
22 
24 
25 namespace itk
26 {
27 
60 template< typename TInputImage, typename TOutputImage >
61 class ITK_TEMPLATE_EXPORT ZeroFluxNeumannPadImageFilter :
62  public PadImageFilter< TInputImage, TOutputImage >
63 {
64 public:
65  ITK_DISALLOW_COPY_AND_ASSIGN(ZeroFluxNeumannPadImageFilter);
66 
72 
74  itkNewMacro(Self);
75 
78 
80  using OutputImageRegionType = typename Superclass::OutputImageRegionType;
81  using InputImageRegionType = typename Superclass::InputImageRegionType;
82  using RegionType = typename Superclass::InputImageRegionType;
83 
85  using OutputImagePixelType = typename Superclass::OutputImagePixelType;
86  using InputImagePixelType = typename Superclass::InputImagePixelType;
87 
89  using OutputImageIndexType = typename Superclass::OutputImageIndexType;
90  using InputImageIndexType = typename Superclass::InputImageIndexType;
91  using OutputImageSizeType = typename Superclass::OutputImageSizeType;
92  using InputImageSizeType = typename Superclass::InputImageSizeType;
93  using IndexType = typename Superclass::InputImageIndexType;
94  using SizeType = typename Superclass::InputImageSizeType;
95 
97  static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
98  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
99 
100 #ifdef ITK_USE_CONCEPT_CHECKING
101  // Begin concept checking
102  itkConceptMacro(OutputEqualityComparableCheck,
104  itkConceptMacro(InputConvertibleToOutputCheck,
106  itkConceptMacro(SameDimensionCheck,
108  itkConceptMacro(OutputOStreamWritableCheck,
110  // End concept checking
111 #endif
112 
113 protected:
115  ~ZeroFluxNeumannPadImageFilter() override = default;
116 
117 private:
119 };
120 } // end namespace itk
121 
122 #ifndef ITK_MANUAL_INSTANTIATION
123 #include "itkZeroFluxNeumannPadImageFilter.hxx"
124 #endif
125 
126 #endif
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
typename Superclass::InputImageIndexType IndexType
Increase the image size by padding according to the zero-flux Neumann boundary condition.
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.
typename TInputImage::SizeType SizeType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
ZeroFluxNeumannBoundaryCondition< TInputImage, TOutputImage > m_InternalBoundaryCondition
typename OutputImageType::RegionType OutputImageRegionType
typename TOutputImage::SizeType OutputImageSizeType
typename TOutputImage::IndexType OutputImageIndexType
typename InputImageType::RegionType InputImageRegionType
typename Superclass::InputImageRegionType RegionType
Increase the image size by padding. Superclass for filters that fill in extra pixels.
typename TInputImage::IndexType InputImageIndexType
#define itkConceptMacro(name, concept)
typename TInputImage::SizeType InputImageSizeType