org.deegree.io.imgapi
Class IMGReader
java.lang.Object
org.deegree.io.imgapi.IMGReader
public class IMGReader
- extends java.lang.Object
- Author:
- Andreas Poth
Constructor Summary |
IMGReader(java.lang.String fileName,
int width,
int height,
Envelope bbox,
int type)
Creates a new instance of IMGReader |
Method Summary |
float[][] |
read(Envelope bbox)
reads a rectangular subset from the image |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BYTE
public static final int BYTE
- See Also:
- Constant Field Values
SMALLINT
public static final int SMALLINT
- See Also:
- Constant Field Values
INT
public static final int INT
- See Also:
- Constant Field Values
FLOAT
public static final int FLOAT
- See Also:
- Constant Field Values
DOUBLE
public static final int DOUBLE
- See Also:
- Constant Field Values
IMGReader
public IMGReader(java.lang.String fileName,
int width,
int height,
Envelope bbox,
int type)
- Creates a new instance of IMGReader
- Parameters:
fileName
- width
- height
- bbox
- type
-
read
public float[][] read(Envelope bbox)
throws java.io.IOException
- reads a rectangular subset from the image
- Parameters:
bbox
- desired bounding box
- Throws:
java.io.IOException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org