Package com.bc.ceres.jai.operator
Class DFTConvolveDescriptor
java.lang.Object
javax.media.jai.OperationDescriptorImpl
com.bc.ceres.jai.operator.DFTConvolveDescriptor
- All Implemented Interfaces:
 Serializable,javax.media.jai.OperationDescriptor,javax.media.jai.RegistryElementDescriptor
public class DFTConvolveDescriptor
extends javax.media.jai.OperationDescriptorImpl
An 
 
 
 
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 | 
- See Also:
 
- 
Field Summary
Fields inherited from class javax.media.jai.OperationDescriptorImpl
sourceNames, supportedModesFields inherited from interface javax.media.jai.OperationDescriptor
NO_PARAMETER_DEFAULT - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic javax.media.jai.RenderedOpcreate(RenderedImage source0, javax.media.jai.KernelJAI kernel, RenderedImage kernelFT, RenderingHints hints) Performs kernel-based convolution on an image.javax.media.jai.PropertyGenerator[]Returns an array ofPropertyGeneratorsimplementing property inheritance for the "Convolve" operation.protected booleanvalidateParameters(String s, ParameterBlock parameterBlock, StringBuffer stringBuffer) Methods inherited from class javax.media.jai.OperationDescriptorImpl
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 
- 
Constructor Details
- 
DFTConvolveDescriptor
public DFTConvolveDescriptor()Constructor. 
 - 
 - 
Method Details
- 
validateParameters
protected boolean validateParameters(String s, ParameterBlock parameterBlock, StringBuffer stringBuffer) - Overrides:
 validateParametersin classjavax.media.jai.OperationDescriptorImpl
 - 
getPropertyGenerators
public javax.media.jai.PropertyGenerator[] getPropertyGenerators()Returns an array ofPropertyGeneratorsimplementing property inheritance for the "Convolve" operation.- Specified by:
 getPropertyGeneratorsin interfacejavax.media.jai.OperationDescriptor- Overrides:
 getPropertyGeneratorsin classjavax.media.jai.OperationDescriptorImpl- Returns:
 - An array of property generators.
 
 - 
create
public static javax.media.jai.RenderedOp create(RenderedImage source0, javax.media.jai.KernelJAI kernel, RenderedImage kernelFT, RenderingHints hints) Performs kernel-based convolution on an image.Creates a
ParameterBlockJAIfrom all supplied arguments excepthintsand invokesJAI.create(String, java.awt.image.renderable.ParameterBlock, java.awt.RenderingHints).- Parameters:
 source0-RenderedImagesource 0.kernel- The convolution kernel.kernelFT- The Fourier-transformed convolution kernel image, may be null.hints- TheRenderingHintsto use. May benull.- Returns:
 - The 
RenderedOpdestination. - Throws:
 IllegalArgumentException- ifsource0isnullor if ifkernelisnull.- See Also:
 
 
 -