Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Loading...
Searching...
No Matches
Components
Transforms
SplineKernelTransform
itkVolumeSplineKernelTransform2.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
20
Program: Insight Segmentation & Registration Toolkit
21
Module: $RCSfile: itkVolumeSplineKernelTransform2.h,v $
22
Date: $Date: 2006/03/18 18:06:38 $
23
Version: $Revision: 1.8 $
24
25
Copyright (c) Insight Software Consortium. All rights reserved.
26
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
27
28
This software is distributed WITHOUT ANY WARRANTY; without even
29
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
30
PURPOSE. See the above copyright notices for more information.
31
32
=========================================================================*/
33
#ifndef itkVolumeSplineKernelTransform2_h
34
#define itkVolumeSplineKernelTransform2_h
35
36
#include "
itkKernelTransform2.h
"
37
38
namespace
itk
39
{
48
template
<
class
TScalarType
,
// Data type for scalars (float or double)
49
unsigned
int
NDimensions = 3>
50
// Number of dimensions
51
class
ITK_TEMPLATE_EXPORT
VolumeSplineKernelTransform2
:
public
KernelTransform2
<TScalarType, NDimensions>
52
{
53
public
:
54
ITK_DISALLOW_COPY_AND_MOVE
(
VolumeSplineKernelTransform2
);
55
57
using
Self
=
VolumeSplineKernelTransform2
;
58
using
Superclass
=
KernelTransform2<TScalarType, NDimensions>
;
59
using
Pointer
= SmartPointer<Self>;
60
using
ConstPointer
= SmartPointer<const Self>;
61
63
itkNewMacro(
Self
);
64
66
itkTypeMacro(
VolumeSplineKernelTransform2
,
KernelTransform2
);
67
69
using
typename Superclass::ScalarType;
70
72
using
typename Superclass::ParametersType;
73
75
using
typename Superclass::JacobianType;
76
78
itkStaticConstMacro
(SpaceDimension,
unsigned
int
, Superclass::SpaceDimension);
79
82
using
typename Superclass::InputPointType;
83
using
typename Superclass::OutputPointType;
84
using
typename Superclass::InputVectorType;
85
using
typename Superclass::OutputVectorType;
86
using
typename Superclass::InputCovariantVectorType;
87
using
typename Superclass::OutputCovariantVectorType;
88
using
typename
Superclass::PointsIterator
;
89
90
protected
:
91
VolumeSplineKernelTransform2
() { this->m_FastComputationPossible =
true
; }
92
93
94
~VolumeSplineKernelTransform2
()
override
=
default
;
95
98
using
typename
Superclass::GMatrixType
;
99
108
void
109
ComputeG
(
const
InputVectorType & x,
GMatrixType
& GMatrix)
const override
;
110
113
void
114
ComputeDeformationContribution
(
const
InputPointType & inputPoint, OutputPointType & result)
const override
;
115
};
116
117
}
// namespace itk
118
119
#ifndef ITK_MANUAL_INSTANTIATION
120
# include "itkVolumeSplineKernelTransform2.hxx"
121
#endif
122
123
#endif
// itkVolumeSplineKernelTransform2_h
SmartPointer< Self >
TScalarType
itk::KernelTransform2
Definition
itkKernelTransform2.h:98
itk::KernelTransform2::PointsIterator
typename PointSetType::PointsContainerIterator PointsIterator
Definition
itkKernelTransform2.h:146
itk::VolumeSplineKernelTransform2
Definition
itkVolumeSplineKernelTransform2.h:52
itk::VolumeSplineKernelTransform2::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)
itk::VolumeSplineKernelTransform2::VolumeSplineKernelTransform2
VolumeSplineKernelTransform2()
Definition
itkVolumeSplineKernelTransform2.h:91
itk::VolumeSplineKernelTransform2::ComputeG
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const override
itk::VolumeSplineKernelTransform2::ComputeDeformationContribution
void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
itk::VolumeSplineKernelTransform2::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(VolumeSplineKernelTransform2)
itk::VolumeSplineKernelTransform2::~VolumeSplineKernelTransform2
~VolumeSplineKernelTransform2() override=default
itk::VolumeSplineKernelTransform2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition
itkVolumeSplineKernelTransform2.h:60
vnl_matrix_fixed< TScalarType, NDimensions, NDimensions >
itkKernelTransform2.h
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 1739326392 for elastix by
1.9.8