Interface ConvolveMatrixRable
- All Superinterfaces:
Filter, FilterColorInterpolation, RenderableImage
- All Known Implementing Classes:
ConvolveMatrixRable8Bit
Convolves an image with a convolution matrix.
- Version:
- $Id$
-
Field Summary
Fields inherited from interface RenderableImage
HINTS_OBSERVED -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBias()Returns the shift value to apply to the result of convolutionReturns the current edge handling mode.Returns the Convolution Kernel in usedouble[]Returns the [x,y] distance in user space between kernel valuesbooleanReturns false if the convolution should affect the Alpha channelReturns the source to be ConvolvedReturns the target point of the kernel (what pixel under the kernel should be set to the result of convolution).voidsetBias(double bias) Sets the shift value to apply to the result of convolutionvoidsetEdgeMode(PadMode edgeMode) Sets the current edge handling mode.voidSets the Convolution Kernel to use.voidsetKernelUnitLength(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.voidsetPreserveAlpha(boolean preserveAlpha) Sets Alpha channel handling.voidSets the source to be ConvolvedvoidSets the target point of the kernel (what pixel under the kernel should be set to the result of the convolution).Methods inherited from interface Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampMethods inherited from interface FilterColorInterpolation
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearMethods inherited from interface RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Method Details
-
getSource
Filter getSource()Returns the source to be Convolved -
setSource
-
getKernel
Kernel getKernel()Returns the Convolution Kernel in use -
setKernel
Sets the Convolution Kernel to use.- Parameters:
k- Kernel to use for convolution.
-
getTarget
Point getTarget()Returns the target point of the kernel (what pixel under the kernel should be set to the result of convolution). -
setTarget
Sets the target point of the kernel (what pixel under the kernel should be set to the result of the convolution). -
getBias
double getBias()Returns the shift value to apply to the result of convolution -
setBias
void setBias(double bias) Sets the shift value to apply to the result of convolution -
getEdgeMode
PadMode getEdgeMode()Returns the current edge handling mode. -
setEdgeMode
Sets the current edge handling mode. -
getKernelUnitLength
double[] getKernelUnitLength()Returns the [x,y] distance in user space between kernel values -
setKernelUnitLength
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. -
getPreserveAlpha
boolean getPreserveAlpha()Returns false if the convolution should affect the Alpha channel -
setPreserveAlpha
void setPreserveAlpha(boolean preserveAlpha) Sets Alpha channel handling. A value of False indicates that the convolution should apply to the Alpha Channel
-