public class ShortLookupTable extends LookupTable
ByteLookupTable
,
LookupOp
Constructor and Description |
---|
ShortLookupTable(int offset, short[] data)
构建了从代表每个波段的查找表shortlookuptable短裤数组对象。
|
ShortLookupTable(int offset, short[][] data)
构建了一系列短阵代表每一个波段的查找表的一个shortlookuptable对象。
|
Modifier and Type | Method and Description |
---|---|
short[][] |
getTable()
通过引用返回查找表数据。
|
int[] |
lookupPixel(int[] src, int[] dst)
返回一个像素的数组,翻译的查找表。
|
short[] |
lookupPixel(short[] src, short[] dst)
返回一个像素的数组,翻译的查找表。
|
getNumComponents, getOffset
public ShortLookupTable(int offset, short[][] data)
offset
-值减去输入值在索引数组
data
数组-短阵列代表了每个波段的查找表
public ShortLookupTable(int offset, short[] data)
offset
-值减去输入值在索引数组
data
短裤的数组
public final short[][] getTable()
public int[] lookupPixel(int[] src, int[] dst)
dst
返回数组。
lookupPixel
方法重写,继承类
LookupTable
src
-源阵列。
dst
-目标数组。这个数组必须至少只要
src
。如果
dst
是
null
,一个新的数组将被分配具有相同的长度
src
。
dst
,样品
int
阵列。
ArrayIndexOutOfBoundsException
-如果
src
长于
dst
或者任何元素的
src
i
,
(src[i]&0xffff)-offset
是小于零或大于或等于查找表的长度对任何乐队。
public short[] lookupPixel(short[] src, short[] dst)
dst
返回数组。
src
-源阵列。
dst
-目标数组。这个数组必须至少只要
src
。如果
dst
是
null
,一个新的数组将被分配具有相同的长度
src
。
dst
,样品
int
阵列。
ArrayIndexOutOfBoundsException
-如果
src
长于
dst
或者任何元素的
src
i
,
(src[i]&0xffff)-offset
是小于零或大于或等于查找表的长度对任何乐队。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.