|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.coverage.raster.interpolation.NearestNeighborInterpolation
public class NearestNeighborInterpolation
This class implements a simple nearest neighbor interpolation. It works with all DataType
s.
Constructor Summary | |
---|---|
NearestNeighborInterpolation(RasterData rasterData)
Create a new nearest neighbor interpolation for given 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 NearestNeighborInterpolation(RasterData rasterData)
RasterData
.
rasterData
- Method 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 |