org.deegree.coverage.raster.interpolation
Class BiLinearShortInterpolation
java.lang.Object
org.deegree.coverage.raster.interpolation.BiLinearShortInterpolation
- All Implemented Interfaces:
- Interpolation
public class BiLinearShortInterpolation
- extends Object
- implements Interpolation
This class implements a bilinear interpolation for short raster.
- Version:
- $Revision: 22189 $, $Date: 2010-01-25 17:35:50 +0100 (Mo, 25 Jan 2010) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: aschmitz $
|
Method Summary |
byte[] |
getPixel(float x,
float y,
byte[] result)
Returns the interpolated pixel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BiLinearShortInterpolation
public BiLinearShortInterpolation(RasterData rasterData,
boolean unsigned)
- Create a new bilinear interpolation for given short
RasterData.
- Parameters:
rasterData - unsigned - whether to treat the shorts as unsigned
getPixel
public final byte[] getPixel(float x,
float y,
byte[] result)
- Description copied from interface:
Interpolation
- Returns the interpolated pixel.
- Specified by:
getPixel in interface Interpolation
- Parameters:
x - the raster coordinatey - the raster coordinateresult - a byte array to put the values into
- Returns:
- the
result array
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>