it.geosolutions.jaiext.lookup
Class LookupTableByte
java.lang.Object
it.geosolutions.jaiext.lookup.LookupTable
it.geosolutions.jaiext.lookup.LookupTableByte
- All Implemented Interfaces:
- Serializable
public class LookupTableByte
- extends LookupTable
This class is an extension of the abstract class LookupTable handling byte 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 |
LookupTableByte(byte[] data)
|
LookupTableByte(byte[][] data)
|
LookupTableByte(byte[][] data,
int offset)
|
LookupTableByte(byte[][] data,
int[] offsets)
|
LookupTableByte(byte[] data,
int offset)
|
LookupTableByte(double[] data)
|
LookupTableByte(double[][] data)
|
LookupTableByte(double[][] data,
int offset)
|
LookupTableByte(double[][] data,
int[] offsets)
|
LookupTableByte(double[] data,
int offset)
|
LookupTableByte(float[] data)
|
LookupTableByte(float[][] data)
|
LookupTableByte(float[][] data,
int offset)
|
LookupTableByte(float[][] data,
int[] offsets)
|
LookupTableByte(float[] data,
int offset)
|
LookupTableByte(int[] data)
|
LookupTableByte(int[][] data)
|
LookupTableByte(int[][] data,
int offset)
|
LookupTableByte(int[][] data,
int[] offsets)
|
LookupTableByte(int[] data,
int offset)
|
LookupTableByte(short[][] data,
boolean isUShort)
|
LookupTableByte(short[][] data,
int[] offsets,
boolean isUShort)
|
LookupTableByte(short[][] data,
int offset,
boolean isUShort)
|
LookupTableByte(short[] data,
boolean isUShort)
|
LookupTableByte(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 |
LookupTableByte
public LookupTableByte(byte[] data)
LookupTableByte
public LookupTableByte(byte[] data,
int offset)
LookupTableByte
public LookupTableByte(byte[][] data)
LookupTableByte
public LookupTableByte(byte[][] data,
int offset)
LookupTableByte
public LookupTableByte(byte[][] data,
int[] offsets)
LookupTableByte
public LookupTableByte(short[] data,
boolean isUShort)
LookupTableByte
public LookupTableByte(short[] data,
int offset,
boolean isUShort)
LookupTableByte
public LookupTableByte(short[][] data,
boolean isUShort)
LookupTableByte
public LookupTableByte(short[][] data,
int offset,
boolean isUShort)
LookupTableByte
public LookupTableByte(short[][] data,
int[] offsets,
boolean isUShort)
LookupTableByte
public LookupTableByte(int[] data)
LookupTableByte
public LookupTableByte(int[] data,
int offset)
LookupTableByte
public LookupTableByte(int[][] data)
LookupTableByte
public LookupTableByte(int[][] data,
int offset)
LookupTableByte
public LookupTableByte(int[][] data,
int[] offsets)
LookupTableByte
public LookupTableByte(float[] data)
LookupTableByte
public LookupTableByte(float[] data,
int offset)
LookupTableByte
public LookupTableByte(float[][] data)
LookupTableByte
public LookupTableByte(float[][] data,
int offset)
LookupTableByte
public LookupTableByte(float[][] data,
int[] offsets)
LookupTableByte
public LookupTableByte(double[] data)
LookupTableByte
public LookupTableByte(double[] data,
int offset)
LookupTableByte
public LookupTableByte(double[][] data)
LookupTableByte
public LookupTableByte(double[][] data,
int offset)
LookupTableByte
public LookupTableByte(double[][] data,
int[] offsets)
lookup
protected void lookup(Raster source,
WritableRaster dst,
Rectangle rect,
Raster roi)
- Performs table lookup on a source Byte 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–2014 GeoSolutions. All rights reserved.