Effacer les filtres
Effacer les filtres

How to calculate gradient of 512*512*4 image?

2 vues (au cours des 30 derniers jours)
Akshay Gore
Akshay Gore le 27 Fév 2014
Is this wrong or write?
If my output image is g(512*512*4) then gradient of g() is
gradver1=sqrt(g1(:,:,1).^2+g1(:,:,2).^2+g1(:,:,3).^2+g1(:,:,4).^2);

Réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by