derivative) of f , at a vertex vi ∈ V, along an edge eij = (vi , vj ), is defined as ∂f ∂eij vi = ∂vj f (vi ) = (dw f )(vi , vj ). This definition is consistent with the continuous definition of the derivative of a function: ∂vj f (vi ) = −∂vi f (vj ), ∂vi f (vi ) = 0, and if f (vj ) = f (vi ) then ∂vj f (vi ) = 0. We also introduce morphological difference operators: (d+ w f )(vi , vj )=w(vi , vj )1/2 max f (vi ), f (vj ) −f (vi ) and (d− w f )(vi , vj )=w(vi , vj )1/2 f (vi )− min f (vi ), f (vj ) , (3) with the following properties (always positive) (d+ w f )(vi , vj )= max 0, (dw f )(vi , vj ) (d− w f )(vi , vj )= − min 0, (dw f )(vi , vj ) The corresponding external and internal partial derivatives are ∂+ vj f (vi )=(d+ w f )(vi , vj ) and ∂− vj f (vi )=(d− w f )(vi , vj ). A. Elmoataz, O. Lezoray, S. Bougleux, Nonlocal Discrete Regularization on Weighted Graphs: a framework for Image and Manifold Processing, IEEE transactions on Image Processing, Vol. 17, n7, pp. 1047-1060, 2008. O. L´ ezoray (University of Caen) PdE on graphs for image and data processing May 18, 2011 14 / 58