Fingerprint compression based on sparse Representation