|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectroomba.roombanetwork.services.image.Track
public class Track
Contains the necessary information about a color finder track such that it can find the track within an image (if it exists)
| Field Summary | |
|---|---|
static int |
overlayColorIndex
|
static java.awt.Color[] |
overlayColors
|
static int |
TOLERANCE
|
static int |
VIEWING_WINDOW
|
| Constructor Summary | |
|---|---|
Track(java.awt.image.BufferedImage imageClip,
java.lang.String trackName,
ImagePanel imagePanel)
Constructor - the image clip is centered on the object to track |
|
| Method Summary | |
|---|---|
java.lang.String |
getTrackName()
Gets the track name |
int |
getX()
Gets the x position of the track in the last processed image. |
int |
getY()
Gets the y position of the track in the last processed image. |
void |
processImage(java.awt.image.BufferedImage image)
Processes an image and finds the x and y position of the track in the image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VIEWING_WINDOW
public static final int TOLERANCE
public static int overlayColorIndex
public static java.awt.Color[] overlayColors
| Constructor Detail |
|---|
public Track(java.awt.image.BufferedImage imageClip,
java.lang.String trackName,
ImagePanel imagePanel)
imageClip - The Image clip containing the object to tracktrackName - The name to identify the track by| Method Detail |
|---|
public void processImage(java.awt.image.BufferedImage image)
image - The image to processpublic int getX()
public int getY()
public java.lang.String getTrackName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||