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 dst is returned.
-
Parameters:
-
src - the source array.
-
dst - the destination array. This array must be at least as long as src . If dst is null , a new array will be allocated having the same length as src .
-
Returns:
- the array
dst , an int array of samples.
-
Throws:
-
ArrayIndexOutOfBoundsException - if src is longer than dst or if for any element i of src , (src[i]&0xff)-offset is either less than zero or greater than or equal to the length of the lookup table for any band.
|