|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.processing.raster.converter.RawData2Image
public class RawData2Image
Offeres methods to wrap raw number data into a BufferedImage
| Constructor Summary | |
|---|---|
RawData2Image()
|
|
| Method Summary | |
|---|---|
static BufferedImage |
rawData2Image(byte[][] data)
|
static BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits)
Float data requires 4 Byte (32Bit) per data cell. |
static BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits,
ColorModel colorModel,
SampleModel sampleModel)
Special version of the method which creates a new BufferedImage according to the models given. |
static BufferedImage |
rawData2Image(float[][] data,
boolean use32Bits,
float scale,
float offset)
Float data requires 4 Byte (32Bit) per data cell. |
static BufferedImage |
rawData2Image(int[][] data)
|
static 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 BufferedImage rawData2Image(byte[][] data)
data - data to wrap
BufferedImage with a GRAY colorspace and
DataBuffer.TYPE_BYTEpublic static BufferedImage rawData2Image(short[][] data)
data - data to wrap
BufferedImage with a GRAY colorspace and
DataBuffer.TYPE_USHORTpublic static BufferedImage rawData2Image(int[][] data)
data - data to wrap
BufferedImage with a GRAY colorspace and
DataBuffer.TYPE_INT
public static 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 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 BufferedImage rawData2Image(float[][] data,
boolean use32Bits,
ColorModel colorModel,
SampleModel sampleModel)
data - data to wrapuse32Bits - colorModel - sampleModel -
BufferedImage with the given color model
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net