All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.player.Analyze

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----pinball.player.Analyze

public class Analyze
extends Thread
The analyzed thread. Used to analyze the images from the camera. If finds objects in the frame.


Variable Index

 o ball
The ball to be located.
 o buffer
The information buffer.
 o buffinfo
The contents of the buffer.
 o process
The object to process the image and find things.
 o xsize
The width of the image.

Constructor Index

 o Analyze()
For extended classes.
 o Analyze(Buffer)
Make a new analyze thread.

Method Index

 o run()
Analyze the images for the ball's location.
 o setupProcessImage()
Setup the process image object
 o skip()
Skip to the most recent buffer.
 o toString()
Get the name of the object.

Variables

 o buffer
 protected Buffer buffer
The information buffer.

 o buffinfo
 protected BufferInfo buffinfo
The contents of the buffer.

 o ball
 protected Blip ball
The ball to be located.

 o xsize
 protected int xsize
The width of the image.

 o process
 protected ProcessImage process
The object to process the image and find things.

Constructors

 o Analyze
 public Analyze(Buffer buffer)
Make a new analyze thread.

Parameters:
buffer - The first buffer in the series of buffers.
 o Analyze
 public Analyze()
For extended classes.

Methods

 o toString
 public String toString()
Get the name of the object.

Parameters:
name - of the object.
Overrides:
toString in class Thread
 o run
 public void run()
Analyze the images for the ball's location.

Overrides:
run in class Thread
 o setupProcessImage
 protected void setupProcessImage()
Setup the process image object

 o skip
 protected void skip()
Skip to the most recent buffer.


All Packages  Class Hierarchy  This Package  Previous  Next  Index