Alternating proximal regularized dictionary learning.