Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Components
Transforms
BSplineDeformableTransformWithDiffusion
itkDeformationFieldRegulizer.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
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 __itkDeformationFieldRegulizer_H__
20
#define __itkDeformationFieldRegulizer_H__
21
22
#include "
itkDeformationVectorFieldTransform.h
"
23
#include "itkImageRegionIterator.h"
24
25
namespace
itk
26
{
27
40
template
<
class
TAnyITKTransform >
41
class
DeformationFieldRegulizer
:
42
public
TAnyITKTransform
43
{
44
public
:
45
47
typedef
DeformationFieldRegulizer
Self
;
48
typedef
TAnyITKTransform
Superclass
;
49
typedef
SmartPointer< Self >
Pointer
;
50
typedef
SmartPointer< const Self >
ConstPointer
;
51
53
itkNewMacro(
Self
);
54
56
itkTypeMacro(
DeformationFieldRegulizer
,
TAnyITKTransform
);
57
59
itkStaticConstMacro
( InputSpaceDimension,
unsigned
int
, Superclass::InputSpaceDimension );
61
itkStaticConstMacro
( OutputSpaceDimension,
unsigned
int
, Superclass::OutputSpaceDimension );
62
64
typedef
typename
Superclass::ScalarType
ScalarType
;
65
typedef
typename
Superclass::ParametersType
ParametersType
;
66
typedef
typename
Superclass::JacobianType
JacobianType
;
67
typedef
typename
Superclass::InputVectorType
InputVectorType
;
68
typedef
typename
Superclass::OutputVectorType
OutputVectorType
;
69
typedef
typename
Superclass::InputCovariantVectorType
InputCovariantVectorType
;
70
typedef
typename
Superclass::OutputCovariantVectorType
OutputCovariantVectorType
;
71
typedef
typename
Superclass::InputVnlVectorType
InputVnlVectorType
;
72
typedef
typename
Superclass::OutputVnlVectorType
OutputVnlVectorType
;
73
typedef
typename
Superclass::InputPointType
InputPointType
;
74
typedef
typename
Superclass::OutputPointType
OutputPointType
;
75
77
typedef
DeformationVectorFieldTransform
<
78
ScalarType
,
79
itkGetStaticConstMacro( InputSpaceDimension ) >
IntermediaryDFTransformType
;
80
typedef
typename
IntermediaryDFTransformType::Pointer
IntermediaryDFTransformPointer
;
81
typedef
typename
IntermediaryDFTransformType
82
::CoefficientVectorImageType
VectorImageType
;
83
typedef
typename
VectorImageType::PixelType
VectorPixelType
;
84
typedef
ImageRegionIterator< VectorImageType >
IteratorType
;
85
87
typedef
typename
VectorImageType::RegionType
RegionType
;
88
typedef
typename
VectorImageType::SpacingType
SpacingType
;
89
typedef
typename
VectorImageType::PointType
OriginType
;
90
92
void
InitializeDeformationFields
(
void
);
93
97
virtual
void
UpdateIntermediaryDeformationFieldTransform
(
98
typename
VectorImageType::Pointer vecImage );
99
101
itkSetMacro( DeformationFieldRegion,
RegionType
);
102
104
itkSetMacro( DeformationFieldSpacing,
SpacingType
);
105
107
itkSetMacro( DeformationFieldOrigin,
OriginType
);
108
110
itkGetConstObjectMacro( IntermediaryDeformationFieldTransform,
IntermediaryDFTransformType
);
111
113
OutputPointType
TransformPoint
(
const
InputPointType
& inputPoint )
const override
;
114
115
protected
:
116
118
DeformationFieldRegulizer
();
120
~DeformationFieldRegulizer
()
override
{}
121
122
private
:
123
125
DeformationFieldRegulizer
(
const
Self
& );
// purposely not implemented
127
void
operator=
(
const
Self
& );
// purposely not implemented
128
130
IntermediaryDFTransformPointer
m_IntermediaryDeformationFieldTransform
;
131
bool
m_Initialized
;
132
134
RegionType
m_DeformationFieldRegion
;
135
OriginType
m_DeformationFieldOrigin
;
136
SpacingType
m_DeformationFieldSpacing
;
137
138
};
139
140
}
// end namespace itk
141
142
#ifndef ITK_MANUAL_INSTANTIATION
143
#include "itkDeformationFieldRegulizer.hxx"
144
#endif
145
146
#endif
// end #ifndef __itkDeformationFieldRegulizer_H__
SmartPointer< Self >
TAnyITKTransform
itk::DeformationFieldRegulizer
This class combines any itk transform with the DeformationFieldTransform.
Definition:
itkDeformationFieldRegulizer.h:43
itk::DeformationFieldRegulizer::m_DeformationFieldSpacing
SpacingType m_DeformationFieldSpacing
Definition:
itkDeformationFieldRegulizer.h:136
itk::DeformationFieldRegulizer::m_Initialized
bool m_Initialized
Definition:
itkDeformationFieldRegulizer.h:131
itk::DeformationFieldRegulizer::OriginType
VectorImageType::PointType OriginType
Definition:
itkDeformationFieldRegulizer.h:89
itk::DeformationFieldRegulizer::VectorPixelType
VectorImageType::PixelType VectorPixelType
Definition:
itkDeformationFieldRegulizer.h:83
itk::DeformationFieldRegulizer::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkDeformationFieldRegulizer.h:50
itk::DeformationFieldRegulizer::~DeformationFieldRegulizer
~DeformationFieldRegulizer() override
Definition:
itkDeformationFieldRegulizer.h:120
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, Superclass::OutputSpaceDimension)
itk::DeformationFieldRegulizer::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkDeformationFieldRegulizer.h:70
itk::DeformationFieldRegulizer::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkDeformationFieldRegulizer.h:67
itk::DeformationFieldRegulizer::Pointer
SmartPointer< Self > Pointer
Definition:
itkDeformationFieldRegulizer.h:49
itk::DeformationFieldRegulizer::IteratorType
ImageRegionIterator< VectorImageType > IteratorType
Definition:
itkDeformationFieldRegulizer.h:84
itk::DeformationFieldRegulizer::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkDeformationFieldRegulizer.h:69
itk::DeformationFieldRegulizer::TransformPoint
OutputPointType TransformPoint(const InputPointType &inputPoint) const override
itk::DeformationFieldRegulizer::m_DeformationFieldRegion
RegionType m_DeformationFieldRegion
Definition:
itkDeformationFieldRegulizer.h:134
itk::DeformationFieldRegulizer::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkDeformationFieldRegulizer.h:65
itk::DeformationFieldRegulizer::DeformationFieldRegulizer
DeformationFieldRegulizer()
itk::DeformationFieldRegulizer::VectorImageType
IntermediaryDFTransformType::CoefficientVectorImageType VectorImageType
Definition:
itkDeformationFieldRegulizer.h:82
itk::DeformationFieldRegulizer::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkDeformationFieldRegulizer.h:71
itk::DeformationFieldRegulizer::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkDeformationFieldRegulizer.h:64
itk::DeformationFieldRegulizer::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkDeformationFieldRegulizer.h:72
itk::DeformationFieldRegulizer::Superclass
TAnyITKTransform Superclass
Definition:
itkDeformationFieldRegulizer.h:48
itk::DeformationFieldRegulizer::RegionType
VectorImageType::RegionType RegionType
Definition:
itkDeformationFieldRegulizer.h:87
itk::DeformationFieldRegulizer::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkDeformationFieldRegulizer.h:73
itk::DeformationFieldRegulizer::m_DeformationFieldOrigin
OriginType m_DeformationFieldOrigin
Definition:
itkDeformationFieldRegulizer.h:135
itk::DeformationFieldRegulizer::DeformationFieldRegulizer
DeformationFieldRegulizer(const Self &)
itk::DeformationFieldRegulizer::IntermediaryDFTransformType
DeformationVectorFieldTransform< ScalarType, itkGetStaticConstMacro(InputSpaceDimension) > IntermediaryDFTransformType
Definition:
itkDeformationFieldRegulizer.h:79
itk::DeformationFieldRegulizer::UpdateIntermediaryDeformationFieldTransform
virtual void UpdateIntermediaryDeformationFieldTransform(typename VectorImageType::Pointer vecImage)
itk::DeformationFieldRegulizer::m_IntermediaryDeformationFieldTransform
IntermediaryDFTransformPointer m_IntermediaryDeformationFieldTransform
Definition:
itkDeformationFieldRegulizer.h:130
itk::DeformationFieldRegulizer::IntermediaryDFTransformPointer
IntermediaryDFTransformType::Pointer IntermediaryDFTransformPointer
Definition:
itkDeformationFieldRegulizer.h:80
itk::DeformationFieldRegulizer::operator=
void operator=(const Self &)
itk::DeformationFieldRegulizer::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, Superclass::InputSpaceDimension)
itk::DeformationFieldRegulizer::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkDeformationFieldRegulizer.h:68
itk::DeformationFieldRegulizer::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkDeformationFieldRegulizer.h:74
itk::DeformationFieldRegulizer::SpacingType
VectorImageType::SpacingType SpacingType
Definition:
itkDeformationFieldRegulizer.h:88
itk::DeformationFieldRegulizer::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkDeformationFieldRegulizer.h:66
itk::DeformationFieldRegulizer::InitializeDeformationFields
void InitializeDeformationFields(void)
itk::DeformationFieldRegulizer::Self
DeformationFieldRegulizer Self
Definition:
itkDeformationFieldRegulizer.h:47
itk::DeformationVectorFieldTransform
An itk transform based on a DeformationVectorField.
Definition:
itkDeformationVectorFieldTransform.h:48
itk::DeformationVectorFieldTransform::CoefficientVectorImageType
Image< CoefficientVectorPixelType, itkGetStaticConstMacro(SpaceDimension) > CoefficientVectorImageType
Definition:
itkDeformationVectorFieldTransform.h:90
itk::DeformationVectorFieldTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkDeformationVectorFieldTransform.h:55
itkDeformationVectorFieldTransform.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4