ITK
4.2.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Filtering
LabelMap
include
itkStatisticsOpeningLabelMapFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
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 __itkStatisticsOpeningLabelMapFilter_h
19
#define __itkStatisticsOpeningLabelMapFilter_h
20
21
#include "
itkShapeOpeningLabelMapFilter.h
"
22
#include "
itkStatisticsLabelObject.h
"
23
#include "
itkStatisticsLabelObjectAccessors.h
"
24
25
namespace
itk
26
{
44
template
<
class
TImage >
45
class
ITK_EXPORT
StatisticsOpeningLabelMapFilter
:
46
public
ShapeOpeningLabelMapFilter
< TImage >
47
{
48
public
:
50
typedef
StatisticsOpeningLabelMapFilter
Self
;
51
typedef
ShapeOpeningLabelMapFilter< TImage >
Superclass
;
52
typedef
SmartPointer< Self >
Pointer
;
53
typedef
SmartPointer< const Self >
ConstPointer
;
54
56
typedef
TImage
ImageType
;
57
typedef
typename
ImageType::Pointer
ImagePointer
;
58
typedef
typename
ImageType::ConstPointer
ImageConstPointer
;
59
typedef
typename
ImageType::PixelType
PixelType
;
60
typedef
typename
ImageType::IndexType
IndexType
;
61
typedef
typename
ImageType::LabelObjectType
LabelObjectType
;
62
63
typedef
typename
LabelObjectType::AttributeType
AttributeType
;
64
66
itkStaticConstMacro(ImageDimension,
unsigned
int
,
67
TImage::ImageDimension);
68
70
itkNewMacro(
Self
);
71
73
itkTypeMacro(
StatisticsOpeningLabelMapFilter
,
74
ShapeOpeningLabelMapFilter
);
75
76
#ifdef ITK_USE_CONCEPT_CHECKING
77
78
/* itkConceptMacro(InputEqualityComparableCheck,
79
(Concept::EqualityComparable<InputImagePixelType>));
80
itkConceptMacro(IntConvertibleToInputCheck,
81
(Concept::Convertible<int, InputImagePixelType>));
82
itkConceptMacro(InputOStreamWritableCheck,
83
(Concept::OStreamWritable<InputImagePixelType>));*/
84
86
#endif
87
protected
:
88
StatisticsOpeningLabelMapFilter
();
89
~StatisticsOpeningLabelMapFilter
() {}
90
91
void
GenerateData();
92
93
private
:
94
StatisticsOpeningLabelMapFilter
(
const
Self &);
//purposely not implemented
95
void
operator=(
const
Self &);
//purposely not implemented
96
};
// end of class
97
}
// end namespace itk
98
99
#ifndef ITK_MANUAL_INSTANTIATION
100
#include "itkStatisticsOpeningLabelMapFilter.hxx"
101
#endif
102
103
#endif
104
Generated on Tue Jul 10 2012 23:45:17 for ITK by
1.8.1