ITK
6.0.0
Insight Toolkit
ITK
Modules
Filtering
MathematicalMorphology
include
itkAnchorOpenImageFilter.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 itkAnchorOpenImageFilter_h
19
#define itkAnchorOpenImageFilter_h
20
21
#include "
itkAnchorOpenCloseImageFilter.h
"
22
23
namespace
itk
24
{
25
template
<
typename
TImage,
typename
TKernel>
26
class
AnchorOpenImageFilter
27
:
public
AnchorOpenCloseImageFilter
<TImage,
28
TKernel,
29
std::less<typename TImage::PixelType>,
30
std::greater<typename TImage::PixelType>>
31
32
{
33
public
:
34
ITK_DISALLOW_COPY_AND_MOVE(
AnchorOpenImageFilter
);
35
36
using
Self
=
AnchorOpenImageFilter
;
37
using
Superclass
=
AnchorOpenCloseImageFilter
<TImage,
38
TKernel,
39
std::less<typename TImage::PixelType>,
40
std::greater<typename TImage::PixelType>>;
41
42
using
Pointer
=
SmartPointer<Self>
;
43
using
ConstPointer
=
SmartPointer<const Self>
;
44
46
itkNewMacro(
Self
);
47
48
protected
:
49
AnchorOpenImageFilter
()
50
{
51
this->
m_Boundary1
=
NumericTraits<typename TImage::PixelType>::max
();
52
this->
m_Boundary2
=
NumericTraits<typename TImage::PixelType>::NonpositiveMin
();
53
}
54
~AnchorOpenImageFilter
()
override
=
default
;
55
56
private
:
57
};
58
}
// namespace itk
59
60
#endif
itk::AnchorOpenCloseImageFilter< TImage, TKernel, std::less< TImage::PixelType >, std::greater< TImage::PixelType > >::m_Boundary1
InputImagePixelType m_Boundary1
Definition:
itkAnchorOpenCloseImageFilter.h:95
itk::NumericTraits::NonpositiveMin
static constexpr T NonpositiveMin()
Definition:
itkNumericTraits.h:99
itk::SmartPointer< Self >
itk::ImageSource
Base class for all process objects that output image data.
Definition:
itkImageSource.h:67
itkAnchorOpenCloseImageFilter.h
itk::AnchorOpenImageFilter::~AnchorOpenImageFilter
~AnchorOpenImageFilter() override=default
itk::NumericTraits::max
static constexpr T max(const T &)
Definition:
itkNumericTraits.h:169
itk::AnchorOpenImageFilter
Definition:
itkAnchorOpenImageFilter.h:26
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnatomicalOrientation.h:29
itk::AnchorOpenImageFilter::AnchorOpenImageFilter
AnchorOpenImageFilter()
Definition:
itkAnchorOpenImageFilter.h:49
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:139
itk::AnchorOpenCloseImageFilter< TImage, TKernel, std::less< TImage::PixelType >, std::greater< TImage::PixelType > >::m_Boundary2
InputImagePixelType m_Boundary2
Definition:
itkAnchorOpenCloseImageFilter.h:96
Generated on
unknown
for ITK by
1.8.16