**Output:**

Frame **Φ**, **Ψ**, Sparse coefficients **Y**, and thresholding values *λ*

**For** l=1:*num*

**Sparse Coding Step:**

1: Compute the sparse coefficients **Y** and the thresholding values *λ* via Algorithm 1.
