|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJSci.instruments.PTTwoDBarycentreCross
Field Summary | |
static double |
ALPHA
threshold for defininf the light and dark regions; 0 |
static int |
ODD_EVEN
the meaning of fields in interlaced images; 1 for odd/even, 0 for odd-only fields |
static double |
REGION_SPEED
the speed of movement of the region; 0 = the region doesn't move; 1 = the region follows the bead |
static int |
WEIGHT_LIGHT_PART
the weight of the light region vs. |
Constructor Summary | |
PTTwoDBarycentreCross(java.awt.Rectangle r)
|
Method Summary | |
void |
find(Image i)
ask the cross to find the bead. |
void |
findInterlaced(Image i)
ask the cross to find the bead. |
int |
getN()
|
double |
getX()
|
double |
getX2()
|
double |
getY()
|
double |
getY2()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static double ALPHA
public static int WEIGHT_LIGHT_PART
public static double REGION_SPEED
public static int ODD_EVEN
Constructor Detail |
public PTTwoDBarycentreCross(java.awt.Rectangle r)
r
- the initial region where to look for the beadMethod Detail |
public void find(Image i)
public void findInterlaced(Image i)
public java.lang.String toString()
public int getN()
public double getX()
public double getY()
public double getX2()
public double getY2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |