public class DefaultRasterKernel extends java.lang.Object implements RasterKernel
Constructor and Description |
---|
DefaultRasterKernel(Buffer buffer)
Creates the raster kernel with the raster buffer
|
Modifier and Type | Method and Description |
---|---|
int |
getBandCount()
Number of bands from the raster
|
int |
getColumn()
Raster column which is being informed
|
int |
getRow()
Raster row which is being informed
|
java.lang.Object[] |
getValue()
Values of the bands in the row and column given
|
java.lang.Object[][][] |
getValues()
A 3x3 matrix around the row and column given with the values of the bands
|
void |
set(int row,
int column)
Row and Column from the raster
|
public DefaultRasterKernel(Buffer buffer)
buffer
- public void set(int row, int column)
row
- column
- public int getBandCount()
RasterKernel
getBandCount
in interface RasterKernel
public int getRow()
RasterKernel
getRow
in interface RasterKernel
public int getColumn()
RasterKernel
getColumn
in interface RasterKernel
public java.lang.Object[] getValue()
RasterKernel
getValue
in interface RasterKernel
public java.lang.Object[][][] getValues()
RasterKernel
getValues
in interface RasterKernel