deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.coverage.raster.interpolation
Class BiLinearByteInterpolation

java.lang.Object
  extended by org.deegree.coverage.raster.interpolation.BiLinearByteInterpolation
All Implemented Interfaces:
Interpolation

public class BiLinearByteInterpolation
extends Object
implements Interpolation

This class implements a bilinear interpolation for byte raster.

Version:
$Revision: 19533 $, $Date: 2009-09-08 09:44:44 +0200 (Di, 08 Sep 2009) $
Author:
Oliver Tonnhofer, last edited by: $Author: rbezema $

Constructor Summary
BiLinearByteInterpolation(RasterData rasterData)
          Create a new bilinear interpolation for given byte RasterData.
 
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
 

Constructor Detail

BiLinearByteInterpolation

public BiLinearByteInterpolation(RasterData rasterData)
Create a new bilinear interpolation for given byte RasterData.

Parameters:
rasterData -
Method Detail

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 coordinate
y - the raster coordinate
result - a byte array to put the values into
Returns:
the result array

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>