PANDORE Version 6 | GREYC-IMAGE |
pedgedirection computes the direction of the contours. The contours are lines of value 255 and the background is of value 0.
The algorithm use an approximation of the normal direction to compute the contour direction.
Returns SUCCESS or FAILURE.
Performs an edge detection based on hysteresis threshold and computes the edge direction:
pgradient 1 tangram.pan i1.pan i2.pan pbinarization 30 1e30 i1.pan i3.pan pbinarization 60 1e30 i1.pan i4.pan pedgedirection i4.pan out.pan
Calcul la direction des contours.
Author: Régis Clouard