|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Raster con acceso a los elementos individuales (pixeles o datos de celda).
Field Summary | |
static int |
TYPE_BYTE
|
static int |
TYPE_DOUBLE
|
static int |
TYPE_FLOAT
|
static int |
TYPE_IMAGE
|
static int |
TYPE_INT
|
static int |
TYPE_SHORT
|
static int |
TYPE_UNDEFINED
|
static int |
TYPE_USHORT
|
Method Summary | |
int |
getBandNr()
Número de bandas |
int |
getDataType()
Devuelve el tipo de datos del raster |
int |
getElemInt(int x,
int y,
int band)
Obtiene el valor del raster en la coordenada que se le pasa. |
void |
getElemInt(int x,
int y,
int[] px)
Obtiene sobre un array de bandas el valor del raster en la coordenada que se le pasa. |
void |
getElemShort(int x,
int y,
int[] px)
Obtiene sobre un array de bandas el valor del raster en la coordenada que se le pasa. |
int |
getHeight()
Alto del raster |
int |
getWidth()
Ancho del raster |
Field Detail |
public static final int TYPE_UNDEFINED
public static final int TYPE_BYTE
public static final int TYPE_SHORT
public static final int TYPE_USHORT
public static final int TYPE_INT
public static final int TYPE_FLOAT
public static final int TYPE_DOUBLE
public static final int TYPE_IMAGE
Method Detail |
public int getWidth()
public int getHeight()
public int getBandNr()
public int getDataType()
DataBuffer
public void getElemShort(int x, int y, int[] px)
x
- coordenada Xy
- coordenada Ypx
- Array de 4 elementos para las bandas de la imagen ARGBpublic void getElemInt(int x, int y, int[] px)
x
- coordenada Xy
- coordenada Ypx
- Array de 4 elementos para las bandas de la imagen ARGBpublic int getElemInt(int x, int y, int band)
x
- coordenada Xy
- coordenada Yband
- banda
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |