which filter the function "imgradientxy" use ??

19 visualizzazioni (ultimi 30 giorni)
Abdelrahiem  Hashem
Abdelrahiem Hashem il 27 Set 2017
Risposto: Jan il 27 Set 2017
I use function "imgradientxy", but I need to know which filter it uses? and the difference between it and the function "imgradient"??

Risposte (1)

Jan
Jan il 27 Set 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!

Translated by