ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkDilateObjectMorphologyImageFilter.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 __itkDilateObjectMorphologyImageFilter_h
19 #define __itkDilateObjectMorphologyImageFilter_h
20 
22 
23 namespace itk
24 {
45 template< typename TInputImage, typename TOutputImage, typename TKernel >
47  public ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >
48 {
49 public:
53 
56 
58  itkNewMacro(Self);
59 
62 
64  typedef typename Superclass::PixelType PixelType;
65 
67  typedef TKernel KernelType;
68 
70  typedef typename KernelType::ConstIterator KernelIteratorType;
71 
74 
77 
79  typedef typename TKernel::PixelType KernelPixelType;
80 
81 #ifdef ITK_USE_CONCEPT_CHECKING
82  // Begin concept checking
83  itkConceptMacro( KernelGreaterThanComparableCheck,
85  // End concept checking
86 #endif
87 
88 protected:
91  void PrintSelf(std::ostream & os, Indent indent) const;
92 
98  const KernelType & kernel);
99 
100 private:
101  DilateObjectMorphologyImageFilter(const Self &); //purposely not implemented
102  void operator=(const Self &); //purposely not implemented
103 
104  // Default boundary condition for dilation filter, defaults to
105  // NumericTraits<PixelType>::NonpositiveMin()
107 }; // end of class
108 } // end namespace itk
109 
110 #ifndef ITK_MANUAL_INSTANTIATION
111 #include "itkDilateObjectMorphologyImageFilter.hxx"
112 #endif
113 
114 #endif
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
NeighborhoodIterator< TOutputImage > OutputNeighborhoodIteratorType
Superclass::DefaultBoundaryConditionType DefaultBoundaryConditionType
void PrintSelf(std::ostream &os, Indent indent) const
Base class for all process objects that output image data.
void Evaluate(OutputNeighborhoodIteratorType &nit, const KernelType &kernel)
ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > Superclass
Control indentation during Print() invocation.
Definition: itkIndent.h:49
#define itkConceptMacro(name, concept)
Base class for the morphological operations being applied to isolated objects in an image...
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.