How to code this avarage gradient equation in matlab?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
KSSV
2019 年 11 月 28 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!