j2d
Class Kernel
java.lang.Object
   j2d.Kernel
j2d.Kernel
- All Implemented Interfaces: 
- java.io.Serializable
- public class Kernel 
- extends java.lang.Object- implements java.io.Serializable
- See Also:
- Serialized Form
 
| Constructor Summary | 
| Kernel(int width,
       int height,
       float[] data)
 | 
| Kernel(int width,
       int height,
       int xOrigin,
       int yOrigin,
       float[] data)
 | 
| Kernel(int width,
       int height,
       int xOrigin,
       int yOrigin,
       float[] dataH,
       float[] dataV)
 | 
| Kernel(java.awt.image.Kernel k)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ERROR_FILTER_FLOYD_STEINBERG
public static final Kernel ERROR_FILTER_FLOYD_STEINBERG
ERROR_FILTER_JARVIS
public static final Kernel ERROR_FILTER_JARVIS
ERROR_FILTER_STUCKI
public static final Kernel ERROR_FILTER_STUCKI
DITHER_MASK_441
public static final Kernel[] DITHER_MASK_441
DITHER_MASK_443
public static final Kernel[] DITHER_MASK_443
GRADIENT_MASK_SOBEL_VERTICAL
public static final Kernel GRADIENT_MASK_SOBEL_VERTICAL
GRADIENT_MASK_SOBEL_HORIZONTAL
public static final Kernel GRADIENT_MASK_SOBEL_HORIZONTAL
Kernel
public Kernel(int width,
              int height,
              int xOrigin,
              int yOrigin,
              float[] data)
Kernel
public Kernel(int width,
              int height,
              int xOrigin,
              int yOrigin,
              float[] dataH,
              float[] dataV)
Kernel
public Kernel(int width,
              int height,
              float[] data)
Kernel
public Kernel(java.awt.image.Kernel k)
getWidth
public int getWidth()
- 
 
- 
 
getHeight
public int getHeight()
- 
 
- 
 
getXOrigin
public int getXOrigin()
- 
 
- 
 
getYOrigin
public int getYOrigin()
- 
 
- 
 
getKernelData
public float[] getKernelData()
- 
 
- 
 
getHorizontalKernelData
public float[] getHorizontalKernelData()
- 
 
- 
 
getVerticalKernelData
public float[] getVerticalKernelData()
- 
 
- 
 
getElement
public float getElement(int xIndex,
                        int yIndex)
- 
 
- 
 
isSeparable
public boolean isSeparable()
- 
 
- 
 
isHorizontallySymmetric
public boolean isHorizontallySymmetric()
- 
 
- 
 
isVerticallySymmetric
public boolean isVerticallySymmetric()
- 
 
- 
 
getLeftPadding
public int getLeftPadding()
- 
 
- 
 
getRightPadding
public int getRightPadding()
- 
 
- 
 
getTopPadding
public int getTopPadding()
- 
 
- 
 
getBottomPadding
public int getBottomPadding()
- 
 
- 
 
getRotatedKernel
public Kernel getRotatedKernel()
- 
 
-