| Enumerant | Definition | Value |
| SE_IMG_LOOKUP_TYP_YIQ_TO_RGB |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB,
and the <Image>.
Convert the 3 colour components of a texel into three indices
that are used to derive intermediate values that are
recombined into a single RGB triplet.
1) Convert the 3 colour components of the texel to an RGB
triplet.
2) Use the utility function SE_RGB_to_YIQ() to convert
the RGB triplet into a YIQ triplet, Y1, I1, Q1.
3) The Y colour coordinate Y1 of the YIQ triplet points to an
RGB triplet in the lookup table, which is then used to
generate the intermediate Y value; again, use SE_RGB_to_YIQ()
to convert the RGB triplet into a YIQ triplet.
Next the I index is derived from the original texel RGB
triplet by the equation I_index = (0.49804 * red_component) -
(0.22896 * green_component) - (0.26908 * blue_component).
This index points to another RGB triplet in the lookup table.
This triplet is used to derive the intermediate I value by
the equation I= (0.49804 * red_component) -
(0.22896 * green_component) - (0.26908 * blue_component).
The original RGB texel is used to generate the
Q index by the equation q_index = (0.20093 * red_component) -
(0.49804 * green_component) + (0.29711 * blue_component)
This index points to another RGB triplet in the lookup table.
This triplet is used to derive the intermediate Q value by
the equation Q = (0.20093 * red_component) -
(0.49804 * green_component) + (0.29711 * blue_component)
Finally the intermediate Y, I , and Q values are combined to
create the final displayed RGB triplet. The RGB triplet is
derived by the equations:
R = Y + ( 1.14423568 * I ) + ( 0.65258974 * Q )
G = Y - ( 0.3263226 * I ) - ( 0.67923293 * Q )
B = Y - ( 1.320834 * I ) + ( 1.7858368 * Q )
|
1 |
| SE_IMG_LOOKUP_TYP_YIQ_TO_ALPHA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_ALPHA.
Converts the RGB components of a texel into an index
that points to an alpha value. The index into the
translator table is derived from the red, green, and
blue components of the texel by an equation of the
form:
index = (0.299 * red_component)+
(0.587*green_component)+
(0.114*blue_component)
|
2 |
| SE_IMG_LOOKUP_TYP_I_TO_I |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_I.
The Intensity component I in the image is a pointer to the
Intensity value of the Ith element in the lookup table.
|
3 |
| SE_IMG_LOOKUP_TYP_I_TO_ALPHA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_ALPHA.
The Intensity component I in the image is a pointer to the
Alpha value of the Ith element in the lookup table.
|
4 |
| SE_IMG_LOOKUP_TYP_I_TO_IA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_I_AND_ALPHA.
The I component in the image is a pointer to the I and
Alpha values of the Ith component in the lookup table.
|
5 |
| SE_IMG_LOOKUP_TYP_IA_TO_IA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_I_AND_ALPHA.
The I component in the image is a pointer to the I value
of the Ith element in the lookup table.
The Alpha component A in the image is a pointer to the
alpha value of the Ath element in the lookup table.
|
6 |
| SE_IMG_LOOKUP_TYP_I_TO_RGB |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB.
The I component is a pointer to the Ith element of the
lookup table that contains the R, G, B, values.
|
7 |
| SE_IMG_LOOKUP_TYP_RGB_TO_RGB |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB.
The R component is a pointer to the R value of the
Rth element of the lookup table.
The G component is a pointer to the G value of the
Gth element of the lookup table.
The B component in the image is a pointer to the B
value of the Bth element in the lookup table.
|
8 |
| SE_IMG_LOOKUP_TYP_I_TO_RGBA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB_ALPHA.
The I component is a pointer to the Ith element of the
lookup table that contains the R, G, B, and Alpha values.
|
9 |
| SE_IMG_LOOKUP_TYP_IA_TO_RGBA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB_ALPHA.
The I component is a pointer to the Ith element of the
lookup table that contains the R, G, B, values.
The alpha component A in the image is a pointer to the
alpha value of the Ath element in the lookup table.
|
10 |
| SE_IMG_LOOKUP_TYP_RGB_TO_RGB_ALPHA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB_ALPHA.
The R component is a pointer to the Rth element of the lookup
table that contains the R value.
The G component in the image is a pointer to the G value of
the Gth element in the lookup table.
The B component in the image is a pointer to the B value of
the Bth element in the lookup table.
The A component in the image is a pointer to the Alpha value
of the Ath element in the lookup table.
|
11 |
| SE_IMG_LOOKUP_TYP_RGB_ALPHA_TO_RGB_ALPHA |
This lookup type is valid only when the <Image Lookup>'s
lookup table signature is SE_LOOKUP_SIGNATURE_RGB_ALPHA.
The R component is a pointer to the Rth element of the lookup
table that contains the R value.
The G component in the image is a pointer to the G value of
the Gth element in the lookup table.
The B component in the image is a pointer to the B value of
the Bth element in the lookup table.
The A component in the image is a pointer to the Alpha value
of the Ath element in the lookup table.
|
12 |