Finding gradient differences in code?
Mostrar comentarios más antiguos
Hi,
I'm finding edges using the gradient function.
[Gx, Gy] = gradient(imgaussfilt(im, gradientsigma), 'x', 'y');
In this code, what does the 'x' and 'y' do? I've tried removing them to see if I get the same answer (I don't) but I don't understand the difference?
Many thanks!
1 comentario
darova
el 15 de Abr. de 2020
2d and 3d inputs of gradient are steps in X and Y directions. I don't know why it's working with symbolic 'x' and 'y'
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Object Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!