horizontal and vertical difference array

2 views (last 30 days)
Mohammed  Kassem
Mohammed Kassem on 12 Apr 2019
Answered: Image Analyst on 12 Apr 2019
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.

Answers (1)

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

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!