ITK  4.13.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:
70 
72  itkNewMacro(Self);
73 
76 
78  typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
79  typedef typename Superclass::InputImageRegionType InputImageRegionType;
80  typedef typename Superclass::InputImageRegionType RegionType;
81 
83  typedef typename Superclass::OutputImagePixelType OutputImagePixelType;
84  typedef typename Superclass::InputImagePixelType InputImagePixelType;
85 
87  typedef typename Superclass::OutputImageIndexType OutputImageIndexType;
88  typedef typename Superclass::InputImageIndexType InputImageIndexType;
89  typedef typename Superclass::OutputImageSizeType OutputImageSizeType;
90  typedef typename Superclass::InputImageSizeType InputImageSizeType;
91  typedef typename Superclass::InputImageIndexType IndexType;
92  typedef typename Superclass::InputImageSizeType SizeType;
93 
95  itkStaticConstMacro(ImageDimension, unsigned int,
96  TInputImage::ImageDimension);
97  itkStaticConstMacro(OutputImageDimension, unsigned int,
98  TOutputImage::ImageDimension);
100 
101 #ifdef ITK_USE_CONCEPT_CHECKING
102  // Begin concept checking
103  itkConceptMacro(OutputEqualityComparableCheck,
105  itkConceptMacro(InputConvertibleToOutputCheck,
107  itkConceptMacro(SameDimensionCheck,
109  itkConceptMacro(OutputOStreamWritableCheck,
111  // End concept checking
112 #endif
113 
114 protected:
117 
118 private:
119  ITK_DISALLOW_COPY_AND_ASSIGN(ZeroFluxNeumannPadImageFilter);
120 
122 };
123 } // end namespace itk
124 
125 #ifndef ITK_MANUAL_INSTANTIATION
126 #include "itkZeroFluxNeumannPadImageFilter.hxx"
127 #endif
128 
129 #endif
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
Superclass::OutputImagePixelType OutputImagePixelType
Superclass::InputImageIndexType InputImageIndexType
Superclass::InputImageSizeType InputImageSizeType
Increase the image size by padding according to the zero-flux Neumann boundary condition.
PadImageFilter< TInputImage, TOutputImage > Superclass
Base class for all process objects that output image data.
Superclass::OutputImageSizeType OutputImageSizeType
Superclass::InputImageRegionType InputImageRegionType
Increase the image size by padding. Superclass for filters that fill in extra pixels.
#define itkConceptMacro(name, concept)
Superclass::OutputImageIndexType OutputImageIndexType
Superclass::OutputImageRegionType OutputImageRegionType
Superclass::InputImagePixelType InputImagePixelType