ITK
4.2.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Segmentation
LevelSetsv4
include
itkLevelSetImage.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
19
#ifndef __itkLevelSetImage_h
20
#define __itkLevelSetImage_h
21
22
#include "
itkLevelSetBase.h
"
23
#include "
itkObjectFactory.h
"
24
#include "
itkIndex.h
"
25
#include "
itkImageBase.h
"
26
27
namespace
itk
28
{
38
template
<
class
TInput,
unsigned
int
VDimension,
class
TOutput >
39
class
LevelSetImage
:
40
public
LevelSetBase
< TInput, VDimension, TOutput, ImageBase< VDimension > >
41
{
42
public
:
43
typedef
ImageBase< VDimension >
ImageBaseType
;
44
45
typedef
LevelSetImage
Self
;
46
typedef
SmartPointer< Self >
Pointer
;
47
typedef
SmartPointer< const Self >
ConstPointer
;
48
typedef
LevelSetBase< TInput, VDimension, TOutput, ImageBaseType >
Superclass
;
49
51
itkTypeMacro (
LevelSetImage
,
LevelSetBase
);
52
53
itkStaticConstMacro (
Dimension
,
unsigned
int
,
Superclass::Dimension
);
54
55
typedef
typename
Superclass::InputType
InputType
;
56
typedef
typename
Superclass::OutputType
OutputType
;
57
typedef
typename
Superclass::OutputRealType
OutputRealType
;
58
typedef
typename
Superclass::GradientType
GradientType
;
59
typedef
typename
Superclass::HessianType
HessianType
;
60
typedef
typename
Superclass::LevelSetDataType
LevelSetDataType
;
61
62
protected
:
63
LevelSetImage
();
64
65
virtual
~LevelSetImage
();
66
67
typedef
GradientType
ScalingType
;
68
ScalingType
m_NeighborhoodScales
;
69
70
virtual
bool
IsInsideDomain
(
const
InputType
& iP )
const
= 0;
71
72
private
:
73
74
LevelSetImage
(
const
Self
& );
// purposely not implemented
75
void
operator =
(
const
Self
& );
// purposely not implemented
76
};
77
78
}
// end namespace itk
79
80
#ifndef ITK_MANUAL_INSTANTIATION
81
#include "itkLevelSetImage.hxx"
82
#endif
83
84
#endif // __itkLevelSetImage_h
85
Generated on Tue Jul 10 2012 23:35:20 for ITK by
1.8.1