سؤال

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