|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ed.inf.sdp2012.group7.vision.FeedProcessor
public class FeedProcessor
Do our work on the frames, call the thresholding, do the marking of frames etc
Constructor Summary | |
---|---|
FeedProcessor(InitialLocation il,
int height,
int width,
VisionFeed visionFeed,
ThresholdsState ts)
Constructor |
Method Summary | |
---|---|
void |
calculateFPS(long before,
java.awt.Graphics imageGraphics,
java.awt.Graphics frameGraphics,
java.awt.image.BufferedImage image,
int width,
int height)
Calculates and draws FPS and the HUD |
void |
drawOverlay(java.awt.image.BufferedImage im)
Draw pitch onto image |
void |
markObjects(java.awt.Graphics imageGraphics)
Draw positions of objects |
void |
processAndUpdateImage(java.awt.image.BufferedImage image,
long before,
javax.swing.JLabel label)
Where everything is called from |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeedProcessor(InitialLocation il, int height, int width, VisionFeed visionFeed, ThresholdsState ts)
il
- height
- width
- visionFeed
- ts
- Method Detail |
---|
public void processAndUpdateImage(java.awt.image.BufferedImage image, long before, javax.swing.JLabel label)
image
- Current framebefore
- ?label
- ?public void drawOverlay(java.awt.image.BufferedImage im)
im
- Current framepublic void markObjects(java.awt.Graphics imageGraphics)
imageGraphics
- ?public void calculateFPS(long before, java.awt.Graphics imageGraphics, java.awt.Graphics frameGraphics, java.awt.image.BufferedImage image, int width, int height)
before
- ?imageGraphics
- ?frameGraphics
- ?image
- The frame to draw onwidth
- Of imageheight
- Of image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |