- Input: Measurement matrix Φ, measurement vector y, sparsity level S, and intensity cluster number K. |
---|
- Output: S-sparse approximation of target image x. |
- Initialization: , r= y and i = 1. |
While halting criterion = true |
1 z ← Φ*r{Compute the proxy of residual} |
2 Ω ← supp(z2K) {Identify the largest 2K components of the proxy} |
3 {Merge supports} |
4 and {Estimate the image by least-squares solution} |
5 {Prune to obtain the image approximation for the next iteration or output} |
While |
6 For each n = 1, 2,..., N, {Assign intensity values of each pixel to the closest intensity cluster} |
|
7 For each . {Obtain the K cluster centres} |
End |
8 For n = 1, 2,..., N, if r nk = 1, then {Optimize the estimated image with K-cluster intensities} |
9 {Update the measurement residual for the next iteration} |
10 i = i + 1 {Update the iteration number} |
End |
return |