hacarus / spm-image

Sparse modeling and Compressive sensing in Python
105 stars 29 forks source link

dictionary should be normalized in _ksvd in #72

Closed sutkss closed 4 years ago

sutkss commented 5 years ago

Issue Description

In sparse coding step in ksvd algorithm, current dictionary must be normalized. However, it is not guaranteed at initial dictionary. I think we need to put normalize function after initialization of dictionary of _ksvd() in decomposition/ksvd.py.