ITK
4.3.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Segmentation
LevelSets
include
itkShapeDetectionLevelSetImageFilter.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 __itkShapeDetectionLevelSetImageFilter_h
19
#define __itkShapeDetectionLevelSetImageFilter_h
20
21
#include "
itkSegmentationLevelSetImageFilter.h
"
22
#include "
itkShapeDetectionLevelSetFunction.h
"
23
24
namespace
itk
25
{
105
template
<
class
TInputImage,
106
class
TFeatureImage,
107
class
TOutputPixelType =
float
>
108
class
ITK_EXPORT
ShapeDetectionLevelSetImageFilter
:
109
public
SegmentationLevelSetImageFilter
< TInputImage,
110
TFeatureImage, TOutputPixelType >
111
{
112
public
:
114
typedef
ShapeDetectionLevelSetImageFilter
Self
;
115
typedef
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >
Superclass
;
116
typedef
SmartPointer< Self >
Pointer
;
117
typedef
SmartPointer< const Self >
ConstPointer
;
118
120
typedef
typename
Superclass::ValueType
ValueType
;
121
typedef
typename
Superclass::OutputImageType
OutputImageType
;
122
typedef
typename
Superclass::FeatureImageType
FeatureImageType
;
123
125
typedef
ShapeDetectionLevelSetFunction
<
OutputImageType
,
126
FeatureImageType
>
ShapeDetectionFunctionType
;
127
typedef
typename
ShapeDetectionFunctionType::Pointer
ShapeDetectionFunctionPointer
;
128
130
itkTypeMacro(
ShapeDetectionLevelSetImageFilter
,
SegmentationLevelSetImageFilter
);
131
133
itkNewMacro(
Self
);
134
135
protected
:
136
~ShapeDetectionLevelSetImageFilter
() {}
137
ShapeDetectionLevelSetImageFilter
();
138
139
virtual
void
PrintSelf(std::ostream & os,
Indent
indent)
const
;
140
141
ShapeDetectionLevelSetImageFilter
(
const
Self &);
// purposely not implemented
142
void
operator=(
const
Self &);
//purposely not implemented
143
146
void
GenerateData();
147
148
private
:
149
ShapeDetectionFunctionPointer
m_ShapeDetectionFunction
;
150
};
151
}
// end namespace itk
152
153
#ifndef ITK_MANUAL_INSTANTIATION
154
#include "itkShapeDetectionLevelSetImageFilter.hxx"
155
#endif
156
157
#endif
158
Generated on Sun Dec 9 2012 01:26:10 for ITK by
1.8.2