PARP Research Group University of Murcia, Spain


Image Color Conversion
[IPP wrapper functions]

Image processing functions that perform different type of image color conversion. More...

Functions

void YUV420ToRGB (const QVImage< uChar, 1 > &srcY, const QVImage< uChar, 1 > &srcU, const QVImage< uChar, 1 > &srcV, QVImage< uChar, 3 > &destRGB, const QPoint &destROIOffset=QPoint(0, 0))
void RGBToYUV420 (const QVImage< uChar, 3 > &src, QVImage< uChar, 1 > &dst1, QVImage< uChar, 1 > &dst2, QVImage< uChar, 1 > &dst3, const QPoint &destROIOffset=QPoint(0, 0))
void RGBToGray (const QVImage< uChar, 3 > &qvimage_pSrc, QVImage< uChar, 1 > &qvimage_pDst, const QPoint &destROIOffset=QPoint(0, 0))
 Converts an RGB image to gray scale (fixed coefficients).
void RGBToGray (const QVImage< uShort, 3 > &qvimage_pSrc, QVImage< uShort, 1 > &qvimage_pDst, const QPoint &destROIOffset=QPoint(0, 0))
 Converts an RGB image to gray scale (fixed coefficients).
void RGBToGray (const QVImage< sShort, 3 > &qvimage_pSrc, QVImage< sShort, 1 > &qvimage_pDst, const QPoint &destROIOffset=QPoint(0, 0))
 Converts an RGB image to gray scale (fixed coefficients).
void RGBToGray (const QVImage< sFloat, 3 > &qvimage_pSrc, QVImage< sFloat, 1 > &qvimage_pDst, const QPoint &destROIOffset=QPoint(0, 0))
 Converts an RGB image to gray scale (fixed coefficients).

Detailed Description

Image processing functions that perform different type of image color conversion.


Function Documentation

void RGBToGray ( const QVImage< sFloat, 3 > &  qvimage_pSrc,
QVImage< sFloat, 1 > &  qvimage_pDst,
const QPoint &  destROIOffset = QPoint(0, 0) 
)

Converts an RGB image to gray scale (fixed coefficients).

This is the QVision wrapper function for IPP's ippiRGBToGray_32f_C3C1R. See Intel's IPP documentation for a deeper understanding of that function. The parameters of this wrapper function and the original IPP function corresponds as follows:

Parameters:
qvimage_pSrc Image corresponding to the data buffer pointer pSrc and step number srcStep variables in the IPP function
qvimage_pDst Image corresponding to the data buffer pointer pDst and step number dstStep variables in the IPP function

void RGBToGray ( const QVImage< sShort, 3 > &  qvimage_pSrc,
QVImage< sShort, 1 > &  qvimage_pDst,
const QPoint &  destROIOffset = QPoint(0, 0) 
)

Converts an RGB image to gray scale (fixed coefficients).

This is the QVision wrapper function for IPP's ippiRGBToGray_16s_C3C1R. See Intel's IPP documentation for a deeper understanding of that function. The parameters of this wrapper function and the original IPP function corresponds as follows:

Parameters:
qvimage_pSrc Image corresponding to the data buffer pointer pSrc and step number srcStep variables in the IPP function
qvimage_pDst Image corresponding to the data buffer pointer pDst and step number dstStep variables in the IPP function

void RGBToGray ( const QVImage< uShort, 3 > &  qvimage_pSrc,
QVImage< uShort, 1 > &  qvimage_pDst,
const QPoint &  destROIOffset = QPoint(0, 0) 
)

Converts an RGB image to gray scale (fixed coefficients).

This is the QVision wrapper function for IPP's ippiRGBToGray_16u_C3C1R. See Intel's IPP documentation for a deeper understanding of that function. The parameters of this wrapper function and the original IPP function corresponds as follows:

Parameters:
qvimage_pSrc Image corresponding to the data buffer pointer pSrc and step number srcStep variables in the IPP function
qvimage_pDst Image corresponding to the data buffer pointer pDst and step number dstStep variables in the IPP function

void RGBToGray ( const QVImage< uChar, 3 > &  qvimage_pSrc,
QVImage< uChar, 1 > &  qvimage_pDst,
const QPoint &  destROIOffset = QPoint(0, 0) 
)

Converts an RGB image to gray scale (fixed coefficients).

This is the QVision wrapper function for IPP's ippiRGBToGray_8u_C3C1R. See Intel's IPP documentation for a deeper understanding of that function. The parameters of this wrapper function and the original IPP function corresponds as follows:

Parameters:
qvimage_pSrc Image corresponding to the data buffer pointer pSrc and step number srcStep variables in the IPP function
qvimage_pDst Image corresponding to the data buffer pointer pDst and step number dstStep variables in the IPP function

void RGBToYUV420 ( const QVImage< uChar, 3 > &  src,
QVImage< uChar, 1 > &  dst1,
QVImage< uChar, 1 > &  dst2,
QVImage< uChar, 1 > &  dst3,
const QPoint &  destROIOffset 
)

Todo:
document this
Todo:
Comprobar que los tamaños de las imagenes de entrada y de salida son adecuados

Definition at line 140 of file qvipp.cpp.

void YUV420ToRGB ( const QVImage< uChar, 1 > &  src1,
const QVImage< uChar, 1 > &  src2,
const QVImage< uChar, 1 > &  src3,
QVImage< uChar, 3 > &  dest,
const QPoint &  destROIOffset 
)

Todo:
document this
Todo:
Comprobar que los tamaños de las imagenes de entrada y de salida son adecuados

Definition at line 125 of file qvipp.cpp.




QVision framework. PARP research group, copyright 2007, 2008.