Skip to main content
. 2022 Aug 29;24(9):1204. doi: 10.3390/e24091204
Algorithm 1. Parallel Processing
1. Input image f(𝑥, 𝑦)
2. Compute the histogram h(i), i = 0, …., 255 for f(𝑥, 𝑦)
3. Parfor t = 0: 255 do
4. Compute μo Log(t) using Equation (20)
5. Compute μb Log(t) using Equation (21)
6. Compute μT Log(t) using Equation (22)
7. Compute σLognormal2t using Equation (23).
8. Compute the original and the modified σOtsu2t based on their distributions.
9. Find the optimal t* which maximizes each of σLognormal2t and the relevant σOtsu2t
10. End for.
11. Compute the average sum of the performance measure for each t*.
12. Find the best t* which maximizes the performance measure.
13. Return the best t*
14. Output image g(𝑥, 𝑦).