org.deegree.coverage.raster.interpolation
Class BiLinearFloatInterpolation
java.lang.Object
org.deegree.coverage.raster.interpolation.BiLinearFloatInterpolation
- All Implemented Interfaces:
- Interpolation
public class BiLinearFloatInterpolation
- extends Object
- implements Interpolation
This class implements a bilinear interpolation for float raster.
- Version:
- $Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
- Author:
- Oliver Tonnhofer, last edited by: $Author: mschneider $
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 |
BiLinearFloatInterpolation
public BiLinearFloatInterpolation(RasterData rasterData)
- Create a new bilinear interpolation for given float
RasterData
.
- Parameters:
rasterData
-
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
Copyright © 2011. All Rights Reserved.