Subspace Descriptor for Texture and its Applications