which filter the function "imgradientxy" use ??

2 次查看(过去 30 天)
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