ITK
5.2.0
Insight Toolkit
ITK
Modules
Filtering
MathematicalMorphology
include
itkAnchorCloseImageFilter.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 itkAnchorCloseImageFilter_h
19
#define itkAnchorCloseImageFilter_h
20
21
#include "
itkAnchorOpenCloseImageFilter.h
"
22
#include <functional>
23
24
namespace
itk
25
{
26
template
<
typename
TImage,
typename
TKernel>
27
class
AnchorCloseImageFilter
28
:
public
AnchorOpenCloseImageFilter
<TImage,
29
TKernel,
30
std::greater<typename TImage::PixelType>,
31
std::less<typename TImage::PixelType>>
32
33
{
34
public
:
35
ITK_DISALLOW_COPY_AND_MOVE(
AnchorCloseImageFilter
);
36
37
using
Self
=
AnchorCloseImageFilter
;
38
using
Superclass
=
AnchorOpenCloseImageFilter
<TImage,
39
TKernel,
40
std::greater<typename TImage::PixelType>,
41
std::less<typename TImage::PixelType>>;
42
43
using
Pointer
=
SmartPointer<Self>
;
44
using
ConstPointer
=
SmartPointer<const Self>
;
45
47
itkNewMacro(
Self
);
48
49
protected
:
50
AnchorCloseImageFilter
()
51
{
52
this->
m_Boundary1
=
NumericTraits<typename TImage::PixelType>::NonpositiveMin
();
53
this->
m_Boundary2
=
NumericTraits<typename TImage::PixelType>::max
();
54
}
55
~AnchorCloseImageFilter
()
override
=
default
;
56
57
private
:
58
};
59
}
// namespace itk
60
61
#endif
itk::AnchorOpenCloseImageFilter< TImage, TKernel, std::greater< TImage::PixelType >, std::less< TImage::PixelType > >::m_Boundary1
InputImagePixelType m_Boundary1
Definition:
itkAnchorOpenCloseImageFilter.h:95
itk::NumericTraits::NonpositiveMin
static constexpr T NonpositiveMin()
Definition:
itkNumericTraits.h:97
itk::AnchorCloseImageFilter::~AnchorCloseImageFilter
~AnchorCloseImageFilter() override=default
itk::SmartPointer< Self >
itk::ImageSource
Base class for all process objects that output image data.
Definition:
itkImageSource.h:67
itkAnchorOpenCloseImageFilter.h
itk::AnchorCloseImageFilter
Definition:
itkAnchorCloseImageFilter.h:27
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::AnchorOpenCloseImageFilter
class to implement openings and closings using anchor methods.
Definition:
itkAnchorOpenCloseImageFilter.h:51
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition:
itkProcessObject.h:138
itk::AnchorCloseImageFilter::AnchorCloseImageFilter
AnchorCloseImageFilter()
Definition:
itkAnchorCloseImageFilter.h:50
itk::AnchorOpenCloseImageFilter< TImage, TKernel, std::greater< TImage::PixelType >, std::less< TImage::PixelType > >::m_Boundary2
InputImagePixelType m_Boundary2
Definition:
itkAnchorOpenCloseImageFilter.h:96
Generated on Thu Apr 1 2021 01:34:26 for ITK by
1.8.16