org.apache.batik.ext.awt.image.renderable
public class ConvolveMatrixRable8Bit extends AbstractColorInterpolationRable implements ConvolveMatrixRable
| Constructor Summary | |
|---|---|
| ConvolveMatrixRable8Bit(Filter source) | |
| Method Summary | |
|---|---|
| RenderedImage | createRendering(RenderContext rc) |
| void | fixAlpha(BufferedImage bi) |
| void | fixAlpha_FALLBACK(WritableRaster wr) |
| void | fixAlpha_INT_PACK(WritableRaster wr) |
| double | getBias()
Returns the shift value to apply to the result of convolution |
| PadMode | getEdgeMode()
Returns the current edge handling mode. |
| Kernel | getKernel()
Returns the Convolution Kernel in use |
| double[] | getKernelUnitLength()
Returns the [x,y] distance in user space between kernel values |
| boolean | getPreserveAlpha()
Returns false if the convolution should affect the Alpha channel |
| Filter | getSource() |
| Point | getTarget() |
| void | setBias(double bias)
Returns the shift value to apply to the result of convolution |
| void | setEdgeMode(PadMode edgeMode)
Sets the current edge handling mode. |
| void | setKernel(Kernel k)
Sets the Convolution Kernel to use. |
| void | setKernelUnitLength(double[] kernelUnitLength)
Sets the [x,y] distance in user space between kernel values
If set to zero then device space will be used. |
| void | setPreserveAlpha(boolean preserveAlpha)
Sets Alpha channel handling.
|
| void | setSource(Filter src) |
| void | setTarget(Point pt) |
Parameters: k Kernel to use for convolution.