PANDORE Version 6 | GREYC-IMAGE |
pshen computes the gradient magnitude and performs the maxima localization. The output image can then be used to locate the contours. The output image im_out is built with the maximum magnitude value in the direction of the gradient. Other values are set to 0.
The gradient magnitude value reflects the amount of grayscale variation in this point. The more is the variation the greater is the value.
The gradient extraction and localization is done in three steps :
Note: The image border of size 1 is set to 0.
Returns SUCCESS or FAILURE.
Performs an edge detection for the tangram.pan image:
pshen 1 tangram.pan a.pan pbinarization 10 1e30 a.pan b.pan
Détection et localisation des contours de Shen-Castan.
Author: Carlotti & Joguet