A novel block truncation coding of color images using a quaternion-moment-preserving principle
Block truncation coding (BTC) is an efficient tool for image compression. To compress color-pixel blocks, a novel color BTC algorithm, called quaternion-moment block truncation coding (QMBTC), is presented. Analytical formulas for QMBTC, whose computation time is on the order of pixel block size, are derived by using quaternion arithmetic and the moment-preserving principle. The proposed color BTC algorithm can adaptively truncate a pixel block into one or two output classes according to the distribution of the color values inside the blocks. The experimental results show that the compression ratio is increased as compared with existing color BTC algorithms, and the picture quality of the reconstructed images is satisfactory. In addition, a post-BTC data compression scheme is proposed to further compress the subimage constructed by reproduction colors of truncated pixel blocks. Using a lookup table to display decoded data, this postprocessing scheme can output images acceptable to human eyes.