https://123dok.net/document/yevekprz-shift-2d-rotation-invariant-sparse-coding-for-multivariate-signals.html