ITK  5.2.0
Insight Toolkit
itkZeroFluxNeumannPadImageFilter.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 itkZeroFluxNeumannPadImageFilter_h
19 #define itkZeroFluxNeumannPadImageFilter_h
20 
21 #include "itkPadImageFilter.h"
22 
24 
25 namespace itk
26 {
27 
61 template <typename TInputImage, typename TOutputImage>
62 class ITK_TEMPLATE_EXPORT ZeroFluxNeumannPadImageFilter : 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, (Concept::EqualityComparable<OutputImagePixelType>));
106  // End concept checking
107 #endif
108 
109 protected:
111  ~ZeroFluxNeumannPadImageFilter() override = default;
112 
113 private:
115 };
116 } // end namespace itk
117 
118 #ifndef ITK_MANUAL_INSTANTIATION
119 # include "itkZeroFluxNeumannPadImageFilter.hxx"
120 #endif
121 
122 #endif
itk::Concept::OStreamWritable
Definition: itkConceptChecking.h:634
itk::ZeroFluxNeumannPadImageFilter
Increase the image size by padding according to the zero-flux Neumann boundary condition.
Definition: itkZeroFluxNeumannPadImageFilter.h:62
itk::PadImageFilter::InputImageIndexType
typename TInputImage::IndexType InputImageIndexType
Definition: itkPadImageFilter.h:72
itk::PadImageFilter::OutputImageSizeType
typename TOutputImage::SizeType OutputImageSizeType
Definition: itkPadImageFilter.h:73
itk::PadImageFilter::OutputImageIndexType
typename TOutputImage::IndexType OutputImageIndexType
Definition: itkPadImageFilter.h:71
itk::ZeroFluxNeumannPadImageFilter::IndexType
typename Superclass::InputImageIndexType IndexType
Definition: itkZeroFluxNeumannPadImageFilter.h:93
itk::SmartPointer< Self >
itk::Concept::SameDimension
Definition: itkConceptChecking.h:692
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::PadImageFilter::SizeType
typename TInputImage::SizeType SizeType
Definition: itkPadImageFilter.h:75
itk::ZeroFluxNeumannPadImageFilter::m_InternalBoundaryCondition
ZeroFluxNeumannBoundaryCondition< TInputImage, TOutputImage > m_InternalBoundaryCondition
Definition: itkZeroFluxNeumannPadImageFilter.h:114
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
itkPadImageFilter.h
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ZeroFluxNeumannPadImageFilter::RegionType
typename Superclass::InputImageRegionType RegionType
Definition: itkZeroFluxNeumannPadImageFilter.h:82
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:214
itk::ZeroFluxNeumannBoundaryCondition
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
Definition: itkZeroFluxNeumannBoundaryCondition.h:58
itk::ImageToImageFilter::InputImageRegionType
typename InputImageType::RegionType InputImageRegionType
Definition: itkImageToImageFilter.h:132
itkZeroFluxNeumannBoundaryCondition.h
itk::Concept::EqualityComparable
Definition: itkConceptChecking.h:304