org.deegree.coverage.raster.interpolation
Class RasterInterpolater

java.lang.Object
  extended by org.deegree.coverage.raster.interpolation.RasterInterpolater

public class RasterInterpolater
extends Object

Interpolates a given raster to a given width .

Version:
$Revision: 31644 $, $Date: 2011-08-24 22:27:43 +0200 (Wed, 24 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
RasterInterpolater(InterpolationType interpolationType)
           
 
Method Summary
 AbstractRaster interPolate(AbstractRaster sourceRaster, int dstWidth, int dstHeight)
          Interpolates the given raster to retrieve a raster with the given width and height.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterInterpolater

public RasterInterpolater(InterpolationType interpolationType)
Parameters:
interpolationType -
Method Detail

interPolate

public AbstractRaster interPolate(AbstractRaster sourceRaster,
                                  int dstWidth,
                                  int dstHeight)
Interpolates the given raster to retrieve a raster with the given width and height.

Parameters:
sourceRaster - the raster to get an interpolation version from
dstWidth - the width (columns) of the resulting raster
dstHeight - the height (rows) of the resulting raster
Returns:
the interpolated raster


Copyright © 2011. All Rights Reserved.