Experimental results and discussion

This section compares binary tree predictive coding with JPEG and GIF for lossy and lossless coding of several test images. The test set includes monochrome and color, photographic, graphic and mixed images of various sizes.

Results for the test images are given on the pages listed below. Each page includes

The JPEG coder [14] rescales its outputs to the range [0,255], so to ensure a fair comparison, all images were first scaled to this range. As mentioned earlier, both JPEG and BTPC used Huffman rather than arithmetic coding.

Monochrome photographic

Monochrome Lenna 256 x 256
Monochrome Lenna 512 x 512
Monochrome Gold Hill 256 x 256
Monochrome Gold Hill 512 x 512
Monochrome Barbara 256 x 256
Monochrome Barbara 512 x 512
Monochrome Cameraman 256 x 256

Monochrome other continuous image types

Monochrome Magnetic Resonance Image 256 x 256
Monochrome Synthetic Aperture Radar 512 x 512

Monochrome text and graphics

Monochrome Quick Brown Fox Text 256 x 256
Monochrome World Map Graphic 372 x 619
Monochrome France Presentation Graphic 496 x 672

Monochrome multimedia

Monochrome Library Multimedia 352 x 464

Color photographic

Color Lenna 512 x 512
Color Baboon 512 x 512
Color Portraits 2048 x 2048

Color text and graphics

Color CSC Graphic 500 x 400

Color multimedia

Color X desktop multimedia 2048 x 2048

Lossless Compression


Overall, BTPC achieves a significantly lower lossless compression rate than GIF for the photographic and mixed images, and a higher rate for the graphical images.

Lossy Compression

On average, BTPC's performance on photographic images is close to JPEG's. At the usual JPEG default quality of 75 the only images for which BTPC is inferior are the 512 x 512 monochrome Barbara, and the magnetic resonance image. The first of these has large areas of regular spatial frequencies which JPEG's transform coder can exploit. The second is very well recovered by both coders and the difference is marginal. On some images (e.g. Cameraman), BTPC's superiority is substantial.

For the graphical and mixed images BTPC consistently outperforms JPEG. Even in the Library image, which has the most photographic content, the improvement is more than 1 bpp at 36dB. Lossy coding with BTPC degrades graphics, but in a monotonic and consistent way, and coding at the rate achieved by GIF usually results in invisible degradations.

Next (Current and future work) | Previous (Implementation) | Top (BTPC)