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 view (last 30 days)
Show older comments
1 Comment
Image Analyst
on 4 Feb 2014
Edited: Image Analyst
on 4 Feb 2014
What do m and n represent? Why the || around G? Is it complex or does it have negative values?
Accepted Answer
Walter Roberson
on 4 Feb 2014
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!