which filter the function "imgradientxy" use ??

18 views (last 30 days)
Abdelrahiem  Hashem
Abdelrahiem Hashem on 27 Sep 2017
Answered: Jan on 27 Sep 2017
I use function "imgradientxy", but I need to know which filter it uses? and the difference between it and the function "imgradient"??

Answers (1)

Jan
Jan on 27 Sep 2017
According to the documentation:
doc imgradientxy
the default method is: 'sobel' (default)
While imgradient calculates the gradient for each pixel with magnitude and direction, imgradientxy calculates the gradients in the fixed X and Y directions.

Community Treasure Hunt

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

Start Hunting!