Image Block Compression Based on Dual-Learning Dictionaries