Compute horizontal and vertical derivatives

Hello,

If I understand correctly, you want to calculate gradients.

See this post

BR
François