Algorithm 1.
Tripled Dictionary Training
| 1: Input: Training patch sets , , and , and dictionary size P | |
| 2: | Initial: Initialize , and . |
| 3. | Repeat |
| 4: | For i = 1, 2, …, t (t is the number of tripled patches) do |
| 5: | Compute according to Eq. (12); |
| 6: | End |
| 7: | For i = t+1, t+2, …, NQ (Q can be replaced by MR, L or S) do |
| 8: | Compute according to Eq. (11); |
| 9: | End |
| 10: | Update DMR, DL, and DS, according to Eq. 13. |
| 11: | Until convergence |
| 12: | Output: Tripled dictionaries DMR, DL, and DS. |