public class LookupTableFactory extends Object
Constructor and Description |
---|
LookupTableFactory() |
Modifier and Type | Method and Description |
---|---|
static LookupTable |
create(byte[] data)
Constructs a single-banded byte lookup table.
|
static LookupTable |
create(byte[][] data)
Constructs a multi-banded byte lookup table.
|
static LookupTable |
create(byte[][] data,
int offset)
Constructs a multi-banded byte lookup table where all bands have the same index offset.
|
static LookupTable |
create(byte[][] data,
int[] offsets)
Constructs a multi-banded byte lookup table where each band has a different index offset.
|
static LookupTable |
create(byte[] data,
int offset)
Constructs a single-banded byte lookup table with an index offset.
|
static LookupTable |
create(double[] data)
Constructs a single-banded double lookup table.
|
static LookupTable |
create(double[][] data)
Constructs a multi-banded double lookup table.
|
static LookupTable |
create(double[][] data,
int offset)
Constructs a multi-banded double lookup table where all bands have the same index offset.
|
static LookupTable |
create(double[][] data,
int[] offsets)
Constructs a multi-banded double lookup table where each band has a different index offset.
|
static LookupTable |
create(double[] data,
int offset)
Constructs a single-banded double lookup table with an index offset.
|
static LookupTable |
create(float[] data)
Constructs a single-banded float lookup table.
|
static LookupTable |
create(float[][] data)
Constructs a multi-banded float lookup table.
|
static LookupTable |
create(float[][] data,
int offset)
Constructs a multi-banded float lookup table where all bands have the same index offset.
|
static LookupTable |
create(float[][] data,
int[] offsets)
Constructs a multi-banded float lookup table where each band has a different index offset.
|
static LookupTable |
create(float[] data,
int offset)
Constructs a single-banded float lookup table with an index offset.
|
static LookupTable |
create(int[] data)
Constructs a single-banded int lookup table.
|
static LookupTable |
create(int[][] data)
Constructs a multi-banded int lookup table.
|
static LookupTable |
create(int[][] data,
int offset)
Constructs a multi-banded int lookup table where all bands have the same index offset.
|
static LookupTable |
create(int[][] data,
int[] offsets)
Constructs a multi-banded int lookup table where each band has a different index offset.
|
static LookupTable |
create(int[] data,
int offset)
Constructs a single-banded int lookup table with an index offset.
|
static LookupTable |
create(javax.media.jai.LookupTableJAI table)
Constructs a multi-banded lookup table from another one.
|
static LookupTable |
create(short[][] data,
boolean isUShort)
Constructs a multi-banded short or unsigned short lookup table.
|
static LookupTable |
create(short[][] data,
int[] offsets,
boolean isUShort)
Constructs a multi-banded short or unsigned short lookup table where each band has a different index offset.
|
static LookupTable |
create(short[][] data,
int offset,
boolean isUShort)
Constructs a multi-banded short or unsigned short lookup table where all bands have the same index offset.
|
static LookupTable |
create(short[] data,
boolean isUShort)
Constructs a single-banded short or unsigned short lookup table.
|
static LookupTable |
create(short[] data,
int offset,
boolean isUShort)
Constructs a single-banded short or unsigned short lookup table with an index offset.
|
public static LookupTable create(byte[] data)
data
- The single-banded byte data.IllegalArgumentException
- if data is null.public static LookupTable create(byte[] data, int offset)
data
- The single-banded byte data.offset
- The offset.IllegalArgumentException
- if data is null.public static LookupTable create(byte[][] data)
data
- The multi-banded byte data in [band][index] format.IllegalArgumentException
- if data is null.public static LookupTable create(byte[][] data, int offset)
data
- The multi-banded byte data in [band][index] format.offset
- The common offset for all bands.IllegalArgumentException
- if data is null.public static LookupTable create(byte[][] data, int[] offsets)
data
- The multi-banded byte data in [band][index] format.offsets
- The offsets for the bands.IllegalArgumentException
- if data is null.public static LookupTable create(short[] data, boolean isUShort)
data
- The single-banded short data.isUShort
- True if data type is DataBuffer.TYPE_USHORT; false if data type is DataBuffer.TYPE_SHORT.IllegalArgumentException
- if data is null.public static LookupTable create(short[] data, int offset, boolean isUShort)
data
- The single-banded short data.offset
- The offset.isUShort
- True if data type is DataBuffer.TYPE_USHORT; false if data type is DataBuffer.TYPE_SHORT.IllegalArgumentException
- if data is null.public static LookupTable create(short[][] data, boolean isUShort)
data
- The multi-banded short data in [band][index] format.isUShort
- True if data type is DataBuffer.TYPE_USHORT; false if data type is DataBuffer.TYPE_SHORT.IllegalArgumentException
- if data is null.public static LookupTable create(short[][] data, int offset, boolean isUShort)
data
- The multi-banded short data in [band][index] format.offset
- The common offset for all bands.isUShort
- True if data type is DataBuffer.TYPE_USHORT; false if data type is DataBuffer.TYPE_SHORT.IllegalArgumentException
- if data is null.public static LookupTable create(short[][] data, int[] offsets, boolean isUShort)
data
- The multi-banded short data in [band][index] format.offsets
- The offsets for the bands.isUShort
- True if data type is DataBuffer.TYPE_USHORT; false if data type is DataBuffer.TYPE_SHORT.IllegalArgumentException
- if data is null.public static LookupTable create(int[] data)
data
- The single-banded int data.IllegalArgumentException
- if data is null.public static LookupTable create(int[] data, int offset)
data
- The single-banded int data.offset
- The offset.IllegalArgumentException
- if data is null.public static LookupTable create(int[][] data)
data
- The multi-banded int data in [band][index] format.IllegalArgumentException
- if data is null.public static LookupTable create(int[][] data, int offset)
data
- The multi-banded int data in [band][index] format.offset
- The common offset for all bands.IllegalArgumentException
- if data is null.public static LookupTable create(int[][] data, int[] offsets)
data
- The multi-banded int data in [band][index] format.offsets
- The offsets for the bands.IllegalArgumentException
- if data is null.public static LookupTable create(float[] data)
data
- The single-banded float data.IllegalArgumentException
- if data is null.public static LookupTable create(float[] data, int offset)
data
- The single-banded float data.offset
- The offset.IllegalArgumentException
- if data is null.public static LookupTable create(float[][] data)
data
- The multi-banded float data in [band][index] format.IllegalArgumentException
- if data is null.public static LookupTable create(float[][] data, int offset)
data
- The multi-banded float data in [band][index] format.offset
- The common offset for all bands.IllegalArgumentException
- if data is null.public static LookupTable create(float[][] data, int[] offsets)
data
- The multi-banded float data in [band][index] format.offsets
- The offsets for the bands.IllegalArgumentException
- if data is null.public static LookupTable create(double[] data)
data
- The single-banded double data.IllegalArgumentException
- if data is null.public static LookupTable create(double[] data, int offset)
data
- The single-banded double data.offset
- The offset.IllegalArgumentException
- if data is null.public static LookupTable create(double[][] data)
data
- The multi-banded double data in [band][index] format.IllegalArgumentException
- if data is null.public static LookupTable create(double[][] data, int offset)
data
- The multi-banded double data in [band][index] format.offset
- The common offset for all bands.IllegalArgumentException
- if data is null.public static LookupTable create(double[][] data, int[] offsets)
data
- The multi-banded double data in [band][index] format.offsets
- The offsets for the bands.IllegalArgumentException
- if data is null.public static LookupTable create(javax.media.jai.LookupTableJAI table)
table
- The multi-banded lookupTable.IllegalArgumentException
- if data is null.Copyright © 2006–2017 GeoSolutions. All rights reserved.