org.deegree.model.coverage.grid
Class TiffDEMParser
java.lang.Object
  
org.deegree.model.coverage.grid.TiffDEMParser
public class TiffDEMParser
- extends Object
 
Parses 4 channel (32Bit) tiff images as DEM and returns a float matrix containing the DEM heights
- Since:
 
  - 2.0
 
- Version:
 
  - $Revision: 6259 $, 1.0. $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
 
- Author:
 
  - Andreas Poth, last edited by: $Author: bezema $
 
 
| 
Method Summary | 
 float[][] | 
parse()
 
          returns the DEM heights as float matrix | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TiffDEMParser
public TiffDEMParser(File dataFile)
- Parameters:
 dataFile - image containing DEM data instead color information
TiffDEMParser
public TiffDEMParser(File dataFile,
                     float scale)
- Parameters:
 dataFile - image containing DEM data instead color informationscale - scale factor; newHeight[i][j] = height[i][j] * scale
TiffDEMParser
public TiffDEMParser(File dataFile,
                     float scale,
                     float offset)
- Parameters:
 dataFile - image containing DEM data instead color informationscale - scale factor; newHeight[i][j] = height[i][j] * scaleoffset - height offset; newHeight[i][j] = height[i][j] + offset
TiffDEMParser
public TiffDEMParser(BufferedImage data)
- Parameters:
 data - image containing DEM data instead color information
TiffDEMParser
public TiffDEMParser(BufferedImage data,
                     float scale)
- Parameters:
 data - image containing DEM data instead color informationscale - scale factor; newHeight[i][j] = height[i][j] * scale
TiffDEMParser
public TiffDEMParser(BufferedImage data,
                     float scale,
                     float offset)
- Parameters:
 data - scale - scale factor; newHeight[i][j] = height[i][j] * scaleoffset - height offset; newHeight[i][j] = height[i][j] + offset
parse
public float[][] parse()
- returns the DEM heights as float matrix
- Returns:
 - the DEM heights as float matrix
 
 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net