can you help to know how to find the energy of the image?..i want to know how to implement the below equation .?where G(x,y) is the image function
조회 수: 1 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156143/image.jpeg)
댓글 수: 1
Image Analyst
2014년 2월 4일
편집: Image Analyst
2014년 2월 4일
What do m and n represent? Why the || around G? Is it complex or does it have negative values?
채택된 답변
Walter Roberson
2014년 2월 4일
maxval = -inf;
for m = 1 : whatever
for n = 1 : whatever
thisval = G(m,n,x,y);
if thisval > maxval; maxval = thisval; end
end
end
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!