it.geosolutions.jaiext.lookup
Class LookupTableShort
java.lang.Object
it.geosolutions.jaiext.lookup.LookupTable
it.geosolutions.jaiext.lookup.LookupTableShort
- All Implemented Interfaces:
- Serializable
public class LookupTableShort
- extends LookupTable
This class is an extension of the abstract class LookupTable handling Short data types
- See Also:
- Serialized Form
Fields inherited from class it.geosolutions.jaiext.lookup.LookupTable |
data, destinationNoDataByte, destinationNoDataDouble, destinationNoDataFloat, destinationNoDataInt, destinationNoDataShort, hasNoData, hasROI, noData, roiBounds, roiIter, srcROIImage, tableOffsets, useROIAccessor |
Constructor Summary |
LookupTableShort(byte[] data)
|
LookupTableShort(byte[][] data)
|
LookupTableShort(byte[][] data,
int offset)
|
LookupTableShort(byte[][] data,
int[] offsets)
|
LookupTableShort(byte[] data,
int offset)
|
LookupTableShort(double[] data)
|
LookupTableShort(double[][] data)
|
LookupTableShort(double[][] data,
int offset)
|
LookupTableShort(double[][] data,
int[] offsets)
|
LookupTableShort(double[] data,
int offset)
|
LookupTableShort(float[] data)
|
LookupTableShort(float[][] data)
|
LookupTableShort(float[][] data,
int offset)
|
LookupTableShort(float[][] data,
int[] offsets)
|
LookupTableShort(float[] data,
int offset)
|
LookupTableShort(int[] data)
|
LookupTableShort(int[][] data)
|
LookupTableShort(int[][] data,
int offset)
|
LookupTableShort(int[][] data,
int[] offsets)
|
LookupTableShort(int[] data,
int offset)
|
LookupTableShort(short[][] data,
boolean isUShort)
|
LookupTableShort(short[][] data,
int[] offsets,
boolean isUShort)
|
LookupTableShort(short[][] data,
int offset,
boolean isUShort)
|
LookupTableShort(short[] data,
boolean isUShort)
|
LookupTableShort(short[] data,
int offset,
boolean isUShort)
|
Methods inherited from class it.geosolutions.jaiext.lookup.LookupTable |
getByteData, getByteData, getData, getDataType, getDestNumBands, getDestSampleModel, getDestSampleModel, getDoubleData, getDoubleData, getFloatData, getFloatData, getIntData, getIntData, getNumBands, getNumEntries, getOffset, getOffset, getOffsets, getShortData, getShortData, initOffsets, initOffsets, isIntegralDataType, isIntegralDataType, lookup, lookupDouble, lookupFloat, setDestinationNoData, setNoDataRange, setROIparams, unsetNoData, unsetROI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupTableShort
public LookupTableShort(byte[] data)
LookupTableShort
public LookupTableShort(byte[] data,
int offset)
LookupTableShort
public LookupTableShort(byte[][] data)
LookupTableShort
public LookupTableShort(byte[][] data,
int offset)
LookupTableShort
public LookupTableShort(byte[][] data,
int[] offsets)
LookupTableShort
public LookupTableShort(short[] data,
boolean isUShort)
LookupTableShort
public LookupTableShort(short[] data,
int offset,
boolean isUShort)
LookupTableShort
public LookupTableShort(short[][] data,
boolean isUShort)
LookupTableShort
public LookupTableShort(short[][] data,
int offset,
boolean isUShort)
LookupTableShort
public LookupTableShort(short[][] data,
int[] offsets,
boolean isUShort)
LookupTableShort
public LookupTableShort(int[] data)
LookupTableShort
public LookupTableShort(int[] data,
int offset)
LookupTableShort
public LookupTableShort(int[][] data)
LookupTableShort
public LookupTableShort(int[][] data,
int offset)
LookupTableShort
public LookupTableShort(int[][] data,
int[] offsets)
LookupTableShort
public LookupTableShort(float[] data)
LookupTableShort
public LookupTableShort(float[] data,
int offset)
LookupTableShort
public LookupTableShort(float[][] data)
LookupTableShort
public LookupTableShort(float[][] data,
int offset)
LookupTableShort
public LookupTableShort(float[][] data,
int[] offsets)
LookupTableShort
public LookupTableShort(double[] data)
LookupTableShort
public LookupTableShort(double[] data,
int offset)
LookupTableShort
public LookupTableShort(double[][] data)
LookupTableShort
public LookupTableShort(double[][] data,
int offset)
LookupTableShort
public LookupTableShort(double[][] data,
int[] offsets)
lookup
protected void lookup(Raster source,
WritableRaster dst,
Rectangle rect,
Raster roi)
- Performs table lookup on a source Short Raster, writing the result into a supplied WritableRaster. The destination must have a data type and
SampleModel appropriate to the results of the lookup operation. The table lookup operation is performed within a specified rectangle. If ROI or
no Data are present then they are taken into account.
The dst
argument may be null, in which case a new WritableRaster is created using the appropriate SampleModel.
The rectangle of interest may be null, in which case the operation will be performed on the intersection of the source and destination bounding
rectangles.
- Specified by:
lookup
in class LookupTable
- Parameters:
source
- A Raster containing the source pixel data.dst
- The WritableRaster to be computed, or null. If supplied, its data type and number of bands must be suitable for the source and
lookup table.rect
- The rectangle within the tile to be computed. If rect is null, the intersection of the source and destination bounds will be used.
Otherwise, it will be clipped to the intersection of the source and destination bounds.
Copyright © 2006–2015 GeoSolutions. All rights reserved.