ent(varargin)

版本 2.0.0.0 (2.1 KB) 作者: ja
Built for 'highest possible' speed. Can handle any number of dimensions, given sufficient memory.
2.0K 次下载
更新时间 2018/3/1

查看许可证

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.

引用格式

ja (2024). ent(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/41714-ent-varargin), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
2.0.0.0

Cleaned some comments.
changed version and cleaned description

1.9.0.0

Now computes joint metrics for a variable number of input images.
Found that using array multiplication instead of meshgrid indexing increased the MI calculation slightly.
included link to notsum function

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
included 'example data' in the comments
added a variable for slightly higher indexing speed

1.3.0.0

Now returns joint histogram and joint entropy by default (can be changed easily by user).
Changed the 'find' function to logical indexing for increased speed.
Removed the dimensional dependencies, so it now works for any image dimensions.

1.0.0.0