LookupTable (Java 2 Platform SE 5.0)

title="Style" href="../../../stylesheet.css" type="text/css" rel="stylesheet" />
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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值