Sparse Reconstruction of Visual Appearance for Computer Graphics and Vision