deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.processing.raster
Class BufferedImageDataMatrix

java.lang.Object
  extended by org.deegree.processing.raster.BufferedImageDataMatrix
All Implemented Interfaces:
DataMatrix

public class BufferedImageDataMatrix
extends Object
implements DataMatrix

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
BufferedImageDataMatrix(BufferedImage bi)
           
 
Method Summary
 double[] getCellAt(int x, int y)
          returns the data vector at the passed index position
 int getHeight()
          returns the data matrix width (number of cells in x-direction)
 int getWidth()
          returns the data matrix height (number of cells in y-direction)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferedImageDataMatrix

public BufferedImageDataMatrix(BufferedImage bi)
Parameters:
bi -
Method Detail

getCellAt

public double[] getCellAt(int x,
                          int y)
Description copied from interface: DataMatrix
returns the data vector at the passed index position

Specified by:
getCellAt in interface DataMatrix
Parameters:
x -
y -
Returns:
the float values at x,y.

getHeight

public int getHeight()
returns the data matrix width (number of cells in x-direction)

Specified by:
getHeight in interface DataMatrix
Returns:
the data matrix width (number of cells in x-direction)

getWidth

public int getWidth()
returns the data matrix height (number of cells in y-direction)

Specified by:
getWidth in interface DataMatrix
Returns:
the data matrix height (number of cells in y-direction)

deegree 2.3 (2010/04/09 10:10 build-4-official)

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