Home » openjdk-7 » java » awt » image » [javadoc | source]
public class: Kernel [javadoc | source]

All Implemented Interfaces:

The 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.
 public Kernel(int width,
    int height,
    float[] data) 
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:
 public Object clone() 
    Clones this object.
 public final int getHeight() 
    Returns the height of this Kernel.
 public final float[] getKernelData(float[] data) 
    Returns the kernel data in row major order. The data array is returned. If data is null, a new array is allocated.
 public final int getWidth() 
    Returns the width of this Kernel.
 public final int getXOrigin() 
    Returns the X origin of this Kernel.
 public final int getYOrigin() 
    Returns the Y origin of this Kernel.