|
Algorithm 1 On-line hyperspectral dictionary learning algorithm. |
|
Taking the HS reflectance of all pixels in the observed LR-HS image as the HS sample set , initialize dictionary set as , and set the correlation similarity threshold ; |
| 1. Randomly select an HS reflectance as temporary set from , and update by removing ; |
| 2. Calculate the normalized correlation coefficients between and any sample in : |
|
|
| If , we take from into
. |
| 3. Repeat the same process for all samples in
|
| 4. Calculate the mean vector in as the HS basis ; put it into the dictionary
; and re-set as . |
| 6. If is , finish; otherwise go to Step 1. |