|
The blo Library
|
Image geometric transform processor. More...
#include <ImageGeometricTransform.h>
Public Member Functions | |
| ImageGeometricTransform () | |
| Constructs image geometric transform processor. | |
| ImageGeometricTransform (const ImageGeometricTransform &rhs) | |
| Copy constructor. | |
| ImageGeometricTransform (ImageGeometricTransform &&rhs) noexcept | |
| Move constructor. | |
| virtual | ~ImageGeometricTransform () |
| Destructor. | |
| ImageGeometricTransform & | operator= (const ImageGeometricTransform &rhs) |
| Copy assignment operator. | |
| ImageGeometricTransform & | operator= (ImageGeometricTransform &&rhs) noexcept |
| Move assignment operator. | |
| template<typename U > | |
| void | resize (int srcRoiWidth, int srcRoiHeight, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 2, 1 > &t) |
| Resizes work buffers. | |
| template<typename U > | |
| void | resize (int srcRoiWidth, int srcRoiHeight, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 2, 2 > &A, const SmallMatrix< U, 2, 1 > &t) |
| Resizes work buffers. | |
| template<typename U > | |
| void | resize (int srcRoiWidth, int srcRoiHeight, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 3, 3 > &H) |
| Resizes work buffers. | |
| void | clear () |
| Resizes work buffers to zero. | |
| template<typename U > | |
| void | translate (const T *pSrc, int srcStep, int srcRoiWidth, int srcRoiHeight, T *pDst, int dstStep, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 2, 1 > &t) |
| Translates an image. | |
| template<typename U > | |
| void | transform (const T *pSrc, int srcStep, int srcRoiWidth, int srcRoiHeight, T *pDst, int dstStep, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 2, 2 > &A, const SmallMatrix< U, 2, 1 > &t) |
| Transforms an image. | |
| template<typename U > | |
| void | transform (const T *pSrc, int srcStep, int srcRoiWidth, int srcRoiHeight, T *pDst, int dstStep, int dstRoiWidth, int dstRoiHeight, const SmallMatrix< U, 3, 3 > &H) |
| Transforms an image. | |
Image geometric transform processor.
| I | Interpolation method. |
| T | Data type of image. |
| C | Number of channels. |
| blo::ImageGeometricTransform< I, T, C >::ImageGeometricTransform | ( | ) |
Constructs image geometric transform processor.
| blo::ImageGeometricTransform< I, T, C >::ImageGeometricTransform | ( | const ImageGeometricTransform< I, T, C > & | rhs | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
virtual |
Destructor.
| void blo::ImageGeometricTransform< I, T, C >::clear | ( | ) |
Resizes work buffers to zero.
| ImageGeometricTransform & blo::ImageGeometricTransform< I, T, C >::operator= | ( | const ImageGeometricTransform< I, T, C > & | rhs | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void blo::ImageGeometricTransform< I, T, C >::resize | ( | int | srcRoiWidth, |
| int | srcRoiHeight, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 2, 1 > & | t | ||
| ) |
Resizes work buffers.
| srcRoiWidth | Width of the source image ROI in pixels to resize work buffers to. |
| srcRoiHeight | Height of the source image ROI in pixels to resize work buffers to. |
| dstRoiWidth | Width of the destination image ROI in pixels to resize work buffers to. |
| dstRoiHeight | Height of the destination image ROI in pixels to resize work buffers to. |
| t | The translation vector to resize work buffers to. |
| U | Data type of translation. |
| void blo::ImageGeometricTransform< I, T, C >::resize | ( | int | srcRoiWidth, |
| int | srcRoiHeight, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 2, 2 > & | A, | ||
| const SmallMatrix< U, 2, 1 > & | t | ||
| ) |
Resizes work buffers.
| srcRoiWidth | Width of the source image ROI in pixels to resize work buffers to. |
| srcRoiHeight | Height of the source image ROI in pixels to resize work buffers to. |
| dstRoiWidth | Width of the destination image ROI in pixels to resize work buffers to. |
| dstRoiHeight | Height of the destination image ROI in pixels to resize work buffers to. |
| A | The rotation or linear transformation matrix to resize work buffers to. |
| t | The translation vector to resize work buffers to. |
| U | Data type of affine transformation. |
| void blo::ImageGeometricTransform< I, T, C >::resize | ( | int | srcRoiWidth, |
| int | srcRoiHeight, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 3, 3 > & | H | ||
| ) |
Resizes work buffers.
| srcRoiWidth | Width of the source image ROI in pixels to resize work buffers to. |
| srcRoiHeight | Height of the source image ROI in pixels to resize work buffers to. |
| dstRoiWidth | Width of the destination image ROI in pixels to resize work buffers to. |
| dstRoiHeight | Height of the destination image ROI in pixels to resize work buffers to. |
| H | The transformation matrix to resize work buffers to. |
| U | Data type of projective transformation. |
| void blo::ImageGeometricTransform< I, T, C >::transform | ( | const T * | pSrc, |
| int | srcStep, | ||
| int | srcRoiWidth, | ||
| int | srcRoiHeight, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 2, 2 > & | A, | ||
| const SmallMatrix< U, 2, 1 > & | t | ||
| ) |
Transforms an image.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| srcRoiWidth | Width of the source image ROI in pixels. |
| srcRoiHeight | Height of the source image ROI in pixels. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| dstRoiWidth | Width of the destination image ROI in pixels. |
| dstRoiHeight | Height of the destination image ROI in pixels. |
| A | The rotation or linear transformation matrix. |
| t | The translation vector. |
| U | Data type of affine transformation. |
| void blo::ImageGeometricTransform< I, T, C >::transform | ( | const T * | pSrc, |
| int | srcStep, | ||
| int | srcRoiWidth, | ||
| int | srcRoiHeight, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 3, 3 > & | H | ||
| ) |
Transforms an image.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| srcRoiWidth | Width of the source image ROI in pixels. |
| srcRoiHeight | Height of the source image ROI in pixels. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| dstRoiWidth | Width of the destination image ROI in pixels. |
| dstRoiHeight | Height of the destination image ROI in pixels. |
| H | The transformation matrix. |
| U | Data type of projective transformation. |
| void blo::ImageGeometricTransform< I, T, C >::translate | ( | const T * | pSrc, |
| int | srcStep, | ||
| int | srcRoiWidth, | ||
| int | srcRoiHeight, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight, | ||
| const SmallMatrix< U, 2, 1 > & | t | ||
| ) |
Translates an image.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| srcRoiWidth | Width of the source image ROI in pixels. |
| srcRoiHeight | Height of the source image ROI in pixels. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| dstRoiWidth | Width of the destination image ROI in pixels. |
| dstRoiHeight | Height of the destination image ROI in pixels. |
| t | The translation vector. |
| U | Data type of translation. |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |