The input is a vector x, the output is an estimated threshold T, which groups x into two clusters using the basic global thresholding
procedures:
1)Randomly select an initial estimate threshold T.
2)Segment the signal using T, which will yield two groups, G1 consisting of all points with values<=T and G2 consisting of points with value>T.
3)Compute the average distance between points of G1 and T, and points of G2 and T.
4)Compute a new threshold value T=(M1+M2)/2
5)Repeat steps 2 through 4 until the change of T is smaller enough.
引用格式
Rongwen Lu (2026). basic global thresholding (https://ww2.mathworks.cn/matlabcentral/fileexchange/38390-basic-global-thresholding), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
