Compute median value from neighbour nodes.

   VALS2 = grMedian(EDGES, VALS)
   new value for each node of the graph is computed as the median of the
   values of neighbours and of old value.

   Example
   grMedian

   See also
   grMean, grDilate, grErode

Package: matgeom