DICTOL_python
DICTOL_python copied to clipboard
Calculation problem in update process of atoms in FDDL
I found the calculation in function optimize.ODL_updateD may be wrong:
a = 1.0/F[i, i] * (E[:, i] - D.dot(F[:, i])) + D[:, i].
I thought it should be 'a = 1.0/F[i, i] * D[:, i] + (E[:, i] - D.dot(F[:, i]))'.
The original equation in paper "Metaface learning for sparse representation based face recognition" is:
$$ Y=X-\sum_{l\neq j}d_l\beta_l=X-\Gamma\centerdot\Lambda+d_j\beta_j $$