Linear Spatial Pyramid Matching Using Sparse Coding for Image Classification