ShortLookupTable, LookupOp
| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[][] | data
Constants |
| Access | Constructor and Description |
|---|---|
| public | ByteLookupTable(int
the value subtracted from the input values
before indexing into the arrays offset, byte[][] an array of byte arrays representing a lookup
table for each band data)Constructs a ByteLookupTable object from an array of byte arrays representing a lookup table for each band. |
| public | ByteLookupTable(int
the value subtracted from the input values
before indexing into the array offset, byte[] an array of bytes data)Constructs a ByteLookupTable object from an array of bytes representing a lookup table to be applied to all bands. |
| Modifier and Type | Method and Description |
|---|---|
| public final byte[][] | Returns: the data array of thisByteLookupTable.Returns the lookup table data by reference. |
| 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 byte[] | Returns: the arraydst, an int array of
samples.the source array. src, byte[] 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 byte[][] data Constants | |
| ByteLookupTable | back to summary |
|---|---|
| public ByteLookupTable(int offset, byte[][] data) Constructs a ByteLookupTable object from an array of byte arrays representing a lookup table for each band. The offset will be subtracted from 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.
| |
| ByteLookupTable | back to summary |
|---|---|
| public ByteLookupTable(int offset, byte[] data) Constructs a ByteLookupTable object from an array of bytes representing a lookup table to be applied to all bands. The offset will be subtracted from input values before indexing into the array. The data array is stored as a reference.
| |
| getTable | back to summary |
|---|---|
| public final byte[][] getTable() Returns the lookup table data by reference. If this ByteLookupTable was constructed using a single byte 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 byte[] lookupPixel(byte[] src, byte[] 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
| |