Calculate Image Entropy

The function `CalcImgEntropy()` calculates the entropy of the colors of a `UINT8` image with single or multiple (Up to 8) channels.

https://github.com/RoyiAvital/StackExchangeCodes

Vous suivez désormais cette soumission

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.

Citation pour cette source

Royi Avital (2026). Calculate Image Entropy (https://fr.mathworks.com/matlabcentral/fileexchange/118893-calculate-image-entropy), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec les versions R2022b et ultérieures

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0