|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.coverage.raster.interpolation.BiLinearShortInterpolation
public class BiLinearShortInterpolation
This class implements a bilinear interpolation for short raster.
Constructor Summary | |
---|---|
BiLinearShortInterpolation(RasterData rasterData,
boolean unsigned)
Create a new bilinear interpolation for given short 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 |
---|
public BiLinearShortInterpolation(RasterData rasterData, boolean unsigned)
RasterData
.
rasterData
- unsigned
- whether to treat the shorts as unsignedMethod Detail |
---|
public final byte[] getPixel(float x, float y, byte[] result)
Interpolation
getPixel
in interface Interpolation
x
- the raster coordinatey
- the raster coordinateresult
- a byte array to put the values into
result
array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |