ITK
5.2.0
Insight Toolkit
ITK
Modules
Filtering
MathematicalMorphology
include
itkAnchorErodeImageFilter.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
* 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 itkAnchorErodeImageFilter_h
19
#define itkAnchorErodeImageFilter_h
20
21
#include "
itkAnchorErodeDilateImageFilter.h
"
22
23
namespace
itk
24
{
25
template
<
typename
TImage,
typename
TKernel>
26
class
AnchorErodeImageFilter
27
:
public
AnchorErodeDilateImageFilter
<TImage, TKernel, std::less<typename TImage::PixelType>>
28
29
{
30
public
:
31
ITK_DISALLOW_COPY_AND_MOVE(
AnchorErodeImageFilter
);
32
33
using
Self
=
AnchorErodeImageFilter
;
34
using
Superclass
=
AnchorErodeDilateImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>
>;
35
37
itkTypeMacro(
AnchorErodeImageFilter
,
AnchorErodeDilateImageFilter
);
38
39
using
Pointer
=
SmartPointer<Self>
;
40
using
ConstPointer
=
SmartPointer<const Self>
;
41
42
using
PixelType
=
typename
TImage::PixelType;
43
45
itkNewMacro(
Self
);
46
47
protected
:
48
AnchorErodeImageFilter
() { this->
m_Boundary
=
NumericTraits<PixelType>::max
(); }
49
~AnchorErodeImageFilter
()
override
=
default
;
50
51
private
:
52
};
53
}
// namespace itk
54
55
#endif
itk::AnchorErodeDilateImageFilter< TImage, TKernel, std::less< TImage::PixelType > >::m_Boundary
InputImagePixelType m_Boundary
Definition:
itkAnchorErodeDilateImageFilter.h:90
itkAnchorErodeDilateImageFilter.h
itk::SmartPointer< Self >
itk::ImageSource
Base class for all process objects that output image data.
Definition:
itkImageSource.h:67
itk::AnchorErodeImageFilter::AnchorErodeImageFilter
AnchorErodeImageFilter()
Definition:
itkAnchorErodeImageFilter.h:48
itk::AnchorErodeImageFilter
Definition:
itkAnchorErodeImageFilter.h:26
itk::AnchorErodeImageFilter::~AnchorErodeImageFilter
~AnchorErodeImageFilter() override=default
itk::NumericTraits::max
static constexpr T max(const T &)
Definition:
itkNumericTraits.h:167
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnnulusOperator.h:24
itk::AnchorErodeImageFilter::PixelType
typename TImage::PixelType PixelType
Definition:
itkAnchorErodeImageFilter.h:42
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition:
itkProcessObject.h:138
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 Thu Apr 1 2021 01:34:30 for ITK by
1.8.16