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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top