net.sf.jomic.tools
Class ThresholdDifferenceBlurDescriptor

java.lang.Object
  extended by javax.media.jai.OperationDescriptorImpl
      extended by net.sf.jomic.tools.ThresholdDifferenceBlurDescriptor
All Implemented Interfaces:
Serializable, javax.media.jai.OperationDescriptor, javax.media.jai.RegistryElementDescriptor

public class ThresholdDifferenceBlurDescriptor
extends javax.media.jai.OperationDescriptorImpl

An OperationDescriptor describing the "ThresholdBlur" operation.

See Also:
Convolve, Serialized Form

Field Summary
 
Fields inherited from class javax.media.jai.OperationDescriptorImpl
sourceNames, supportedModes
 
Fields inherited from interface javax.media.jai.OperationDescriptor
NO_PARAMETER_DEFAULT
 
Constructor Summary
ThresholdDifferenceBlurDescriptor()
          Constructor.
 
Method Summary
static javax.media.jai.RenderedOp create(RenderedImage source0, javax.media.jai.KernelJAI kernel, int threshold, RenderingHints hints)
          Performs kernel-based ThresholdDifferenceBlur on an image.
 javax.media.jai.PropertyGenerator[] getPropertyGenerators()
          Returns an array of PropertyGenerators implementing property inheritance for the "ThresholdDifferenceBlur" operation.
 
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, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdDifferenceBlurDescriptor

public ThresholdDifferenceBlurDescriptor()
Constructor.

Method Detail

getPropertyGenerators

public javax.media.jai.PropertyGenerator[] getPropertyGenerators()
Returns an array of PropertyGenerators implementing property inheritance for the "ThresholdDifferenceBlur" operation.

Specified by:
getPropertyGenerators in interface javax.media.jai.OperationDescriptor
Overrides:
getPropertyGenerators in class javax.media.jai.OperationDescriptorImpl
Returns:
An array of property generators.

create

public static javax.media.jai.RenderedOp create(RenderedImage source0,
                                                javax.media.jai.KernelJAI kernel,
                                                int threshold,
                                                RenderingHints hints)
Performs kernel-based ThresholdDifferenceBlur on an image.

Parameters:
source0 - RenderedImage source 0.
kernel - The convolution kernel.
threshold - The threshold to use.
hints - The RenderingHints to use. May be null .
Returns:
The RenderedOp destination.
Throws:
IllegalArgumentException - if source0 is null.
IllegalArgumentException - if kernel is null.