How to code this avarage gradient equation in matlab?
조회 수: 5 (최근 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에서 Encryption / Cryptography에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!