The blo Library
Loading...
Searching...
No Matches
Public Member Functions | Related Functions | List of all members
blo::ImageDeinterlace< I, T, C > Class Template Reference

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.
 

Related Functions

(Note that these are not member functions.)

BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace
 

Detailed Description

template<Interpolation I, typename T, size_t C>
class blo::ImageDeinterlace< I, T, C >

Image deinterlace processor.

Template Parameters
IInterpolation method.
TData type.
CNumber of channels.

Constructor & Destructor Documentation

◆ ImageDeinterlace() [1/4]

template<Interpolation I, typename T , size_t C>
blo::ImageDeinterlace< I, T, C >::ImageDeinterlace ( )

Default constructor.

◆ ImageDeinterlace() [2/4]

template<Interpolation I, typename T , size_t C>
blo::ImageDeinterlace< I, T, C >::ImageDeinterlace ( int  roiWidth,
int  roiHeight 
)

Constructs image deinterlace processor of specified size work buffers.

Parameters
roiWidthWidth of the image ROI in pixels to size work buffers to.
roiHeightHeight of the image ROI in pixels to size work buffers to.

◆ ImageDeinterlace() [3/4]

template<Interpolation I, typename T , size_t C>
blo::ImageDeinterlace< I, T, C >::ImageDeinterlace ( const ImageDeinterlace< I, T, C > &  rhs)

Copy constructor.

◆ ImageDeinterlace() [4/4]

template<Interpolation I, typename T , size_t C>
blo::ImageDeinterlace< I, T, C >::ImageDeinterlace ( ImageDeinterlace< I, T, C > &&  rhs)
noexcept

Move constructor.

◆ ~ImageDeinterlace()

template<Interpolation I, typename T , size_t C>
virtual blo::ImageDeinterlace< I, T, C >::~ImageDeinterlace ( )
virtual

Destructor.

Member Function Documentation

◆ clear()

template<Interpolation I, typename T , size_t C>
void blo::ImageDeinterlace< I, T, C >::clear ( )

Resizes work buffers to zero size.

◆ deinterlace()

template<Interpolation I, typename T , size_t C>
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.

Parameters
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
pDstLowerPointer to the lower field image.
dstLowerStepStep in bytes between the rows in the lower field image.
pDstUpperPointer to the upper field image.
dstUpperStepStep in bytes between the rows in the upper field image.
roiWidthWidth of the source and destination image ROI in pixels.
roiHeightHeight of the source and destination image ROI in pixels.

◆ deinterlaceLower()

template<Interpolation I, typename T , size_t C>
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.

Parameters
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
pDstPointer to the destination image.
dstStepStep in bytes between the rows in the destination image.
roiWidthWidth of the source and destination image ROI in pixels.
roiHeightHeight of the source and destination image ROI in pixels.

◆ deinterlaceUpper()

template<Interpolation I, typename T , size_t C>
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.

Parameters
pSrcPointer to the source image.
srcStepStep in bytes between the rows in the source image.
pDstPointer to the destination image.
dstStepStep in bytes between the rows in the destination image.
roiWidthWidth of the source and destination image ROI in pixels.
roiHeightHeight of the source and destination image ROI in pixels.

◆ operator=() [1/2]

template<Interpolation I, typename T , size_t C>
ImageDeinterlace & blo::ImageDeinterlace< I, T, C >::operator= ( const ImageDeinterlace< I, T, C > &  rhs)

Copy assignment operator.

◆ operator=() [2/2]

template<Interpolation I, typename T , size_t C>
ImageDeinterlace & blo::ImageDeinterlace< I, T, C >::operator= ( ImageDeinterlace< I, T, C > &&  rhs)
noexcept

Move assignment operator.

◆ resize()

template<Interpolation I, typename T , size_t C>
void blo::ImageDeinterlace< I, T, C >::resize ( int  roiWidth,
int  roiHeight 
)

Resizes work buffers.

Parameters
roiWidthWidth of the image ROI in pixels to size work buffers to.
roiHeightHeight of the image ROI in pixels to size work buffers to.

Friends And Related Function Documentation

◆ ImageDeinterlace() [1/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint8_t, 1 >
related

◆ ImageDeinterlace() [2/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint8_t, 3 >
related

◆ ImageDeinterlace() [3/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint8_t, 4 >
related

◆ ImageDeinterlace() [4/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint16_t, 1 >
related

◆ ImageDeinterlace() [5/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint16_t, 3 >
related

◆ ImageDeinterlace() [6/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, uint16_t, 4 >
related

◆ ImageDeinterlace() [7/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, float, 1 >
related

◆ ImageDeinterlace() [8/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, float, 3 >
related

◆ ImageDeinterlace() [9/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::nearestNeighbor, float, 4 >
related

◆ ImageDeinterlace() [10/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint8_t, 1 >
related

◆ ImageDeinterlace() [11/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint8_t, 3 >
related

◆ ImageDeinterlace() [12/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint8_t, 4 >
related

◆ ImageDeinterlace() [13/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint16_t, 1 >
related

◆ ImageDeinterlace() [14/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint16_t, 3 >
related

◆ ImageDeinterlace() [15/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, uint16_t, 4 >
related

◆ ImageDeinterlace() [16/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, float, 1 >
related

◆ ImageDeinterlace() [17/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, float, 3 >
related

◆ ImageDeinterlace() [18/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::linear, float, 4 >
related

◆ ImageDeinterlace() [19/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint8_t, 1 >
related

◆ ImageDeinterlace() [20/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint8_t, 3 >
related

◆ ImageDeinterlace() [21/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint8_t, 4 >
related

◆ ImageDeinterlace() [22/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint16_t, 1 >
related

◆ ImageDeinterlace() [23/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint16_t, 3 >
related

◆ ImageDeinterlace() [24/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, uint16_t, 4 >
related

◆ ImageDeinterlace() [25/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, float, 1 >
related

◆ ImageDeinterlace() [26/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, float, 3 >
related

◆ ImageDeinterlace() [27/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::cubic, float, 4 >
related

◆ ImageDeinterlace() [28/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint8_t, 1 >
related

◆ ImageDeinterlace() [29/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint8_t, 3 >
related

◆ ImageDeinterlace() [30/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint8_t, 4 >
related

◆ ImageDeinterlace() [31/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint16_t, 1 >
related

◆ ImageDeinterlace() [32/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint16_t, 3 >
related

◆ ImageDeinterlace() [33/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, uint16_t, 4 >
related

◆ ImageDeinterlace() [34/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, float, 1 >
related

◆ ImageDeinterlace() [35/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, float, 3 >
related

◆ ImageDeinterlace() [36/36]

template<Interpolation I, typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API ImageDeinterlace< Interpolation::lanczos, float, 4 >
related

The documentation for this class was generated from the following file: