ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkDilateObjectMorphologyImageFilter.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 itkDilateObjectMorphologyImageFilter_h
19#define itkDilateObjectMorphologyImageFilter_h
20
22
23namespace itk
24{
46template <typename TInputImage, typename TOutputImage, typename TKernel>
47class ITK_TEMPLATE_EXPORT DilateObjectMorphologyImageFilter
48 : public ObjectMorphologyImageFilter<TInputImage, TOutputImage, TKernel>
49{
50public:
51 ITK_DISALLOW_COPY_AND_MOVE(DilateObjectMorphologyImageFilter);
52
56
59
61 itkNewMacro(Self);
62
64 itkOverrideGetNameOfClassMacro(DilateObjectMorphologyImageFilter);
65
67 using typename Superclass::PixelType;
68
70 using KernelType = TKernel;
71
73 using KernelIteratorType = typename KernelType::ConstIterator;
74
77
79
81 using KernelPixelType = typename TKernel::PixelType;
82
83 itkConceptMacro(KernelGreaterThanComparableCheck, (Concept::GreaterThanComparable<KernelPixelType>));
84
85protected:
88 void
89 PrintSelf(std::ostream & os, Indent indent) const override;
90
95 void
96 Evaluate(OutputNeighborhoodIteratorType & nit, const KernelType & kernel) override;
97
98private:
99 // Default boundary condition for dilation filter, defaults to
100 // NumericTraits<PixelType>::NonpositiveMin()
102}; // end of class
103} // end namespace itk
104
105#ifndef ITK_MANUAL_INSTANTIATION
106# include "itkDilateObjectMorphologyImageFilter.hxx"
107#endif
108
109#endif
void Evaluate(OutputNeighborhoodIteratorType &nit, const KernelType &kernel) override
~DilateObjectMorphologyImageFilter() override=default
NeighborhoodIterator< TOutputImage > OutputNeighborhoodIteratorType
void PrintSelf(std::ostream &os, Indent indent) const override
ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > Superclass
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
Control indentation during Print() invocation.
Definition itkIndent.h:50
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
typename TInputImage::PixelType PixelType
ConstantBoundaryCondition< InputImageType > DefaultBoundaryConditionType
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....