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()
RasterKernelgetBandCount in interface RasterKernelpublic int getRow()
RasterKernelgetRow in interface RasterKernelpublic int getColumn()
RasterKernelgetColumn in interface RasterKernelpublic java.lang.Object[] getValue()
RasterKernelgetValue in interface RasterKernelpublic java.lang.Object[][][] getValues()
RasterKernelgetValues in interface RasterKernel