The function `CalcImgEntropy()` calculates the entropy of the colors of a `UINT8` image with single or multiple (Up to 8) channels.
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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:
- Calculation per Channel: It averages the entropy calculated on each channel seperatly.
- 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.
The function was created as an answer to the question StackExchnage - Signal Processing - What Measure to Compare the Color Depth (Distribution of Colors) of Images.
Zitieren als
Royi Avital (2026). Calculate Image Entropy (https://de.mathworks.com/matlabcentral/fileexchange/118893-calculate-image-entropy), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.0 (2,27 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit R2022b und späteren Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0 |
