org.deegree.processing.raster
Class BufferedImageDataMatrix
java.lang.Object
org.deegree.processing.raster.BufferedImageDataMatrix
- All Implemented Interfaces:
- DataMatrix
public class BufferedImageDataMatrix
- extends Object
- implements DataMatrix
- Version:
- $Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
|
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 |
BufferedImageDataMatrix
public BufferedImageDataMatrix(BufferedImage bi)
- Parameters:
bi -
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:
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)
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net