|
The blo Library
|
Pushbroom camera. More...
#include <PushbroomCamera.h>
Public Member Functions | |
| PushbroomCamera () | |
| Default constructor. | |
| PushbroomCamera (const SmallMatrix< T, 2, 4 > &Paffine, const SmallMatrix< T, 2, 4 > &Pperspective) | |
| Constructs pushbroom camera and sets projection matrices. | |
| PushbroomCamera (const PushbroomCamera &rhs) | |
| Copy constructor. | |
| PushbroomCamera (PushbroomCamera &&rhs) noexcept | |
| Move constructor. | |
| virtual | ~PushbroomCamera () |
| Destructor. | |
| PushbroomCamera & | operator= (const PushbroomCamera &rhs) |
| Copy assignment operator. | |
| PushbroomCamera & | operator= (PushbroomCamera &&rhs) noexcept |
| Move assignment operator. | |
| void | setProjectionMatrices (const SmallMatrix< T, 2, 4 > &Paffine, const SmallMatrix< T, 2, 4 > &Pperspective) |
| Sets projection matrices. | |
| void | projectionMatrices (SmallMatrix< T, 2, 4 > &Paffine, SmallMatrix< T, 2, 4 > &Pperspective) const |
| Retrieves projection matrices. | |
| void | estimateModelLinear (const Point< T, 3 > *pSrc3D, const Point< T, 2 > *pSrc2D, int count) |
| Estimates the pushbroom camera model from point correspondences. | |
| const Point< T, 2 > | projectPoint3DTo2D (const Point< T, 3 > &src) const |
| Projects a 3D point to a 2D point. | |
| void | projectPoints3DTo2D (const Point< T, 3 > *pSrc, Point< T, 2 > *pDst, int count) const |
| Projects 3D points to 2D points. | |
Related Functions | |
(Note that these are not member functions.) | |
| BLO_EXPIMP_TEMPLATE template class BLO_API | PushbroomCamera |
| BLO_EXPIMP_TEMPLATE template class BLO_API | PushbroomCamera |
| BLO_EXPIMP_TEMPLATE template class BLO_API | PushbroomCamera |
| BLO_EXPIMP_TEMPLATE template class BLO_API | PushbroomCamera |
Pushbroom camera.
| D | Pushbroom camera direction. |
| T | Data type. |
| blo::PushbroomCamera< D, T >::PushbroomCamera | ( | ) |
Default constructor.
| blo::PushbroomCamera< D, T >::PushbroomCamera | ( | const SmallMatrix< T, 2, 4 > & | Paffine, |
| const SmallMatrix< T, 2, 4 > & | Pperspective | ||
| ) |
Constructs pushbroom camera and sets projection matrices.
Paffine must have the form [Paffine11, Paffine12, Paffine13, Paffine14; 0, 0, 0, 1]
| Paffine | The affine projection matrix. |
| Pperspective | The perspective projection matrix. |
| blo::PushbroomCamera< D, T >::PushbroomCamera | ( | const PushbroomCamera< D, T > & | rhs | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
virtual |
Destructor.
| void blo::PushbroomCamera< D, T >::estimateModelLinear | ( | const Point< T, 3 > * | pSrc3D, |
| const Point< T, 2 > * | pSrc2D, | ||
| int | count | ||
| ) |
Estimates the pushbroom camera model from point correspondences.
Given 7 or more point correspondences, this function determines the pushbroom camera model using a linear estimation method.
| pSrc3D,pSrc2D | Pointers to the point correspondences. |
| count | Number of point correspondences. |
| PushbroomCamera & blo::PushbroomCamera< D, T >::operator= | ( | const PushbroomCamera< D, T > & | rhs | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void blo::PushbroomCamera< D, T >::projectionMatrices | ( | SmallMatrix< T, 2, 4 > & | Paffine, |
| SmallMatrix< T, 2, 4 > & | Pperspective | ||
| ) | const |
Retrieves projection matrices.
| Paffine | The affine projection matrix. |
| Pperspective | The perspective projection matrix. |
| const Point< T, 2 > blo::PushbroomCamera< D, T >::projectPoint3DTo2D | ( | const Point< T, 3 > & | src | ) | const |
Projects a 3D point to a 2D point.
| src | The source 3D point. |
| void blo::PushbroomCamera< D, T >::projectPoints3DTo2D | ( | const Point< T, 3 > * | pSrc, |
| Point< T, 2 > * | pDst, | ||
| int | count | ||
| ) | const |
Projects 3D points to 2D points.
| pSrc | Pointer to the source 3D points. |
| pDst | Pointer to the destination 2D points. |
| count | Number of points. |
| void blo::PushbroomCamera< D, T >::setProjectionMatrices | ( | const SmallMatrix< T, 2, 4 > & | Paffine, |
| const SmallMatrix< T, 2, 4 > & | Pperspective | ||
| ) |
Sets projection matrices.
Paffine must have the form [Paffine11, Paffine12, Paffine13, Paffine14; 0, 0, 0, 1]
| Paffine | The affine projection matrix. |
| Pperspective | The perspective projection matrix. |
|
related |
|
related |
|
related |
|
related |