This is a Python implementation of the Wavelet Scalar Quantization algorithm (WSQ).
It handles encoding/decoding from/to all major image standards such as PNG, JPEG, TIP, BMP, etc . . .
Encoding:
python3 encoder.py [-d] <input> <output>
Decoding:
python3 decoder.py [-d] <input> <output>
The option [-d] will print detailed informations during the entire encoding/decoding process
Examples:
python3 encoder.py "fingerprint.png" "compressed_fingerprint.wsq"
python3 decoder.py -d "compressed_fingerprint.wsq" "decoded_fingeerprint.png"
The NIST image dataset useful for testing the WSQ specification can be found here.