How to make equation in matlab algorithm?

조회 수: 6 (최근 30일)
Afiqah Abu Samah
Afiqah Abu Samah 2017년 3월 23일
댓글: Afiqah Abu Samah 2017년 3월 23일
How do I transform this equation into matlab algoritm?
eqn: where M and N are the dimensions of the image, and X is the intensity of the pixel located at row i and column j in the image map.

답변 (1개)

Jan
Jan 2017년 3월 23일
E = sum(X(:)) / numel(X);
or
E = mean(X(:))
  댓글 수: 1
Afiqah Abu Samah
Afiqah Abu Samah 2017년 3월 23일
Thanks for answering my ques. the above equation is for wavelet energy. Why can't I get the same answer when I used wenergy2 function and when I used the code you wrote above?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by