Algorithm.
Input: Z={Z1,…,Zn},n≥1. |
Output:ε. |
Auxiliary Data Structures: Index k,j,α; Image ensemble ε0. |
begin |
0. forj=1 to ndo |
1. k=|Zj|; |
2. ifk>1 then |
3. Obtain ensemble ε0=MACMIreg(Zj); |
4. Update Zj⇐ε0; |
5. endif; |
6. endfor; |
7. Initialize ε as an empty ensemble; |
8. ε←[Z1,…,Zk],k=∥Z1∥; |
9. α=k+1; |
10. forj=2 to ndo |
11. k=∥Zj∥; |
12. ε0=[Zα,…,Zα+k]; |
13. Obtain ; |
14. Obtain ; |
15. ; |
16. α=α+k+1; |
17. endfor; |
end |