|
The blo Library
|
Image deinterlace processor. More...
#include <ImageDeinterlace.h>
Public Member Functions | |
| ImageDeinterlace () | |
| Default constructor. | |
| ImageDeinterlace (int roiWidth, int roiHeight) | |
| Constructs image deinterlace processor of specified size work buffers. | |
| ImageDeinterlace (const ImageDeinterlace &rhs) | |
| Copy constructor. | |
| ImageDeinterlace (ImageDeinterlace &&rhs) noexcept | |
| Move constructor. | |
| virtual | ~ImageDeinterlace () |
| Destructor. | |
| ImageDeinterlace & | operator= (const ImageDeinterlace &rhs) |
| Copy assignment operator. | |
| ImageDeinterlace & | operator= (ImageDeinterlace &&rhs) noexcept |
| Move assignment operator. | |
| void | resize (int roiWidth, int roiHeight) |
| Resizes work buffers. | |
| void | clear () |
| Resizes work buffers to zero size. | |
| void | deinterlace (const T *pSrc, int srcStep, T *pDstLower, int dstLowerStep, T *pDstUpper, int dstUpperStep, int roiWidth, int roiHeight) |
| Deinterlace an image. | |
| void | deinterlaceLower (const T *pSrc, int srcStep, T *pDst, int dstStep, int roiWidth, int roiHeight) |
| Deinterlace an image, lower field. | |
| void | deinterlaceUpper (const T *pSrc, int srcStep, T *pDst, int dstStep, int roiWidth, int roiHeight) |
| Deinterlace an image, upper field. | |
Image deinterlace processor.
| I | Interpolation method. |
| T | Data type. |
| C | Number of channels. |
| blo::ImageDeinterlace< I, T, C >::ImageDeinterlace | ( | ) |
Default constructor.
| blo::ImageDeinterlace< I, T, C >::ImageDeinterlace | ( | int | roiWidth, |
| int | roiHeight | ||
| ) |
Constructs image deinterlace processor of specified size work buffers.
| roiWidth | Width of the image ROI in pixels to size work buffers to. |
| roiHeight | Height of the image ROI in pixels to size work buffers to. |
| blo::ImageDeinterlace< I, T, C >::ImageDeinterlace | ( | const ImageDeinterlace< I, T, C > & | rhs | ) |
Copy constructor.
|
noexcept |
Move constructor.
|
virtual |
Destructor.
| void blo::ImageDeinterlace< I, T, C >::clear | ( | ) |
Resizes work buffers to zero size.
| void blo::ImageDeinterlace< I, T, C >::deinterlace | ( | const T * | pSrc, |
| int | srcStep, | ||
| T * | pDstLower, | ||
| int | dstLowerStep, | ||
| T * | pDstUpper, | ||
| int | dstUpperStep, | ||
| int | roiWidth, | ||
| int | roiHeight | ||
| ) |
Deinterlace an image.
This function reconstructs the lower and upper fields of an interlaced frame. Pixel values in the the first/last row of the destination lower/upper field image are set to zero.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| pDstLower | Pointer to the lower field image. |
| dstLowerStep | Step in bytes between the rows in the lower field image. |
| pDstUpper | Pointer to the upper field image. |
| dstUpperStep | Step in bytes between the rows in the upper field image. |
| roiWidth | Width of the source and destination image ROI in pixels. |
| roiHeight | Height of the source and destination image ROI in pixels. |
| void blo::ImageDeinterlace< I, T, C >::deinterlaceLower | ( | const T * | pSrc, |
| int | srcStep, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | roiWidth, | ||
| int | roiHeight | ||
| ) |
Deinterlace an image, lower field.
This function reconstructs the lower field of an interlaced frame. Pixel values in the the first row of the destination image are set to zero.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| roiWidth | Width of the source and destination image ROI in pixels. |
| roiHeight | Height of the source and destination image ROI in pixels. |
| void blo::ImageDeinterlace< I, T, C >::deinterlaceUpper | ( | const T * | pSrc, |
| int | srcStep, | ||
| T * | pDst, | ||
| int | dstStep, | ||
| int | roiWidth, | ||
| int | roiHeight | ||
| ) |
Deinterlace an image, upper field.
This function reconstructs the upper field of an interlaced frame. Pixel values in the the last row of the destination image are set to zero.
| pSrc | Pointer to the source image. |
| srcStep | Step in bytes between the rows in the source image. |
| pDst | Pointer to the destination image. |
| dstStep | Step in bytes between the rows in the destination image. |
| roiWidth | Width of the source and destination image ROI in pixels. |
| roiHeight | Height of the source and destination image ROI in pixels. |
| ImageDeinterlace & blo::ImageDeinterlace< I, T, C >::operator= | ( | const ImageDeinterlace< I, T, C > & | rhs | ) |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void blo::ImageDeinterlace< I, T, C >::resize | ( | int | roiWidth, |
| int | roiHeight | ||
| ) |
Resizes work buffers.
| roiWidth | Width of the image ROI in pixels to size work buffers to. |
| roiHeight | Height of the image ROI in pixels to size work buffers to. |
|
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 |