ByteLookupTable, LookupOp
| Modifier and Type | Field and Description |
|---|---|
| pack-priv short[][] | data
Constants |
| Access | Constructor and Description |
|---|---|
| public | ShortLookupTable(int
the value subtracted from the input values
before indexing into the arrays offset, short[][] an array of short arrays representing a lookup
table for each band data)Constructs a ShortLookupTable object from an array of short arrays representing a lookup table for each band. |
| public | ShortLookupTable(int
the value subtracted from the input values
before indexing into the arrays offset, short[] an array of shorts data)Constructs a ShortLookupTable object from an array of shorts representing a lookup table for each band. |
| Modifier and Type | Method and Description |
|---|---|
| public final short[][] | |
| public int[] | Returns: the arraydst, an int array of
samples.the source array. src, int[] the destination array. This array must be at least as
long as dst)src. If dst is
null, a new array will be allocated having the
same length as src.Implements abstract java. Returns an array of samples of a pixel, translated with the lookup table. |
| public short[] | Returns: the arraydst, an int array of
samples.the source array. src, short[] the destination array. This array must be at least as
long as dst)src. If dst is
null, a new array will be allocated having the
same length as src.Returns an array of samples of a pixel, translated with the lookup table. |
| data | back to summary |
|---|---|
| pack-priv short[][] data Constants | |
| ShortLookupTable | back to summary |
|---|---|
| public ShortLookupTable(int offset, short[][] data) Constructs a ShortLookupTable object from an array of short arrays representing a lookup table for each band. The offset will be subtracted from the input values before indexing into the arrays. The number of bands is the length of the data argument. The data array for each band is stored as a reference.
| |
| ShortLookupTable | back to summary |
|---|---|
| public ShortLookupTable(int offset, short[] data) Constructs a ShortLookupTable object from an array of shorts representing a lookup table for each band. The offset will be subtracted from the input values before indexing into the array. The data array is stored as a reference.
| |
| getTable | back to summary |
|---|---|
| public final short[][] getTable() Returns the lookup table data by reference. If this ShortLookupTable was constructed using a single short array, the length of the returned array is one.
| |
| lookupPixel | back to summary |
|---|---|
| public int[] lookupPixel(int[] src, int[] dst) Implements abstract java. Returns an array of samples of a pixel, translated with the lookup
table. The source and destination array can be the same array.
Array
| |
| lookupPixel | back to summary |
|---|---|
| public short[] lookupPixel(short[] src, short[] dst) Returns an array of samples of a pixel, translated with the lookup
table. The source and destination array can be the same array.
Array
| |