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: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 18 Jun 2009) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: mschneider $
 
 
| 
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:
 - 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)
 
 
 
                an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org