Clear Filters
Clear Filters

What is the difference between energy and entropy of a 2D image?

2 views (last 30 days)
what are the formulae for entropy and energy. and how to find them for a given 2D image using MATLAB??

Answers (1)

Image Analyst
Image Analyst on 25 Feb 2016
Stalin answered this in your duplicate question by giving you a link to my answer to another poster.
In short, you can get the energy in uncalibrated units by summing the image, and you can get the entropy by using the entropy() function.
  1 Comment
abhilasha malhotra
abhilasha malhotra on 26 Feb 2016
yes but sum(I) is returning a large array of values. i want to calculate the energy of the image as a whole. [ 'I' is the grayscale image used]

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!