How to code this avarage gradient equation in matlab?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alvin Alvin
am 28 Nov. 2019
Kommentiert: Alvin Alvin
am 28 Nov. 2019
Average gradient (AG). The AG reflects the ability to express the details of an image and can be used to measure the
relative clarity of the image. AG is formulated as:
0 Kommentare
Akzeptierte Antwort
KSSV
am 28 Nov. 2019
Let F be your matrix.
[dfdx,dfdy] = gradient(f) ;
M = (dfdx.^2+dfdy.^2)/2 ;
AG = mean(mean(M)) ;
I gave answer quckly...cross check once.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!