ITK  6.0.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 * https://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
25namespace itk
26{
27
61template <typename TInputImage, typename TOutputImage>
62class ITK_TEMPLATE_EXPORT ZeroFluxNeumannPadImageFilter : public PadImageFilter<TInputImage, TOutputImage>
63{
64public:
65 ITK_DISALLOW_COPY_AND_MOVE(ZeroFluxNeumannPadImageFilter);
66
72
74 itkNewMacro(Self);
75
77 itkOverrideGetNameOfClassMacro(ZeroFluxNeumannPadImageFilter);
78
80 using typename Superclass::OutputImageRegionType;
81 using typename Superclass::InputImageRegionType;
82 using RegionType = typename Superclass::InputImageRegionType;
83
85 using typename Superclass::OutputImagePixelType;
86 using typename Superclass::InputImagePixelType;
87
89 using typename Superclass::OutputImageIndexType;
90 using typename Superclass::InputImageIndexType;
91 using typename Superclass::OutputImageSizeType;
92 using 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
106 // End concept checking
107#endif
108
109protected:
111 ~ZeroFluxNeumannPadImageFilter() override = default;
112
113private:
115};
116} // end namespace itk
117
118#ifndef ITK_MANUAL_INSTANTIATION
119# include "itkZeroFluxNeumannPadImageFilter.hxx"
120#endif
121
122#endif
Base class for all process objects that output image data.
Increase the image size by padding. Superclass for filters that fill in extra pixels.
typename TInputImage::SizeType SizeType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Increase the image size by padding according to the zero-flux Neumann boundary condition.
typename Superclass::InputImageRegionType RegionType
typename Superclass::InputImageIndexType IndexType
~ZeroFluxNeumannPadImageFilter() override=default
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....