ITK
6.0.0
Insight Toolkit
ITK
Modules
Filtering
MathematicalMorphology
include
itkAnchorDilateImageFilter.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 itkAnchorDilateImageFilter_h
19
#define itkAnchorDilateImageFilter_h
20
21
#include "
itkAnchorErodeDilateImageFilter.h
"
22
#include <functional>
23
24
namespace
itk
25
{
26
template
<
typename
TImage,
typename
TKernel>
27
class
AnchorDilateImageFilter
28
:
public
AnchorErodeDilateImageFilter
<TImage, TKernel, std::greater<typename TImage::PixelType>>
29
30
{
31
public
:
32
ITK_DISALLOW_COPY_AND_MOVE(
AnchorDilateImageFilter
);
33
34
using
Self
=
AnchorDilateImageFilter
;
35
using
Superclass
=
AnchorErodeDilateImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>
>;
36
38
itkOverrideGetNameOfClassMacro(
AnchorDilateImageFilter
);
39
40
using
Pointer
=
SmartPointer<Self>
;
41
using
ConstPointer
=
SmartPointer<const Self>
;
42
43
using
PixelType
=
typename
TImage::PixelType;
44
46
itkNewMacro(
Self
);
47
48
protected
:
49
AnchorDilateImageFilter
() { this->
m_Boundary
=
NumericTraits<PixelType>::NonpositiveMin
(); }
50
~AnchorDilateImageFilter
()
override
=
default
;
51
52
private
:
53
};
54
}
// namespace itk
55
56
#endif
itk::AnchorErodeDilateImageFilter< TImage, TKernel, std::greater< TImage::PixelType > >::m_Boundary
InputImagePixelType m_Boundary
Definition:
itkAnchorErodeDilateImageFilter.h:90
itk::NumericTraits::NonpositiveMin
static constexpr T NonpositiveMin()
Definition:
itkNumericTraits.h:99
itkAnchorErodeDilateImageFilter.h
itk::SmartPointer< Self >
itk::AnchorDilateImageFilter
Definition:
itkAnchorDilateImageFilter.h:27
itk::AnchorDilateImageFilter::PixelType
typename TImage::PixelType PixelType
Definition:
itkAnchorDilateImageFilter.h:43
itk::ImageSource
Base class for all process objects that output image data.
Definition:
itkImageSource.h:67
itk::AnchorDilateImageFilter::AnchorDilateImageFilter
AnchorDilateImageFilter()
Definition:
itkAnchorDilateImageFilter.h:49
itk::AnchorDilateImageFilter::~AnchorDilateImageFilter
~AnchorDilateImageFilter() override=default
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnatomicalOrientation.h:29
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition:
itkProcessObject.h:139
itk::AnchorErodeDilateImageFilter
class to implement erosions and dilations using anchor methods. This is the base class that must be i...
Definition:
itkAnchorErodeDilateImageFilter.h:39
Generated on
unknown
for ITK by
1.8.16