NonMaxSuppression:

Path: Imaging/ImageMatching

% Non max suppression. Thins the edges.

--------------------------------------------------------------------------
   Form:
               NonMaxSuppression;
   [iN, e0K] = NonMaxSuppression( e0, eS )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   e0             (n,m)       Orientation of the edge normal
   eS             (n,m)       Edge strength

   -------
   Outputs
   -------
   iN             (n,m)       Edge strength
   e0K            (n,m)       Orientation index of the edge normal

--------------------------------------------------------------------------
   Reference: Trucco, E. and A. Verri, "Introductory Techniques for 3-D
              Computer Vision, Prentice-Hall, 1998, p. 77.
--------------------------------------------------------------------------