Calculate Image Entropy

Version 1.0.0 (2,27 KB) von Royi Avital
The function `CalcImgEntropy()` calculates the entropy of the colors of a `UINT8` image with single or multiple (Up to 8) channels.
19 Downloads
Aktualisiert 11. Okt 2022

Lizenz anzeigen

The function CalcImgEntropy() calculates the entropy of the colors of a `UINT8` image with single or multiple (Up to 8) channels.
It supports 2 modes:
  1. Calculation per Channel: It averages the entropy calculated on each channel seperatly.
  2. Calculation per Image (Vector): Concatentae each pixel to have a single value representation.
The current implementation uses the arguments block both for the input and the output. Hence it requires MATLAB R2022b. In case you have an earlier version one might remove those blocks and the code should be compatible with earlier versions.

Zitieren als

Royi Avital (2024). Calculate Image Entropy (https://www.mathworks.com/matlabcentral/fileexchange/118893-calculate-image-entropy), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2022b
Kompatibel mit R2022b und späteren Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0