ent(varargin)
Uses notsum written here: https://www.mathworks.com/matlabcentral/fileexchange/66242-notsum-a-dim-
This uses no for loops for its computations - only index manipulation. For loops are only employed to accommodate for multiple images, but there is only one iteration per image (as opposed to per pixel per image). Built for highest possible speed.
There is no error checking, but if there were it would be to check that all input images are of the same dimensions and all images have real, non-decimal pixel values ranging from 0 - 255.
Cite As
ja (2024). ent(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/41714-ent-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
2.0.0.0 | Cleaned some comments.
|
||
1.9.0.0 | Now computes joint metrics for a variable number of input images.
|
||
1.8.0.0 | fixed a silly mistake that needlessly increased the MI calculation time by about 10% |
||
1.7.0.0 | condensed the comments in the code to only what is necessary to modify the function.. |
||
1.6.0.0 | Now also returns mutual information. |
||
1.4.0.0 | updated description
|
||
1.3.0.0 | Now returns joint histogram and joint entropy by default (can be changed easily by user).
|
||
1.0.0.0 |