Search code examples
c#image-processingemgucv

Measuring Entropy of an image


I have noticed in MatLab you can call a function to measure entropy of an image.

I am using Emgu/C# and I have been looking for a way to do the same with that framework.

Does anyone know how it can be done please?


Solution

  • Assuming you want Shannon Entropy for an arbitrary file, there's no built in function for this in C# (or Emgu to my knowledge).

    But it's not hard to find some simple implementations online, such as this one.