How to code this avarage gradient equation in matlab?

1 回表示 (過去 30 日間)
Alvin Alvin
Alvin Alvin 2019 年 11 月 28 日
コメント済み: Alvin Alvin 2019 年 11 月 28 日
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:
1.JPG

採用された回答

KSSV
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.
  2 件のコメント
Alvin Alvin
Alvin Alvin 2019 年 11 月 28 日
Thanks KSSV,
Alvin Alvin
Alvin Alvin 2019 年 11 月 28 日
hey KSSV, please help me again
To improve the significance of the data, a comprehensive evaluation parameter was set in the experiment so that the average values of different sets of test data could be presented in a consistent manner:
1.PNG
where n is the sample size, Yi is the result of testing on a certain sample, and Y is the average value.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by