uk.ac.essex.ia.media.area
Class EdgeOperator

java.lang.Object
  extended by uk.ac.essex.ia.media.OperatorImpl
      extended by uk.ac.essex.ia.media.area.EdgeOperator
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, Operator

public class EdgeOperator
extends OperatorImpl

1st derivative Edge operator. This operator allows users to pass a first derivative edge operator over the image.
Input data = RenderedImage
Output data = RenderdImage
Allowable inputs = 1
Allowable outputs = 10

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.essex.ia.media.OperatorImpl
iconURL, inputParameters, label, operatorDescriptor, operatorDialog, translator
 
Constructor Summary
EdgeOperator()
           
EdgeOperator(OperatorDescriptor operatorType)
          Create a new EdgeOperator
 
Method Summary
 java.awt.image.RenderedImage execute(java.awt.image.renderable.ParameterBlock inData)
          Execute this operator with the input data passed as a parameter
 void showOperatorDialog()
          Shows the GUI that sets the parameters for the underlying operation.
 
Methods inherited from class uk.ac.essex.ia.media.OperatorImpl
acceptsInputFrom, clone, getAllowedInputs, getAllowedOutputs, getHelpID, getIcon, getInputParameters, getInputParametersForWriting, getOperatorDialog, getOutputData, getRequiredInputs, getSingleSource, initSingleImageParameterBlock, readExternal, setInputParameters, setOperatorDialog, toString, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeOperator

public EdgeOperator()

EdgeOperator

public EdgeOperator(OperatorDescriptor operatorType)
Create a new EdgeOperator

Method Detail

showOperatorDialog

public void showOperatorDialog()
Shows the GUI that sets the parameters for the underlying operation.

Specified by:
showOperatorDialog in interface Operator
Overrides:
showOperatorDialog in class OperatorImpl

execute

public java.awt.image.RenderedImage execute(java.awt.image.renderable.ParameterBlock inData)
                                     throws java.lang.Exception
Execute this operator with the input data passed as a parameter

Specified by:
execute in interface Operator
Overrides:
execute in class OperatorImpl
Parameters:
inData - - The input data to this operator
Throws:
java.lang.Exception