org.generation5.vision
Class BorderTracingOp
java.lang.Object
org.generation5.vision.Filter
org.generation5.vision.BorderTracingOp
- public class BorderTracingOp
- extends Filter
Placeholder - this class is not yet implemented!
|
Constructor Summary |
BorderTracingOp()
Creates a new instance of BorderTracingOp |
|
Method Summary |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage output)
Perform a filter operation. |
protected java.awt.image.BufferedImage |
innerBorder(java.awt.image.BufferedImage input,
java.awt.image.BufferedImage output)
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INNER_TRACE
public final int INNER_TRACE
- See Also:
- Constant Field Values
OUTER_TRACE
public final int OUTER_TRACE
- See Also:
- Constant Field Values
CONNECTIVITY_FOUR
public final int CONNECTIVITY_FOUR
- See Also:
- Constant Field Values
CONNECTIVITY_EIGHT
public final int CONNECTIVITY_EIGHT
- See Also:
- Constant Field Values
scanStartX
protected int scanStartX
scanStartY
protected int scanStartY
connectivity
protected int connectivity
borderList
protected java.util.LinkedList borderList
BorderTracingOp
public BorderTracingOp()
- Creates a new instance of BorderTracingOp
main
public static void main(java.lang.String[] args)
- Parameters:
args - the command line arguments
innerBorder
protected java.awt.image.BufferedImage innerBorder(java.awt.image.BufferedImage input,
java.awt.image.BufferedImage output)
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage image,
java.awt.image.BufferedImage output)
- Description copied from class:
Filter
- Perform a filter operation. Note that your filter method should provide the
necessary functionality to allow users to either pass an output image, or have
own dynamically created if null is passed. This can be easily achieved using
the
verifyOutput methods provided.
- Specified by:
filter in class Filter
- Parameters:
output - the pre-allocated output image (optional).image - the input image
- Returns:
- the output from the filter
- See Also:
Filter.verifyOutput(BufferedImage, BufferedImage)