horizontal and vertical difference array

can any one help me to find the (horizontal and vertical difference array) of an image using this formulas in the image below
Sketch.png
where u and v denote coordinates in corresponding matrix.

Réponses (1)

Image Analyst
Image Analyst le 12 Avr 2019
Try this:
[Dx, Dy] = imgradientxy(grayscaleImage, 'intermediate');

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by