Intel® IPP implements image processing functions that perform different types of image color conversion. The Intel IPP software supports the following image color conversions:
All Intel IPP color conversion functions perform point operations on pixels of the source image. For a given destination pixel, the resultant channel values are computed using channel values of the corresponding source pixel only, and not involving any neighborhood pixels. Thus, the rectangular region of interest (ROI, see Regions of Interest in Intel IPP) used in function operations may extend to the size of the whole image.
Table Color Conversion Functions lists the Intel IPP color space conversion functions.
Function Base Name | Description |
---|---|
Color Model Conversion |
|
Convert RGB image to and from YUV color model. |
|
Convert RGB image to and from 4:2:2 YUV image. |
|
Converts a 16-bit RGB image to the 4:2:2 YUV image |
|
Convert RGB images to and from 4:0:0 YUV image. |
|
Converts a BGR image to the 4:2:0 YUV image. |
|
Converts a 4:2:0 YUV image to BGR image. |
|
Converts a 16-bit RGB image to the 4:2:0 YUV image |
|
Convert a 4:2:0 YUV image to the 16-bit RGB image. |
|
YUV420ToRGB565Dither, YUV420ToRGB555Dither, YUV420ToRGB444Dither |
Convert a 4:2:0 YUV image to the 16-bit RGB image with dithering. |
Convert a 16-bit BGR image to the 4:2:0 YUV image. |
|
Convert a 4:2:0 YUV image to the 16-bit BGR image. |
|
YUV420ToBGR565Dither, YUV420ToBGR555Dither, YUV420ToBGR444Dither |
Convert a 4:2:0 YUV image to the 16-bit BGR image with dithering. |
Converts RGB images to the YCbCr color model. |
|
Converts RGB images from the YCbCr color model. |
|
Converts a YCbCr image to the BGR color model. |
|
Converts a YCbCr image to the BGR image for ITU-R BT.709 signal. |
|
Convert a YCbCr image to the 16-bit per pixel RGB image. |
|
YCbCrToRGB565Dither, YCbCrToRGB555Dither, YCbCrToRGB444Dither |
Convert a YCbCr image to the 16-bit per pixel RGB image with dithering. |
Convert a YCbCr image to the 16-bit per pixel BGR image. |
|
YCbCrToBGR565Dither, YCbCrToBGR555Dither, YCbCrToBGR444Dither |
Convert a YCbCr image to the 16-bit per pixel BGR image with dithering. |
Converts an RGB image to a 4:2:2 YCbCr image. |
|
Converts an RGB image to from a 4:2:2 YCbCr image. |
|
Converts an RGB image to a 4:2:2 YCrCb image. |
|
Converts an RGB image from a 4:2:2 YCrCb image. |
|
Converts a 24-bit per pixel BGR image to a 16-bit per pixel YCbCr image. |
|
Converts a 16-bit per pixel YCbCr image to a 24-bit per pixel BGR image. |
|
Convert a 16-bit per pixel BGR image to a 16-bit per pixel YCbCr image. |
|
Convert RGB images to and from a 4:2:2 CbYCr image. |
|
Converts 16-bit per pixel CbYCr image to 24-bit per pixel RGB image. |
|
Converts a 32-bit per pixel BGR image to a 16-bit per pixel CbYCr image. |
|
Converts a BGR image to a 16-bit per pixel CbYCr image for an ITU-R BT.709 HDTV signal. |
|
Converts a 16-bit per pixel CbYCr image to a four channel BGR image. |
|
Converts a 16-bit per pixel CbYCr image to a BGR image for an ITU-R BT.709 HDTV signal. |
|
Convert a 16-bit per pixel YCbCr image that has 4:2:2 sampling format to a 16-bit per pixel RGB image. |
|
YCbCr422ToRGB565Dither, YCbCr422ToRGB555Dither, YCbCr422ToRGB444Dither |
Convert a 16-bit per pixel YCbCr image that has 4:2:2 sampling format to a 16-bit per pixel RGB image with dithering. |
Convert a 16-bit per pixel YCbCr image that has 4:2:2 sampling format to a 16-bit per pixel BGR image. |
|
YCbCr422ToBGR565Dither, YCbCr422ToBGR555Dither, YCbCr422ToBGR444Dither |
Convert a 16-bit per pixel YCbCr image that has 4:2:2 sampling format to a 16-bit per pixel BGR image with dithering. |
Converts RGB images to a YCbCr color model with 4:2:0 sampling format. |
|
Converts RGB images from a YCbCr color model with 4:2:0 sampling format. |
|
Convert a YCbCr image that has 4:2:0 sampling format to a 16-bit per pixel RGB image. |
|
YCbCr420ToRGB565Dither, YCbCr420ToRGB555Dither, YCbCr420ToRGB444Dither |
Convert a YCbCr image that has 4:2:0 sampling format to a 16-bit per pixel RGB image with dithering. |
Converts an RGB image to a YCrCb image with the 4:2:0 sampling. |
|
Converts a YCrCb image with the 4:2:0 sampling to an RGB image. |
|
Converts a BGR image to a YCbCr image with 4:2:0 sampling format. |
|
Converts a BGR image to a YCbCr image with 4:2:0 sampling for an ITU-R BT.709 CSC signal. |
|
Converts a BGR image to a YCbCr image with 4:2:0 sampling for an ITU-R BT.709 HDTV signal. |
|
Converts a BGR image to a YCrCb image with 4:2:0 sampling for an ITU-R BT.709 signal. |
|
Converts a YCbCr image with 4:2:0 sampling format to the RGB color model. |
|
Converts a YCbCr image with 4:2:0 sampling to a BGR image for an ITU-R BT.709 CSC signal. |
|
Converts a YCbCr image with 4:2:0 sampling to a BGR image for an ITU-R BT.709 HDTV signal. |
|
Convert a 16-bit per pixel BGR image to a YCbCr image that has 4:2:0 sampling format. |
|
Convert a YCbCr image with 4:2:0 sampling format to a 16-bit per pixel BGR image. |
|
YCbCr420ToBGR565Dither, YCbCr420ToBGR555Dither, YCbCr420ToBGR444Dither |
Convert a YCbCr image with 4:2:0 sampling format to a 16-bit per pixel BGR image with dithering. |
Converts a BGR image to a YCrCb image with 4:2:0 sampling format. |
|
Convert a 16-bit per pixel BGR image to a YCrCb image with the 4:2:0 sampling format. |
|
Converts a BGR image to a YCbCr planar image that has the 4:1:1 sampling format. |
|
Converts a YCbCr image with the 4:1:1 sampling format to the RGB color model. |
|
Convert a 16-bit per pixel BGR image to a YCbCr image that has the 4:1:1 sampling format. |
|
Convert a YCbCr image that has the 4:1:1 sampling format to a 16-bit per pixel BGR image. |
|
Convert RGB images to and from the XYZ color model |
|
Convert RGB images to and from the CIE LUV color model. |
|
Convert BGR images to and from the CIE Lab color model. |
|
Convert RGB images to and from the YCC color model. |
|
Convert RGB images to and from the HLS color model. |
|
Converts BGR images to the HLS color model. |
|
Converts HLS images to the BGR color model. |
|
Convert RGB images to and from the HSV color model. |
|
Convert RGB images to and from the YCoCg color model. |
|
Converts a 24-bit BGR image to the YCoCg color model. |
|
Converts a 48-bit BGR image to the YCoCg color model. |
|
Converts a YCoCg image to the 24-bit BGR image. |
|
Converts a YCoCg image to the 48-bit BGR image. |
|
Converts a 24-bit BGR image to the YCoCg-R color model. |
|
Converts a 48-bit BGR image to the YCoCg-R color model. |
|
Converts a YCoCg-R image to the 24-bit BGR image. |
|
Converts a YCoCg-R image to the 48-bit BGR image. |
|
Color - Gray Scale Conversion |
|
Converts an RGB image to gray scale using fixed transform coefficients. |
|
Converts an RGB image to gray scale using custom transform coefficients. |
|
Restores an RGB image from a gray-scale CFA image |
|
Restores an RGB image from a gray-scale CFA image using the AHD algorithm. |
|
Format Conversion |
|
Convert a 24-bit per pixel image to a 16-bit image. |
|
Convert a 16-bit per pixel image to a 24-bit image. |
|
Converts a 4:2:2 YCbCr image. |
|
Converts a 4:2:2 YCbCr image to a 4:2:2 YCrCb image. |
|
Converts a 4:2:2 YCbCr image to a 4:2:2 CbYCr image. |
|
Converts a 4:2:2 YCbCr image to a 4:2:0 YCbCr image. |
|
Converts an interlaced YCbCr image from the 4:2:2 sampling format to the 4:2:0 format. |
|
Converts a 4:2:2 YCbCr image to a 4:2:0 YCrCb image. |
|
Converts a 4:2:2 YCbCr image to a 4:1:1 YCbCr image. |
|
Converts a 4:2:2 YCrCb image to a 4:2:2 YCbCr image. |
|
Converts a 4:2:2 YCrCb image to a 4:2:0 YCbCr image. |
|
Converts a 4:2:2 YCrCb image to a 4:1:1 YCbCr image. |
|
Converts a 4:2:2 CbYCr image to a 4:2:2 YCbCr image. |
|
Converts a 4:2:2 CbYCr image to a 4:2:0 YCbCr image. |
|
Converts an interlaced 4:2:2 CbYCr image to a 4:2:0 YCbCr image. |
|
Converts a 4:2:2 CbYCr image to a 4:2:0 YCrCb image. |
|
Converts a 4:2:2 CbYCr image to a 4:1:1 YCbCr image. |
|
Converts a 4:2:0 YCbCr image. |
|
Converts a 4:2:0 YCbCr image to a 4:2:2 YCbCr image. |
|
Converts a 4:2:0 YCbCr image to a 4:2:2 YCbCr image with additional filtering. |
|
Converts an interlaced 4:2:0 YCbCr image to a 4:2:2 YCbCr image. |
|
Converts a 4:2:0 YCbCr image to a 4:2:2 CbYCr image. |
|
Converts an interlaced 4:2:0 YCbCr image to a 4:2:2 CbYCr image. |
|
Converts a 4:2:0 YCbCr image to a 4:2:0 YCrCb image. |
|
Converts a 4:2:0 YCbCr image to a 4:2:0 YCrCb image with deinterlace filtering. |
|
Converts a 4:2:0 YCbCr image to a 4:1:1 YCbCr image. |
|
Converts a 4:2:0 YCrCb image to a 4:2:2 YCbCr image. |
|
Converts a 4:2:0 YCrCb image to a 4:2:2 YCbCr image with additional filtering. |
|
Converts a 4:2:0 YCrCb image to a 4:2:2 CbYCr image. |
|
Converts a 4:2:0 YCrCb image to a 4:2:0 YCbCr image. |
|
Converts a 4:2:0 YCrCb image to a 4:1:1 YCbCr image. |
|
Converts a 4:1:1 YCbCr image. |
|
Converts a 4:1:1 YCbCr image to a 4:2:2 YCbCr image. |
|
Converts a 4:1:1 YCbCr image to a 4:2:2 YCrCb image. |
|
Converts a 4:1:1 YCbCr image to a 4:2:0 YCbCr image. |
|
Converts a 4:1:1 YCbCr image to a 4:2:0 YCrCb image. |
|
Color Twist |
|
Applies a color-twist matrix to an image with integer pixel values. |
|
Applies a color-twist matrix to an image with floating-point pixel values. |
|
Color Keying |
|
Performs color keying of two images. |
|
Performs color keying and alpha composition of two images. |
|
Gamma Correction |
|
Performs gamma-correction of the source RGB image. |
|
Converts a gamma-corrected R'G'B' image back to the original RGB image. |
|
Intensity Transformation |
|
Reduces the bit resolution of an image. |
|
Maps an image by applying intensity transformation. |
|
Maps an image by applying intensity transformation with linear interpolation. |
|
Maps an image by applying intensity transformation with cubic interpolation. |
|
Map an image by applying intensity transformation in accordance with a palette table. |
|
Map an HDRI image to an LDRI image. |
See the topics listed below for introductory material that discusses color space models essential for understanding of the Intel IPP color conversion functions.
For more information about color spaces and color conversion techniques, see [Jack01], [Rogers85], and [Foley90].
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.