|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVotingPoint
VotingPoint Class
This class represents a voting point
Constructor Summary | |
VotingPoint(int i,
int j,
Canny canny)
Constructs a voting point |
Method Summary | |
double |
getGradientAngle()
Returns the angle of the gradient associated to the point |
double |
getGradientValue()
Returns the value of the gradient associated to the point |
int |
getXCoord()
Returns the X-coordinate of the voting point |
int |
getYCoord()
Returns the Y-coordinate of the voting point |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VotingPoint(int i, int j, Canny canny)
i
- X-coordinate of the pointj
- Y-coordinate of the pointcanny
- Canny object to calculate the gradient vectorMethod Detail |
public int getXCoord()
public int getYCoord()
public double getGradientAngle()
public double getGradientValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |