|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.processing.raster.converter.RawData2Image
public class RawData2Image
Offeres methods to wrap raw number data into a BufferedImage
Constructor Summary | |
---|---|
RawData2Image()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
rawData2Image(byte[][] data)
|
static java.awt.image.BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits)
Float data requires 4 Byte (32Bit) per data cell. |
static java.awt.image.BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits,
java.awt.image.ColorModel colorModel,
java.awt.image.SampleModel sampleModel)
Special version of the method which creates a new BufferedImage according to the models given. |
static java.awt.image.BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits,
float scale,
float offset)
Float data requires 4 Byte (32Bit) per data cell. |
static java.awt.image.BufferedImage |
rawData2Image(int[][] data)
|
static java.awt.image.BufferedImage |
rawData2Image(short[][] data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawData2Image()
Method Detail |
---|
public static java.awt.image.BufferedImage rawData2Image(byte[][] data)
data
- data to wrap
BufferedImage
with a GRAY colorspace and
DataBuffer.TYPE_BYTE
public static java.awt.image.BufferedImage rawData2Image(short[][] data)
data
- data to wrap
BufferedImage
with a GRAY colorspace and
DataBuffer.TYPE_USHORT
public static java.awt.image.BufferedImage rawData2Image(int[][] data)
data
- data to wrap
BufferedImage
with a GRAY colorspace and
DataBuffer.TYPE_INT
public static java.awt.image.BufferedImage rawData2Image(float[][] data, boolean use32Bits)
true
a image with 32Bit data depth and INT Databuffer will be created.
Otherwise a 16Bit Image with an USHORT Databuffer will be created.
data
- data to wrapuse32Bits
-
BufferedImage
with a GRAY colorspace.public static java.awt.image.BufferedImage rawData2Image(float[][] data, boolean use32Bits, float scale, float offset)
true
a image with 32Bit data depth and INT Databuffer will be created.
Otherwise a 16Bit Image with an USHORT Databuffer will be created.
data
- use32Bits
- scale
- offset
-
BufferedImage
with a GRAY colorspace.public static java.awt.image.BufferedImage rawData2Image(float[][] data, boolean use32Bits, java.awt.image.ColorModel colorModel, java.awt.image.SampleModel sampleModel)
data
- data to wrapuse32Bits
- colorModel
- sampleModel
-
BufferedImage
with the given color model
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org