|
| | DirectMethods () |
| | Default constructor.
|
| |
| | DirectMethods (int width, int height) |
| | Constructs direct methods processor of specified size work buffers.
|
| |
| | DirectMethods (const DirectMethods &rhs) |
| | Copy constructor.
|
| |
| | DirectMethods (DirectMethods &&rhs) noexcept |
| | Move constructor.
|
| |
| virtual | ~DirectMethods () |
| | Destructor.
|
| |
| DirectMethods & | operator= (const DirectMethods &rhs) |
| | Copy assignment operator.
|
| |
| DirectMethods & | operator= (DirectMethods &&rhs) noexcept |
| | Move assignment operator.
|
| |
| void | resize (int width, int height) |
| | Resizes work buffers.
|
| |
| void | clear () |
| | Resizes work buffers to zero width and zero height.
|
| |
| int | width () const |
| | Width of the work buffers.
|
| |
| int | height () const |
| | Height of the work buffers.
|
| |
| void | setTolerance (const U &tolerance) |
| | Sets the termination tolerance.
|
| |
| const U | tolerance () const |
| | The termination tolerance.
|
| |
| void | setMaxIterations (int maxIterations) |
| | Sets the maximum number of iterations for each level.
|
| |
| int | maxIterations () const |
| | The maximum number of iterations for each level.
|
| |
| const SmallMatrix< U, 2, 1 > | estimateTranslation (const MultiscaleImage< T, C > &pyramid1, const MultiscaleImage< T, C > &pyramid2) |
| | Estimates the translation.
|
| |
| void | estimateEuclideanTransformation (const MultiscaleImage< T, C > &pyramid1, const MultiscaleImage< T, C > &pyramid2, SmallMatrix< U, 2, 2 > &R, SmallMatrix< U, 2, 1 > &t) |
| | Estimates the Euclidean transformation.
|
| |
| void | estimateSimilarityTransformation (const MultiscaleImage< T, C > &pyramid1, const MultiscaleImage< T, C > &pyramid2, U &s, SmallMatrix< U, 2, 2 > &R, SmallMatrix< U, 2, 1 > &t) |
| | Estimates the similarity transformation.
|
| |
| void | estimateAffineTransformation (const MultiscaleImage< T, C > &pyramid1, const MultiscaleImage< T, C > &pyramid2, SmallMatrix< U, 2, 2 > &A, SmallMatrix< U, 2, 1 > &t) |
| | Estimates the affine transformation.
|
| |
| void | estimateProjectiveTransformation (const MultiscaleImage< T, C > &pyramid1, const MultiscaleImage< T, C > &pyramid2, SmallMatrix< U, 3, 3 > &H) |
| | Estimates the projective transformation.
|
| |
|
(Note that these are not member functions.)
|
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 1, int16_t, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 1, int16_t, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 1, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 1, float, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 3, int16_t, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 3, int16_t, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 3, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint8_t, 3, float, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint16_t, 1, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint16_t, 1, float, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint16_t, 3, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< uint16_t, 3, float, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< float, 1, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< float, 1, float, double > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< float, 3, float, float > |
| |
| BLO_EXPIMP_TEMPLATE template class BLO_API | DirectMethods< float, 3, float, double > |
| |
template<typename T, size_t C, typename V, typename U>
class blo::DirectMethods< T, C, V, U >
Direct methods processor.
- Template Parameters
-
| T | Data type of pyramid. |
| C | Number of channels. |
| V | Intermediate data type. |
| U | Data type of linear transform matrix and translation vector. |
template<typename T , size_t C, typename V , typename U >
| void blo::DirectMethods< T, C, V, U >::estimateAffineTransformation |
( |
const MultiscaleImage< T, C > & |
pyramid1, |
|
|
const MultiscaleImage< T, C > & |
pyramid2, |
|
|
SmallMatrix< U, 2, 2 > & |
A, |
|
|
SmallMatrix< U, 2, 1 > & |
t |
|
) |
| |
Estimates the affine transformation.
Given 2 Gaussian pyramids, this function determines the affine transformation from pyramid1 (level 0) to pyramid2 (level 0).
If necessary, the work buffers are resized.
- Parameters
-
| pyramid1,pyramid2 | The source pyramids. |
| A | The linear transform matrix. |
| t | The translation vector. |
template<typename T , size_t C, typename V , typename U >
| void blo::DirectMethods< T, C, V, U >::estimateEuclideanTransformation |
( |
const MultiscaleImage< T, C > & |
pyramid1, |
|
|
const MultiscaleImage< T, C > & |
pyramid2, |
|
|
SmallMatrix< U, 2, 2 > & |
R, |
|
|
SmallMatrix< U, 2, 1 > & |
t |
|
) |
| |
Estimates the Euclidean transformation.
Given 2 Gaussian pyramids, this function determines the Euclidean transformation from pyramid1 (level 0) to pyramid2 (level 0). If necessary, the work buffers are resized.
- Parameters
-
| pyramid1,pyramid2 | The source pyramids. |
| R | The rotation matrix. |
| t | The translation vector. |
template<typename T , size_t C, typename V , typename U >
Estimates the projective transformation.
Given 2 Gaussian pyramids, this function determines the projective transformation from pyramid1 (level 0) to pyramid2 (level 0). If necessary, the work buffers are resized.
- Parameters
-
| pyramid1,pyramid2 | The source pyramids. |
| H | The projective transformation matrix. |
template<typename T , size_t C, typename V , typename U >
| void blo::DirectMethods< T, C, V, U >::estimateSimilarityTransformation |
( |
const MultiscaleImage< T, C > & |
pyramid1, |
|
|
const MultiscaleImage< T, C > & |
pyramid2, |
|
|
U & |
s, |
|
|
SmallMatrix< U, 2, 2 > & |
R, |
|
|
SmallMatrix< U, 2, 1 > & |
t |
|
) |
| |
Estimates the similarity transformation.
Given 2 Gaussian pyramids, this function determines the similarity transformation from pyramid1 (level 0) to pyramid2 (level 0). If necessary, the work buffers are resized.
- Parameters
-
| pyramid1,pyramid2 | The source pyramids. |
| s | The scale. |
| R | The rotation matrix. |
| t | The translation vector. |
template<typename T , size_t C, typename V , typename U >
Estimates the translation.
Given 2 Gaussian pyramids, this function determines the translation from pyramid1 (level 0) to pyramid2 (level 0).
If necessary, the work buffers are resized.
- Parameters
-
| pyramid1,pyramid2 | The source pyramids. |
- Returns
- The translation vector.