thresholding the maximum entropy

版本 1.0.0.0 (1.5 KB) 作者: Fatma Gargouri
Maximum entropy thresholding is the maximization of information between object and background.
2.9K 次下载
更新时间 2012/2/20

查看许可证

Maximum entropy thresholding is based on the maximization of the information measure between object and background.

let C1 and C2 two classes for the object and the background respectively; the maximum entropy measure can be calculated :

hC1(t)= - sum (pi/pC1)*log(pi/pC1) for i<=t
hC2(t)= - sum (pi/pC2)*log(pi/pC2) for i>t

pC1=sum pi i<=t and pC2=sum pi i>t

pC1+pC2=1 because the histogram is normalized

pi estimate the probability of the gray-level value "i"
pi=ni/N
where ni is the occurrence of the gray level "i" in the image.
ni is the histogram h(i)

引用格式

Fatma Gargouri (2024). thresholding the maximum entropy (https://www.mathworks.com/matlabcentral/fileexchange/35158-thresholding-the-maximum-entropy), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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