horizontal and vertical difference array

2 次查看(过去 30 天)
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.

回答(1 个)

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

Community Treasure Hunt

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

Start Hunting!

Translated by