18 #ifndef itkKernelTransform_h 19 #define itkKernelTransform_h 26 #include "vnl/vnl_matrix_fixed.h" 27 #include "vnl/vnl_matrix.h" 28 #include "vnl/vnl_vector.h" 29 #include "vnl/vnl_vector_fixed.h" 30 #include "vnl/algo/vnl_svd.h" 31 #include "vnl/vnl_sample.h" 60 template<
typename TParametersValueType,
61 unsigned int NDimensions>
63 public Transform<TParametersValueType, NDimensions, NDimensions>
129 itkGetModifiableObjectMacro(SourceLandmarks, PointSetType);
134 itkGetModifiableObjectMacro(TargetLandmarks, PointSetType);
140 itkGetModifiableObjectMacro(Displacements, VectorSetType);
146 virtual OutputPointType
TransformPoint(
const InputPointType & thisPoint)
const ITK_OVERRIDE;
152 itkExceptionMacro( <<
"TransformVector(const InputVectorType &) is not implemented for KernelTransform");
156 virtual OutputVnlVectorType
TransformVector(
const InputVnlVectorType &) const ITK_OVERRIDE
158 itkExceptionMacro( <<
"TransformVector(const InputVnlVectorType &) is not implemented for KernelTransform");
165 itkExceptionMacro( <<
"TransformCovariantVector(const InputCovariantVectorType &) is not implemented for KernelTransform");
170 typedef vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>
IMatrixType;
176 JacobianType &) const ITK_OVERRIDE
178 itkExceptionMacro(
"ComputeJacobianWithRespectToPosition not yet implemented " 186 virtual void SetParameters(
const ParametersType &) ITK_OVERRIDE;
199 virtual const ParametersType &
GetParameters()
const ITK_OVERRIDE;
223 itkGetConstMacro(Stiffness,
double);
233 typedef vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>
GMatrixType;
254 typedef vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>
AMatrixType;
257 typedef vnl_vector_fixed<TParametersValueType, NDimensions>
BMatrixType;
260 typedef vnl_matrix_fixed<TParametersValueType, 1, NDimensions>
RowMatrixType;
272 virtual void ComputeG(
const InputVectorType & landmarkVector, GMatrixType & gmatrix)
const;
365 void operator=(const Self &) ITK_DELETE_FUNCTION;
370 #ifndef ITK_MANUAL_INSTANTIATION 371 #include "itkKernelTransform.hxx" 374 #endif // itkKernelTransform_h
MeshTraits::PointIdentifier PointIdentifier
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
PointsContainer::ConstIterator PointsContainerConstIterator
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
MeshTraits::PointsContainer PointsContainer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
PointsContainer::Iterator PointsContainerIterator