Michał Radziszewski, Witold Alda


In the paper we present a method of direct access to single blocks of JPEG files whichcontain textures, with on-the-fly decompression. Anisotropic, adaptive filtering is applied inorder to minimize visual defects appearing mainly on blocks borders. Main purpose of themethod is to enable fast extraction of only these parts of an entire image which are currentlyneeded and not to keep whole decompressed texture in the main memory. This approachenables effective usage of high quality textures with low memory consumption. It’s benefitsare mainly demonstrated in rendering complex 3D scenes using nondeterministic ray-tracingalgorithm. The algorithms have been encapsulated into DLL and static library.


JPEG; adaptive filtering; textures; 3D scenes

Full Text:



Information Technology – Digital Compression and Coding of Continuous-Tone Still Images – Requirements and Guidelines. Recommendation T. 81. International Telecommunication Union, September 1992

Lane T. G.: Independent JPEG Group software. From: www.ijg.org

Beers A.C., Agrawala M., Chaddha N.: Rendering from Compressed Textures. [in:] Computer Graphics (SIGGRAPH ’96 Proceedings), vol. 30, pp. 373–378, August 1996

Loeffler C., Ligtenberg A., Moschytz G. S.: Practical Fast 1-D DCT Algorithms with 11 Multiplications. [in:] Proc. Int. Conf. on Acoustical and Speech, vol. 2, pp. 988–991, May 1989

Smith A. R.: A pixel is not a little square. Microsoft technical report, 1995

Mitchell D., Netravali A.: Reconstruction Filters in Computer Graphics. [in:] Computer Graphics (SIGGRAPH ’88 Proceedings), vol. 24, pp. 221–228, August 1988

Heckbert P.: Fundamentals of Texture Mapping and Image Warping. Master’s Thesis, University of California, Berkeley 1989

Stachera J., Nikiel S.: Fractal Image Compression for Effective Texture Mapping. WSCG ’04 Proceedings

van Varen J.: Real-Time DXT Compression. Id Software, inc. 2006

Adams M. D.: The JPEG-2000 Still Image Compression Standard. 2002

DOI: https://doi.org/10.7494/csci.2008.9.3.109


  • There are currently no refbacks.