org.deegree.coverage.raster.interpolation
Class RasterInterpolater

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

public class RasterInterpolater
extends java.lang.Object

Interpolates a given raster to a given width .

Version:
$Revision: 24704 $, $Date: 2010-06-07 10:08:59 +0200 (Mo, 07. Jun 2010) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

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.