public class DFTConvolveDescriptor
extends javax.media.jai.OperationDescriptorImpl
OperationDescriptor
describing the "DFTConvolve" operation.
This operation behaves as the JAI standard "Convolve" operation but uses a Fast Fourier Transformation for the convolution.
Name | Value |
---|---|
GlobalName | DFTConvolve |
LocalName | DFTConvolve |
Vendor | com.sun.media.jai |
Description | Performs kernel-based convolution on an image. |
DocURL | http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/operator/ConvolveDescriptor.html |
Version | 1.0 |
arg0Desc | The convolution kernel. |
Name | Class Type | Default Value |
---|---|---|
kernel | javax.media.jai.KernelJAI | NO_PARAMETER_DEFAULT |
OperationDescriptor
,
KernelJAI
,
Serialized FormConstructor and Description |
---|
DFTConvolveDescriptor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static javax.media.jai.RenderedOp |
create(RenderedImage source0,
javax.media.jai.KernelJAI kernel,
RenderedImage kernelFT,
RenderingHints hints)
Performs kernel-based convolution on an image.
|
javax.media.jai.PropertyGenerator[] |
getPropertyGenerators()
Returns an array of
PropertyGenerators implementing
property inheritance for the "Convolve" operation. |
protected boolean |
validateParameters(String s,
ParameterBlock parameterBlock,
StringBuffer stringBuffer) |
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
protected boolean validateParameters(String s, ParameterBlock parameterBlock, StringBuffer stringBuffer)
validateParameters
in class javax.media.jai.OperationDescriptorImpl
public javax.media.jai.PropertyGenerator[] getPropertyGenerators()
PropertyGenerators
implementing
property inheritance for the "Convolve" operation.getPropertyGenerators
in interface javax.media.jai.OperationDescriptor
getPropertyGenerators
in class javax.media.jai.OperationDescriptorImpl
public static javax.media.jai.RenderedOp create(RenderedImage source0, javax.media.jai.KernelJAI kernel, RenderedImage kernelFT, RenderingHints hints)
Creates a ParameterBlockJAI
from all
supplied arguments except hints
and invokes
JAI.create(String, java.awt.image.renderable.ParameterBlock, java.awt.RenderingHints)
.
source0
- RenderedImage
source 0.kernel
- The convolution kernel.kernelFT
- The Fourier-transformed convolution kernel image, may be null.hints
- The RenderingHints
to use.
May be null
.RenderedOp
destination.IllegalArgumentException
- if source0
is null
or if
if kernel
is null
.JAI
,
ParameterBlockJAI
,
RenderedOp
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.