Dimensionality Reduction and Sparse Representations in Computer Vision