ITK
4.4.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Filtering
LabelMap
include
itkLabelUniqueLabelMapFilter.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 __itkLabelUniqueLabelMapFilter_h
19
#define __itkLabelUniqueLabelMapFilter_h
20
21
#include "
itkAttributeUniqueLabelMapFilter.h
"
22
#include "
itkLabelObject.h
"
23
#include "
itkLabelObjectAccessors.h
"
24
#include <set>
25
26
27
namespace
itk {
45
template
<
class
TImage>
46
class
ITK_EXPORT
LabelUniqueLabelMapFilter
:
47
public
AttributeUniqueLabelMapFilter
<TImage, typename Functor::LabelLabelObjectAccessor< typename TImage::LabelObjectType > >
48
{
49
public
:
51
typedef
LabelUniqueLabelMapFilter
Self
;
52
typedef
AttributeUniqueLabelMapFilter<TImage, typename Functor::LabelLabelObjectAccessor< typename TImage::LabelObjectType >
>
53
Superclass
;
54
typedef
SmartPointer<Self>
Pointer
;
55
typedef
SmartPointer<const Self>
ConstPointer
;
56
58
typedef
TImage
ImageType
;
59
typedef
typename
ImageType::Pointer
ImagePointer
;
60
typedef
typename
ImageType::ConstPointer
ImageConstPointer
;
61
typedef
typename
ImageType::PixelType
PixelType
;
62
typedef
typename
ImageType::IndexType
IndexType
;
63
64
typedef
typename
Superclass::AttributeAccessorType
AttributeAccessorType
;
65
typedef
typename
Superclass::AttributeValueType
AttributeValueType
;
66
68
itkStaticConstMacro(ImageDimension,
unsigned
int
,
69
TImage::ImageDimension);
70
72
itkNewMacro(
Self
);
73
75
itkTypeMacro(
LabelUniqueLabelMapFilter
,
76
AttributeUniqueLabelMapFilter
);
77
78
#ifdef ITK_USE_CONCEPT_CHECKING
79
80
/* itkConceptMacro(InputEqualityComparableCheck,
81
(Concept::EqualityComparable<InputImagePixelType>));
82
itkConceptMacro(IntConvertibleToInputCheck,
83
(Concept::Convertible<int, InputImagePixelType>));
84
itkConceptMacro(InputOStreamWritableCheck,
85
(Concept::OStreamWritable<InputImagePixelType>));*/
86
88
#endif
89
90
protected
:
91
LabelUniqueLabelMapFilter
() {};
92
~LabelUniqueLabelMapFilter
() {};
93
94
private
:
95
LabelUniqueLabelMapFilter
(
const
Self&);
//purposely not implemented
96
void
operator=(
const
Self&);
//purposely not implemented
97
98
};
// end of class
99
100
}
// end namespace itk
101
102
#endif
103
Generated on Mon May 13 2013 00:58:35 for ITK by
1.8.3.1