Table 6.139—DRM_Image_Lookup

Property

Description

Superclass

·         <DRM SEDRIS Abstract Base>

Class

·         <DRM Image Lookup>

Subclass

·         none

Definition

A set of data that represents the final displayed value of a texel.

The value of a texel no longer represents the colour at a point on a display; instead, a texel value is interpreted as a reference into the lookup representing the final displayed value.

In general:

a. The number of axes in a lookup equals the number of components within the referencing image signature.

b. The number of elements along an axis equals the maximum size of the component image data.

Example(s)

·         Given a <DRM Image> of a regular grid of lines, by scaling the <DRM Image>, it can be used to represent the concrete blocks of a parking lot, and by having an <DRM Image Lookup> change the alpha of the "white" areas of the grid, the <DRM Image> can be applied to a vertical <DRM Polygon> in order to represent a chain link fence.

Inherited field elements

field_name

range

Field_Data_Type

none

 

 

Field elements

field_name

range

Field_Data_Type

lookup_signature

 

Image_Lookup_Signature

lookup_type

 

Image_Lookup_Type

colour_model1

 

Colour_Model

data_is_integer2

 

Boolean

bits_of_alpha3

 

Short_Integer_Unsigned

bits_of_luminance4

 

Short_Integer_Unsigned

bits_of_colour_coordinate_15

 

Short_Integer_Unsigned

bits_of_colour_coordinate_26

 

Short_Integer_Unsigned

bits_of_colour_coordinate_37

 

Short_Integer_Unsigned

bits_of_bump_map_height8

 

Short_Integer_Unsigned

bits_of_material_19

 

Short_Integer_Unsigned

bits_of_material_210

 

Short_Integer_Unsigned

bits_of_material_311

 

Short_Integer_Unsigned

bits_of_material_2_percentage12

 

Short_Integer_Unsigned

bits_of_material_3_percentage13

 

Short_Integer_Unsigned

bits_of_image_index14

 

Short_Integer_Unsigned

bits_of_bump_map_u15

 

Short_Integer_Unsigned

bits_of_bump_map_v16

 

Short_Integer_Unsigned

minimum_value_of_alpha17

 

Float

maximum_value_of_alpha18

 

Float

minimum_value_of_luminance19

 

Float

maximum_value_of_luminance20

 

Float

minimum_value_of_colour_coordinate_121

 

Float

maximum_value_of_colour_coordinate_122

 

Float

minimum_value_of_colour_coordinate_223

 

Float

maximum_value_of_colour_coordinate_224

 

Float

minimum_value_of_colour_coordinate_325

 

Float

maximum_value_of_colour_coordinate_326

 

Float

minimum_value_of_bump_map_height27

 

Float

maximum_value_of_bump_map_height28

 

Float

minimum_value_of_bump_map_u29

 

Float

maximum_value_of_bump_map_u30

 

Float

minimum_value_of_bump_map_v31

 

Float

maximum_value_of_bump_map_v32

 

Float

axis_size33

 

Short_Integer_Unsigned

axis_count34

 

Short_Integer_Unsigned

Associated to (one-way) (inherited)

·         none

Associated to (one-way)

·         none

Associated by (one-way) (inherited)

·         none

Associated by (one-way)

·         none

Associated with (two-way) (inherited)

·         none

Associated with (two-way)

·         none

Composed of (two-way) (inherited)

·         none

Composed of (two-way)

·         none

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (two-way) (inherited)

·         none

Component of (two-way)

·         one or more <DRM Image Mapping Function>s

Constraints

·         none

Notes

1 The colour model used throughout the image.  Only one color model is allowed per image definition.

2 Boolean Flag that describes the data type of the raw lookup data. Either the raw data is integer and the data max sizes are valid or the raw lookup data is floating point and the values are between 0 and 1.

3 If zero is specified, the image data does not contain alpha information.

4 If zero is specified, the image data does not contain luminance information.

5 If zero is specified, the image data does not contain color information for colour_coordinate_1 (R, C, H).

6 If zero is specified, the image data does not contain color information for colour_coordinate_2 (G, M, S).

7 If zero is specified, the image data does not contain color information for this colour_coordinate_3 (B, Y, V).

8 If zero is specified, the image data does not contain bump map height information.

9 If zero is specified, the image data does not contain material1 index information. If non-zero is specified, this is an index into the <DRM Property Table>(s) that are referenced from this image. NOTE: with no material2 or material3 percentages, material1 is at 100%

10 If zero is specified, the image data does not contain material2 index information. If non-zero is specified, this is an index into the <DRM Property Table>(s) that are referenced from this image.

11 If zero is specified, the image data does not contain material3 index information. If non-zero is specified, this is an index into the <DRM Property Table>(s) that are referenced from this image.

12 Percentage of material2 (if used). NOTE: the percentage of material1 is (100% - (percentage of material2)).

13 Percentage of material3 (if used). NOTE: the percentage of material1 is (100% - (percentage of material2) - percentage of material3)).

14 If zero is specified, the lookup data does not contain image index information

15 If zero is specified, the lookup data does not contain bump_map_u information.

16 If zero is specified, the lookup data does not contain bump_map_v information.

17 Minimum value that alpha can be within the image data and zero if not used.

18 Maximum value that alpha can be within the image data and zero if not used.

19 Minimum value that luminance can be within the image data and zero if not used.

20 Maximum value that luminance can be within the image data and zero if not used.

21 Minimum value that colour_coordinate_1 can be within the image data (R, C, or H) and zero if not used.

22 Maximum value that colour_coordinate_1 can be within the image data (R, C, or H) and zero if not used.

23 Minimum value that colour_coordinate_2 can be within the image data (G, M, or S) and zero if not used.

24 Maximum value that colour_coordinate_2 can be within the image data (G, M, or S) and zero if not used.

25 Minimum value that colour_coordinate_3 can be within the image data (B, Y, or V) and zero if not used.

26 Maximum value that colour_coordinate_3 can be within the image data (B, Y, or V) and zero if not used.

27 Minimum value that bump map height can be within the image data and zero if not used.

28 Maximum value that bump map height can be within the image data and zero if not used.

29 Minimum value that bump_map_u can be within the image data and zero if not used.

30 Maximum value that bump_map_u can be within the image data and zero if not used.

31 Minimum value that bump_map_v can be within the image data and zero if not used.

32 Maximum value that bump_map_v can be within the image data and zero if not used.

33 Number of elements along each axis of the lookup. All axes shall be the same size and shall be as large as the any maximum value for any component within the referencing image.

34 Number of axes within the lookup. This number shall coincide with the lookup signature.

Class diagram

<DRM Image Lookup>