|
The blo Library
|
Image resize processor. More...
#include <ImageResize.h>
Public Member Functions | |
| ImageResize () | |
| Default constructor. | |
| ImageResize (int srcRoiWidth, int srcRoiHeight, int dstRoiWidth, int dstRoiHeight) | |
| Constructs image resize processor of specified size work buffers. | |
| ImageResize (const ImageResize &rhs) | |
| Copy constructor. | |
| ImageResize (ImageResize &&rhs) noexcept | |
| Move constructor. | |
| virtual | ~ImageResize () |
| Destructor. | |
| ImageResize & | operator= (const ImageResize &rhs) |
| Copy assignment operator. | |
| ImageResize & | operator= (ImageResize &&rhs) noexcept |
| Move assignment operator. | |
| void | resize (int srcRoiWidth, int srcRoiHeight, int dstRoiWidth, int dstRoiHeight) |
| Resizes work buffers. | |
| void | clear () |
| Resizes work buffers to zero width and zero height. | |
| void | resizeImage (const T *pSrc, int srcStep, int srcRoiWidth, int srcRoiHeight, T *pDst, int dstStep, int dstRoiWidth, int dstRoiHeight) |
| Resize an image. | |
Image resize processor.
| I | Interpolation method. |
| T | Data type. |
| C | Number of channels. |
| blo::ImageResize< I, T, C >::ImageResize | ( | ) |
Default constructor.
| blo::ImageResize< I, T, C >::ImageResize | ( | int | srcRoiWidth, |
| int | srcRoiHeight, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
Constructs image resize processor of specified size 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. |
| blo::ImageResize< I, T, C >::ImageResize | ( | const ImageResize< I, T, C > & | rhs | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
virtual |
Destructor.
| void blo::ImageResize< I, T, C >::clear | ( | ) |
Resizes work buffers to zero width and zero height.
| ImageResize & blo::ImageResize< I, T, C >::operator= | ( | const ImageResize< I, T, C > & | rhs | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void blo::ImageResize< I, T, C >::resize | ( | int | srcRoiWidth, |
| int | srcRoiHeight, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
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. |
| void blo::ImageResize< I, T, C >::resizeImage | ( | const T * | pSrc, |
| int | srcStep, | ||
| int | srcRoiWidth, | ||
| int | srcRoiHeight, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | dstRoiWidth, | ||
| int | dstRoiHeight | ||
| ) |
Resize 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. |
|
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 |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |