public interface ConvolveMatrixRable extends FilterColorInterpolation
HINTS_OBSERVED
Modifier and Type | Method and Description |
---|---|
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)
Sets 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 one pixel in 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).
|
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
Filter getSource()
void setSource(Filter src)
src
- image to Convolved.Kernel getKernel()
void setKernel(Kernel k)
k
- Kernel to use for convolution.Point getTarget()
void setTarget(Point pt)
double getBias()
void setBias(double bias)
PadMode getEdgeMode()
void setEdgeMode(PadMode edgeMode)
double[] getKernelUnitLength()
void setKernelUnitLength(double[] kernelUnitLength)
boolean getPreserveAlpha()
void setPreserveAlpha(boolean preserveAlpha)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.