JavaTM 2 Platform Standard Ed. 5.0 | ||
java.awt.image
Class LookupTable
java.lang.Object java.awt.image.LookupTable
-
Direct Known Subclasses:
- ByteLookupTable, ShortLookupTable
public abstract class LookupTable extends Object
This abstract class defines a lookup table object. ByteLookupTable and ShortLookupTable are subclasses, which contain byte and short data, respectively. A lookup table contains data arrays for one or more bands (or components) of an image (for example, separate arrays for R, G, and B), and it contains an offset which will be subtracted from the input values before indexing into the arrays. This allows an array smaller than the native data size to be provided for a constrained input. If there is only one array in the lookup table, it will be applied to all bands. All arrays must be the same size.
这个抽象类定义了一个查找表对象。ByteLookupTable和ShortLookupTable是子类,分别容纳byte和short数据。一个查找表包含了相对于图像的一个或多个波段(或成分)的数据组(例如,分别针对R、G、B的数组),并且它包含一个偏移量,这个偏移量在输入值标定下标加入数组之前从该输入值中减去。这将允许查找表中的数组在一个受限输入时小于提供给它的实际数据组的大小。如果查找表中仅有一个数组,它将被用来表示所有波段。
所有的数组都必须维数相同。
-
See Also:
-
ByteLookupTable
,ShortLookupTable
,LookupOp