|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCanny
Canny Class
This class find the gradient vector associated to a points of an image with de Canny's method
Constructor Summary | |
Canny(int dim)
Constructs a filter for each direction (horizontal and vertical) |
Method Summary | |
void |
calculGradient(int x,
int y)
Applies the filters to calculate the gradient vector of a point |
double |
getGradientAngle()
Returns the angle of the gradient vector in radian |
double |
getGradientValue()
Returns the value of the gradient vector |
void |
setProcessor(ij.process.ImageProcessor ip)
Load an ImageProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Canny(int dim)
dim
- the dimension of the filtersMethod Detail |
public void setProcessor(ij.process.ImageProcessor ip)
public void calculGradient(int x, int y)
x
- X-coordinate of the pointy
- Y-coordinate of the pointpublic double getGradientAngle()
public double getGradientValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |