java.lang.Objectjava.awt.image.Kernel
All Implemented Interfaces:
Cloneable
Kernel class defines a matrix that describes how a
specified pixel and its surrounding pixels affect the value
computed for the pixel's position in the output image of a filtering
operation. The X origin and Y origin indicate the kernel matrix element
that corresponds to the pixel position for which an output value is
being computed.| Constructor: |
|---|
Kernel object from an array of floats.
The first width*height elements of
the data array are copied.
If the length of the data array is less
than width*height, an IllegalArgumentException is thrown.
The X origin is (width-1)/2 and the Y origin is (height-1)/2.
|
| Method from java.awt.image.Kernel Summary: |
|---|
| clone, getHeight, getKernelData, getWidth, getXOrigin, getYOrigin |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.awt.image.Kernel Detail: |
|---|
|
Kernel. |
data array is returned. If data
is null, a new array is allocated. |
Kernel. |
Kernel. |
Kernel. |