The blo Library
Loading...
Searching...
No Matches
Public Member Functions | Related Functions | List of all members
blo::ThinPlateSplineGeometricTransformation< T, N > Class Template Reference

Thin plate spline geometric transformation. More...

#include <ThinPlateSplineGeometricTransformation.h>

Public Member Functions

 ThinPlateSplineGeometricTransformation ()
 Default constructor.
 
 ThinPlateSplineGeometricTransformation (const ThinPlateSplineGeometricTransformation &rhs)
 Copy constructor.
 
 ThinPlateSplineGeometricTransformation (ThinPlateSplineGeometricTransformation &&rhs) noexcept
 Move constructor.
 
virtual ~ThinPlateSplineGeometricTransformation ()
 Destructor.
 
ThinPlateSplineGeometricTransformation & operator= (const ThinPlateSplineGeometricTransformation &rhs)
 Copy assignment operator.
 
ThinPlateSplineGeometricTransformation & operator= (ThinPlateSplineGeometricTransformation &&rhs) noexcept
 Move assignment operator.
 
void setRegularization (const T &lambda)
 Sets the regularization parameter.
 
const T regularization () const
 The regularization parameter.
 
void calcTransformation (const Point< T, N > *pSrc1, const Point< T, N > *pSrc2, int count)
 Calculates the transformation from point correspondences.
 
const Point< T, N > transformPoint (const Point< T, N > &src1) const
 Transforms a point.
 

Related Functions

(Note that these are not member functions.)

BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 1 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 1 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 2 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 2 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 3 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 3 >
 

Detailed Description

template<typename T, size_t N>
class blo::ThinPlateSplineGeometricTransformation< T, N >

Thin plate spline geometric transformation.

Template Parameters
TData type.
NNumber of dimensions.

Constructor & Destructor Documentation

◆ ThinPlateSplineGeometricTransformation() [1/3]

template<typename T , size_t N>
blo::ThinPlateSplineGeometricTransformation< T, N >::ThinPlateSplineGeometricTransformation ( )

Default constructor.

◆ ThinPlateSplineGeometricTransformation() [2/3]

template<typename T , size_t N>
blo::ThinPlateSplineGeometricTransformation< T, N >::ThinPlateSplineGeometricTransformation ( const ThinPlateSplineGeometricTransformation< T, N > &  rhs)

Copy constructor.

◆ ThinPlateSplineGeometricTransformation() [3/3]

template<typename T , size_t N>
blo::ThinPlateSplineGeometricTransformation< T, N >::ThinPlateSplineGeometricTransformation ( ThinPlateSplineGeometricTransformation< T, N > &&  rhs)
noexcept

Move constructor.

◆ ~ThinPlateSplineGeometricTransformation()

template<typename T , size_t N>
virtual blo::ThinPlateSplineGeometricTransformation< T, N >::~ThinPlateSplineGeometricTransformation ( )
virtual

Destructor.

Member Function Documentation

◆ calcTransformation()

template<typename T , size_t N>
void blo::ThinPlateSplineGeometricTransformation< T, N >::calcTransformation ( const Point< T, N > *  pSrc1,
const Point< T, N > *  pSrc2,
int  count 
)

Calculates the transformation from point correspondences.

Given N + 1 or more point correspondences, this function determines the transformation from pSrc1 to pSrc2.

Parameters
pSrc1,pSrc2Pointers to the point correspondences.
countNumber of point correspondences.

◆ operator=() [1/2]

template<typename T , size_t N>
ThinPlateSplineGeometricTransformation & blo::ThinPlateSplineGeometricTransformation< T, N >::operator= ( const ThinPlateSplineGeometricTransformation< T, N > &  rhs)

Copy assignment operator.

◆ operator=() [2/2]

template<typename T , size_t N>
ThinPlateSplineGeometricTransformation & blo::ThinPlateSplineGeometricTransformation< T, N >::operator= ( ThinPlateSplineGeometricTransformation< T, N > &&  rhs)
noexcept

Move assignment operator.

◆ regularization()

template<typename T , size_t N>
const T blo::ThinPlateSplineGeometricTransformation< T, N >::regularization ( ) const

The regularization parameter.

Returns
The regularization parameter.

◆ setRegularization()

template<typename T , size_t N>
void blo::ThinPlateSplineGeometricTransformation< T, N >::setRegularization ( const T &  lambda)

Sets the regularization parameter.

Parameters
lambdaThe regularization parameter.

◆ transformPoint()

template<typename T , size_t N>
const Point< T, N > blo::ThinPlateSplineGeometricTransformation< T, N >::transformPoint ( const Point< T, N > &  src1) const

Transforms a point.

This function transforms a point under the transformation calculated in calcTransformation().

Parameters
src1The source point.
Returns
The destination point.

Friends And Related Function Documentation

◆ ThinPlateSplineGeometricTransformation< double, 1 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 1 >
related

◆ ThinPlateSplineGeometricTransformation< double, 2 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 2 >
related

◆ ThinPlateSplineGeometricTransformation< double, 3 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< double, 3 >
related

◆ ThinPlateSplineGeometricTransformation< float, 1 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 1 >
related

◆ ThinPlateSplineGeometricTransformation< float, 2 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 2 >
related

◆ ThinPlateSplineGeometricTransformation< float, 3 >

template<typename T , size_t N>
BLO_EXPIMP_TEMPLATE template class BLO_API ThinPlateSplineGeometricTransformation< float, 3 >
related

The documentation for this class was generated from the following file: