Visible to Intel only — GUID: GUID-4DCA3F7B-A46A-451F-82EB-DA03EF36AF46
Visible to Intel only — GUID: GUID-4DCA3F7B-A46A-451F-82EB-DA03EF36AF46
Color Twist
Color twist conversion functions use values of all color channels of a source pixel to compute the resultant destination channel value. The destination channel value is obtained as the result of multiplying the corresponding row of the color-twist matrix by the vector of source pixel channel values.
For example, if (r,g,b) is a source pixel, then the destination pixel values (R,G,B) are computed as follows:
R = t11*r + t12*g + t13*b + t14
G = t21*r + t22*g + t23*b + t24
B = t31*r + t32*g + t33*b + t343
where
is the color twist matrix. The color twist matrix used by the Intel IPP functions is a matrix of size 3x4, or 4x4 with floating-point elements. The matrix elements are specific for each particular type of color conversion.
- ColorTwist
Applies a color twist matrix to an image with floating-point pixel values. - ColorTwist32f
Applies a color twist matrix to an image with integer pixel values.