Learning Scale and Shift-Invariant Dictionary for Sparse Representation