Browse > Article
http://dx.doi.org/10.15701/kcgs.2022.28.2.21

ASTC Block-Size Determination Method based on PSNR Values  

Nah, Jae-Ho (Sangmyung University)
Abstract
ASTC is one of the standard texture formats supported in OpenGL ES 3.2 and Vulkan 1.0 (and later versions), and it has been increasingly used on mobile platforms (Android and iOS). ASTC's most important feature is the block size configuration, thereby providing a trade-off between compression quality and rates. With the higher number of textures, however, it is difficult to manually determine the optimal block sizes of each texture. To solve the problem, we present a new approach based on PSNR values to automatically determine the ASTC block size. A brute-force approach, which compresses a texture on all block sizes and compares the PSNR values of the compressed textures, can increase the compression time by up to 14 times. In contrast, our three-step approach minimizes the compression-time overhead. According to our experiments on a texture set including 64 various textures, our method determined the block sizes from 4×4 to 12×12 and reduced the size of compressed files by 68%.
Keywords
Texture compression; Texture encoding; ASTC; GPU;
Citations & Related Records
연도 인용수 순위
  • Reference
1 G. Lavoue, M. Langer, A. Peytavie, and P. Poulin, "A psychophysical evaluation of texture compression masking effects," IEEE Transactions on Visualization and Computer Graphics, vol. 25, no. 2, pp. 1336-1346, 2019.   DOI
2 Unity Technologies. (2022) Unity user manual (2022.1) - recommended, default, and supported texture compression formats, by platform. [Online]. Available: https://docs.unity3d.com/2022.1/Documentation/Manual/class-TextureImporterOverride.html
3 T. Paltashev and I. Perminov, "Texture compression techniques," Scientific Visualization, vol. 6, no. 1, pp. 106-146, 2014.
4 Microsoft. (2018) Texture block compression in Direct3D 11. [Online]. Available: https://docs.microsoft.com/en-us/windows/win32/direct3d11/texture-block-compression-in-direct3d-11
5 J. Strom and M. Pettersson, "ETC 2: texture compression using invalid combinations," in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics Hardware, 2007, pp. 49-54.
6 D. Chait. (2015) Using ASTC texture compression for game assets. [Online]. Available: https://developer.nvidia.com/astc-texture-compression-for-game-assets
7 J.-H. Nah, "QuickETC2: How to finish ETC2 compression within 1 ms," in ACM SIGGRAPH 2020 Talks, 2020.
8 Google Developers. (2021) About android app bundles. [Online]. Available: https://developer.android.com/guide/app-bundle
9 Arm Limited. (2022) astc-encoder. [Online]. Available: https://github.com/ARM-software/astc-encoder/
10 NVIDIA. (2021) NVIDIA texture tools 3. [Online]. Available: https://developer.nvidia.com/gpu-accelerated-texture-compression
11 D. Oom, "Real-time adaptive scalable texture compression for the web," Master's thesis, Chalmers University of Technology., 2016.
12 W. Griffin and M. Olano, "Evaluating texture compression masking effects using objective image quality assessment metrics," IEEE Transactions on Visualization and Computer Graphics, vol. 21, no. 8, pp. 970-979, 2015.   DOI
13 J. Nystad, A. Lassen, A. Pomianowski, S. Ellis, and T. Olson, "Adaptive scalable texture compression," in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on High-Performance Graphics (HPG), 2012, pp. 105-114.
14 M. Callow. (2021) KTX file format specification - version 2.0. [Online]. Available: https://www.khronos.org/registry/KTX/specs/2.0/ktxspec v2.html
15 D. Bull and F. Zhang, Intelligent image and video compression: communicating pictures, 2nd ed. Elsevier, 2021.
16 P. Krajcevski and D. Manocha, "Fast PVRTC texture compression using intensity dilation," Journal of Computer Graphics Techniques, vol. 3, no. 4, pp. 132-145, 2014.
17 Arm Limited. (2020) Adaptive scalable texture compression-son user guide issue 02 - using ASTC for game assets. [Online]. Available: https://developer.arm.com/documentation/102162/0002/Using-ASTC-for-game-assets
18 P. Andersson, J. Nilsson, T. Akenine-Moller, M. Oskarsson, and K. Astromand Mark D. Fairchild, " FLIP: A difference evaluator for alternating images," Proceedings of the ACM on Computer Graphics and Interactive Techniques (HPG 2020), vol. 3, no. 2, 2020.
19 J. Strom and T. Akenine-Moller, "iPACKMAN: High-quality, low-complexity texture compression for mobile phones," in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics Hardware, 2005, pp. 63-70.
20 S. Fenney, "Texture compression using low-frequency signal modulation," in Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics Hardware, 2003, pp. 84-91.
21 J.-H. Nah, "QuickETC2: Fast ETC2 texture compression using luma differences," ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH Asia 2020), vol. 39, no. 6, 2020.
22 Intel Corp., "Fast ISPC texture compressor," 2021. [Online]. Available: https://github.com/GameTechDev/ISPCTextureCompressor
23 Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, "Image quality assessment: from error visibility to structural similarity," IEEE Transactions on Image Processing, vol. 13, no. 4, pp. 600-612, 2004.   DOI
24 S. Pratapa, T. Olson, A. Chalfin, and D. Manocha, "TexNN: Fast texture encoding using neural networks," Computer Graphics Forum, vol. 38, no. 1, pp. 328-339, 2019.   DOI
25 Binomial LLC. (2022) Basis Universal Supercompressed GPU Texture Codec. [Online]. Available: https://github.com/BinomialLLC/basis universal