|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.ac.sbg.cosy.soccerbot.recognition.bestfit.BestFitBallDetectService
public class BestFitBallDetectService
Recognizes the ball out of a list of regions
Field Summary | |
---|---|
static int |
HSVBALLCOLOR_CANDLERED
Test color for red candle |
static int |
HSVBALLCOLOR_RED
Test color for red balls |
static int |
HSVBALLCOLOR_TENNISBALLGREEN
Test color for tennis ball (good results with eyetoy camera) |
static int |
HSVBALLCOLOR_TENNISBALLYELLOW
Another test color for tennis ball |
Constructor Summary | |
---|---|
BestFitBallDetectService()
|
Method Summary | |
---|---|
static IRegion |
doService(IRegionCollector collector)
This is the main entry point for performing the Ball Detect Algorithm regionList vector has to be sorted |
static int |
getHSVBallColor()
Retrieves Ball Color |
static void |
setHSVBallColor(int hsvBallColor)
Sets ball color as 32 bit hsv value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HSVBALLCOLOR_RED
public static final int HSVBALLCOLOR_CANDLERED
public static final int HSVBALLCOLOR_TENNISBALLGREEN
public static final int HSVBALLCOLOR_TENNISBALLYELLOW
Constructor Detail |
---|
public BestFitBallDetectService()
Method Detail |
---|
public static int getHSVBallColor()
public static void setHSVBallColor(int hsvBallColor)
hsvBallColor
- hsv color of ballpublic static IRegion doService(IRegionCollector collector)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |