which filter the function "imgradientxy" use ??

19 ビュー (過去 30 日間)
Abdelrahiem  Hashem
Abdelrahiem Hashem 2017 年 9 月 27 日
回答済み: Jan 2017 年 9 月 27 日
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 日
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