Local Adaptive Thresholding

版本 1.0.0.0 (144.4 KB) 作者: Guanglei Xiong
Threshold with local statistics, such as mean or median.
31.8K 次下载
更新时间 2016/3/31

查看许可证

ADAPTIVETHRESHOLD An adaptive thresholding algorithm that seperates the foreground from the background with nonuniform illumination.
bw=adaptivethreshold(IM,ws,C) outputs a binary image bw with the local threshold mean-C or median-C to the image IM.
ws is the local window size.

tm is 0 or 1, a switch between mean and median. tm=0 mean(default); tm=1 median.

Contributed by Guanglei Xiong (xgl99@mails.tsinghua.edu.cn) at Tsinghua University, Beijing, China.

For more information, please see
http://homepages.inf.ed.ac.uk/rbf/HIPR2/adpthrsh.htm

引用格式

Guanglei Xiong (2024). Local Adaptive Thresholding (https://www.mathworks.com/matlabcentral/fileexchange/8647-local-adaptive-thresholding), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP2
兼容任何版本
平台兼容性
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

BSD
Thanks, Alan Zhang! I follow your advice.