public class ConvolveMatrixRable8Bit extends AbstractColorInterpolationRable implements ConvolveMatrixRable
csLinearprops, srcs, stampHINTS_OBSERVED| Constructor and Description |
|---|
ConvolveMatrixRable8Bit(Filter source) |
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
createRendering(RenderContext rc) |
void |
fixAlpha_FALLBACK(WritableRaster wr) |
void |
fixAlpha_INT_PACK(WritableRaster wr) |
void |
fixAlpha(BufferedImage bi) |
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()
Returns the source to be Convolved
|
Point |
getTarget()
Returns the target point of the kernel (what pixel under the kernel
should be set to the result of convolution).
|
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)
Sets the source to be Convolved
|
void |
setTarget(Point pt)
Sets the target point of the kernel (what pixel under the kernel
should be set to the result of the convolution).
|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearcreateDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLineargetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicpublic ConvolveMatrixRable8Bit(Filter source)
public Filter getSource()
ConvolveMatrixRablegetSource in interface ConvolveMatrixRablepublic void setSource(Filter src)
ConvolveMatrixRablesetSource in interface ConvolveMatrixRablesrc - image to Convolved.public Kernel getKernel()
getKernel in interface ConvolveMatrixRablepublic void setKernel(Kernel k)
setKernel in interface ConvolveMatrixRablek - Kernel to use for convolution.public Point getTarget()
ConvolveMatrixRablegetTarget in interface ConvolveMatrixRablepublic void setTarget(Point pt)
ConvolveMatrixRablesetTarget in interface ConvolveMatrixRablepublic double getBias()
getBias in interface ConvolveMatrixRablepublic void setBias(double bias)
setBias in interface ConvolveMatrixRablepublic PadMode getEdgeMode()
getEdgeMode in interface ConvolveMatrixRablepublic void setEdgeMode(PadMode edgeMode)
setEdgeMode in interface ConvolveMatrixRablepublic double[] getKernelUnitLength()
getKernelUnitLength in interface ConvolveMatrixRablepublic void setKernelUnitLength(double[] kernelUnitLength)
setKernelUnitLength in interface ConvolveMatrixRablepublic boolean getPreserveAlpha()
getPreserveAlpha in interface ConvolveMatrixRablepublic void setPreserveAlpha(boolean preserveAlpha)
setPreserveAlpha in interface ConvolveMatrixRablepublic void fixAlpha(BufferedImage bi)
public void fixAlpha_INT_PACK(WritableRaster wr)
public void fixAlpha_FALLBACK(WritableRaster wr)
public RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImageCopyright © 2000–2024 Apache Software Foundation. All rights reserved.