Negentropy?

조회 수: 1 (최근 30일)
DIlshan Godaliyadda
DIlshan Godaliyadda 2012년 3월 14일
Would anyone happen to have a Matlab/C Script to calculate Negentropy of an image?
Thank you!

답변 (2개)

David Young
David Young 2012년 3월 14일
ne = 0.5*log(2*pi*exp(1)*var(Image(:))) - entropy(Image)
- though you might need to worry about the image mean. The formula above is based on the Wikipedia articles on negentropy and the Normal distribution, but if the image mean is non-zero it doesn't seem to work. Perhaps someone else can comment and shed more light on this.

Aaditya Kalsi
Aaditya Kalsi 2012년 4월 1일
I think:
Image = Image - mean(Image(:));
should fix it.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by