which filter the function "imgradientxy" use ??

I use function "imgradientxy", but I need to know which filter it uses? and the difference between it and the function "imgradient"??

回答 (1 件)

Jan
Jan 2017 年 9 月 27 日

0 投票

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.

質問済み:

2017 年 9 月 27 日

回答済み:

Jan
2017 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by