go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkAdvancedSimilarity2DTransform.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: itkAdvancedSimilarity2DTransform.h,v $
22 Language: C++
23 Date: $Date: 2006-06-07 16:06:32 $
24 Version: $Revision: 1.11 $
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 __itkAdvancedSimilarity2DTransform_h
35#define __itkAdvancedSimilarity2DTransform_h
36
37#include <iostream>
39
40namespace itk
41{
42
77template< class TScalarType = double >
78// Data type for scalars (float or double)
80 public AdvancedRigid2DTransform< TScalarType >
81{
82public:
83
88 typedef SmartPointer< const Self > ConstPointer;
89
91 itkNewMacro( Self );
92
95
97 itkStaticConstMacro( SpaceDimension, unsigned int, 2 );
98 itkStaticConstMacro( InputSpaceDimension, unsigned int, 2 );
99 itkStaticConstMacro( OutputSpaceDimension, unsigned int, 2 );
100 itkStaticConstMacro( ParametersDimension, unsigned int, 4 );
101
105
109
112
115
118
122
126
130
134
135 typedef typename Superclass
136 ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType;
138 typedef typename Superclass
139 ::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType;
141 typedef typename Superclass
142 ::JacobianOfSpatialHessianType JacobianOfSpatialHessianType;
144
146 void SetScale( ScaleType scale );
147
148 itkGetConstReferenceMacro( Scale, ScaleType );
149
159 void SetParameters( const ParametersType & parameters ) override;
160
170 const ParametersType & GetParameters( void ) const override;
171
179 const InputPointType &,
180 JacobianType &,
181 NonZeroJacobianIndicesType & ) const override;
182
184 void SetIdentity( void ) override;
185
190 void CloneInverseTo( Pointer & newinverse ) const;
191
196 void CloneTo( Pointer & clone ) const;
197
211 void SetMatrix( const MatrixType & matrix ) override;
212
213protected:
214
216 AdvancedSimilarity2DTransform( unsigned int spaceDimension,
217 unsigned int parametersDimension );
218
220 void PrintSelf( std::ostream & os, Indent indent ) const override;
221
225 void ComputeMatrix( void ) override;
226
231 void ComputeMatrixParameters( void ) override;
232
234 void SetVarScale( ScaleType scale )
235 { m_Scale = scale; }
236
239
240private:
241
242 AdvancedSimilarity2DTransform( const Self & ); //purposely not implemented
243 void operator=( const Self & ); //purposely not implemented
244
246
247};
248
249//class AdvancedSimilarity2DTransform
250
251} // namespace itk
252
253#ifndef ITK_MANUAL_INSTANTIATION
254#include "itkAdvancedSimilarity2DTransform.hxx"
255#endif
256
257#endif /* __itkAdvancedSimilarity2DTransform_h */
AdvancedRigid2DTransform of a vector space (e.g. space coordinates)
Superclass::OffsetType OffsetType
Standard vector type for this class.
Superclass::InputCovariantVectorType InputCovariantVectorType
Standard covariant vector type for this class.
Superclass::InputVnlVectorType InputVnlVectorType
Standard vnl_vector type for this class.
Superclass::SpatialHessianType SpatialHessianType
Superclass::InternalMatrixType InternalMatrixType
Superclass::MatrixType MatrixType
Standard matrix type for this class.
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::InputPointType InputPointType
Standard coordinate point type for this class.
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ParametersType ParametersType
Superclass::OutputVectorType OutputVectorType
Superclass::InputVectorType InputVectorType
Standard vector type for this class.
Superclass::SpatialJacobianType SpatialJacobianType
Superclass::OutputPointType OutputPointType
AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)
Superclass::OutputVnlVectorType OutputVnlVectorType
void SetScale(ScaleType scale)
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
const ParametersType & GetParameters(void) const override
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
itkStaticConstMacro(SpaceDimension, unsigned int, 2)
void PrintSelf(std::ostream &os, Indent indent) const override
void ComputeMatrixParameters(void) override
void CloneTo(Pointer &clone) const
void CloneInverseTo(Pointer &newinverse) const
AdvancedSimilarity2DTransform(unsigned int spaceDimension, unsigned int parametersDimension)
Superclass::SpatialJacobianType SpatialJacobianType
void SetParameters(const ParametersType &parameters) override
void ComputeMatrix(void) override
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
itkStaticConstMacro(ParametersDimension, unsigned int, 4)
void SetMatrix(const MatrixType &matrix) override
AdvancedRigid2DTransform< TScalarType > Superclass
Superclass::InputCovariantVectorType InputCovariantVectorType
void PrecomputeJacobianOfSpatialJacobian(void) override
itkStaticConstMacro(InputSpaceDimension, unsigned int, 2)
Superclass::OutputCovariantVectorType OutputCovariantVectorType
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo