uk.ac.essex.ia.media.area
Class HoughLinesOperator
java.lang.Object
uk.ac.essex.ia.media.OperatorImpl
uk.ac.essex.ia.media.area.HoughLinesOperator
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, Operator
public class HoughLinesOperator
- extends OperatorImpl
Calculates the hough transform for lines on the image each line found is then written
to the resulting image using the given intensity.
Date: 15-Jul-2002
- See Also:
- Serialized Form
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()
In this function implmentations should handle displaying the OperatorImpl.operatorDialog
via its show() method. |
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 |
DEFAULT_THRESHOLD
public static final java.lang.Integer DEFAULT_THRESHOLD
DEFAULT_INTENSITY
public static final java.lang.Integer DEFAULT_INTENSITY
HoughLinesOperator
public HoughLinesOperator()
HoughLinesOperator
public HoughLinesOperator(OperatorDescriptor operatorType)
showOperatorDialog
public void showOperatorDialog()
- In this function implmentations should handle displaying the
OperatorImpl.operatorDialog
via its show() method. Also any input parameters should if instantiated be loaded
into the dialog prior to it being displayed. These should then be dislpayed after
it is complete. NB this is modal dialog so once the show method is called
execution will block. After the call the parameters can be got via
OperatorDialog.getParameter(java.lang.String)
.
- 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