go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedSimilarity3DTransform.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: itkAdvancedSimilarity3DTransform.h,v $
22 Language: C++
23 Date: $Date: 2006-08-09 04:35:32 $
24 Version: $Revision: 1.3 $
25
26 Copyright (c) Insight Software Consortium. All rights reserved.
27 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
28
29 This software is distributed WITHOUT ANY WARRANTY; without even
30 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
31 PURPOSE. See the above copyright notices for more information.
32
33=========================================================================*/
34#ifndef __itkAdvancedSimilarity3DTransform_h
35#define __itkAdvancedSimilarity3DTransform_h
36
37#include <iostream>
39
40namespace itk
41{
42
62template< class TScalarType = double >
63// Data type for scalars (float or double)
65 public AdvancedVersorRigid3DTransform< TScalarType >
66{
67public:
68
73 typedef SmartPointer< const Self > ConstPointer;
74
76 itkNewMacro( Self );
77
80
82 itkStaticConstMacro( SpaceDimension, unsigned int, 3 );
83 itkStaticConstMacro( InputSpaceDimension, unsigned int, 3 );
84 itkStaticConstMacro( OutputSpaceDimension, unsigned int, 3 );
85 itkStaticConstMacro( ParametersDimension, unsigned int, 7 );
86
107
113
114 typedef typename Superclass
115 ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType;
117 typedef typename Superclass
118 ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType;
120 typedef typename Superclass
121 ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType;
123
129 void SetMatrix( const MatrixType & matrix ) override;
130
135 void SetParameters( const ParametersType & parameters ) override;
136
137 const ParametersType & GetParameters( void ) const override;
138
140 void SetScale( ScaleType scale );
141
142 itkGetConstReferenceMacro( Scale, ScaleType );
143
146 const InputPointType &,
147 JacobianType &,
148 NonZeroJacobianIndicesType & ) const override;
149
150protected:
151
152 AdvancedSimilarity3DTransform( unsigned int outputSpaceDim,
153 unsigned int paramDim );
155 const OutputVectorType & offset );
158
159 void PrintSelf( std::ostream & os, Indent indent ) const override;
160
163 void ComputeMatrix() override;
164
166 void ComputeMatrixParameters() override;
167
170
171private:
172
173 AdvancedSimilarity3DTransform( const Self & ); //purposely not implemented
174 void operator=( const Self & ); //purposely not implemented
175
177
178};
179
180//class AdvancedSimilarity3DTransform
181
182} // namespace itk
183
184#ifndef ITK_MANUAL_INSTANTIATION
185#include "itkAdvancedSimilarity3DTransform.hxx"
186#endif
187
188#endif /* __itkAdvancedSimilarity3DTransform_h */
AdvancedSimilarity3DTransform of a vector space (e.g. space coordinates)
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Superclass::InputVnlVectorType InputVnlVectorType
Superclass::SpatialJacobianType SpatialJacobianType
void PrintSelf(std::ostream &os, Indent indent) const override
itkStaticConstMacro(SpaceDimension, unsigned int, 3)
AdvancedSimilarity3DTransform(const MatrixType &matrix, const OutputVectorType &offset)
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 3)
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
void SetMatrix(const MatrixType &matrix) override
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
Superclass::OutputVnlVectorType OutputVnlVectorType
AdvancedSimilarity3DTransform(unsigned int outputSpaceDim, unsigned int paramDim)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
itkStaticConstMacro(ParametersDimension, unsigned int, 7)
virtual void PrecomputeJacobianOfSpatialJacobian(void)
itkStaticConstMacro(InputSpaceDimension, unsigned int, 3)
AdvancedVersorRigid3DTransform< TScalarType > Superclass
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
void SetScale(ScaleType scale)
Superclass::InputCovariantVectorType InputCovariantVectorType
void SetParameters(const ParametersType &parameters) override
Superclass::NumberOfParametersType NumberOfParametersType
const ParametersType & GetParameters(void) const override
AdvancedVersorRigid3DTransform of a vector space (e.g. space coordinates)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo