Skip to main content
. 2022 Feb 11;8(2):43. doi: 10.3390/jimaging8020043
Algorithm 2 Multiple Input-Parallel Processing
  1. Read input image I(x, y)

  2. Compute the histogram h(s), s = 0, …., 255 for I(x, y)

  3. for t = 1: 255 do

  4. ij (see Figure 3)

  5. Compute MCET’s objective function n(t) in Equation (4) base on the following inputs:
    • Compute μ1(t) and μ2(t) using the heterogeneous inputs 1, 2, 3 … 32 (see Table 2)
  6. Compute t1*, t2*, … t32* that minimize n(t) for each heterogeneous inputs.

  7. End for.

  8. Compute the average sum of the performance measure for each t*.

  9. Find the best t* which maximize the performance measure.

  10. Return the best t*

  11. Output image g(x, y).