A Method for Accelerating the Loading of TIFF Files Based on Memory-Mapped File Technology

Authors

  • Hang Lv
  • Longlong Zhang
  • Qiusheng Cao

DOI:

https://doi.org/10.54097/zc8ve311

Keywords:

TIFF File, LibTIFF, TinyTIFF, Memory-Mapped File

Abstract

TIFF (Tagged Image File Format) is of vital importance in fields such as aerial remote sensing and computer vision. To address the challenge of real-time loading of large, multi-frame TIFF files, this study proposes FastTIFF, an acceleration method based on memory-mapped files and multi-threading technology in Ubuntu. FastTIFF provides access to each frame's image and its description information for other programs by using address pointers for each frame. Experiments show that, compared with LibTIFF, FastTIFF achieves a maximum loading speed improvement of 94.68%, with significant performance in handling large files. Even in the smallest file test, the speed only decreased by 7.26%, demonstrating its robustness in processing small-scale files. This method effectively meets the real-time requirements of image recognition software.

Downloads

Download data is not yet available.

References

[1] May P, Davies K. Practical Analysis of TIFF File Size Reductions Achievable Through Compression[C]//iPRES. 2016.

[2] Fu Xichun,Li Kechen, Dong Yi, et al. Multiple image format file generation methods of VSP interpretation results [J]. Information Systems Engineering,2021, (02):151-152. (in Chinese).

[3] Hei Se Tang Zha. (2021). TIFF Image File Format Analysis. CSDN. https://blog.csdn.net/ weixin_ 45847421/ article/ details/ 115189496.

[4] Liu Honghao, Ma Xibao, Zhang Yuanyuan, et al. Research on Tiff image Digitization File [J]. Automation Technology and Application, 2014,33(04):20-24. (in Chinese).

[5] vstion. (2013). TIFF Image File Format Explained. CNBlogs. https://www.cnblogs.com/gywei/p/3393816.html.

[6] YAN Tao, Yu Xi, Liu Yonghong, et al. Design and implementation of efficient memory pool based on C++ [J]. Journal of Chengdu Univer- sity (Natural Science Edition), 2017, 36 (03): 25 7-261. (in Chinese).

[7] Zhao Changyu, Wang Xilong. Embedded software memory management method research [J]. Science and technology and innovation, 2024, (16): 129-131. The DOI: 10.15913 / j.carol carroll nki kjycx. 2024.16.036.

[8] Huang Xiangping, Peng Mingtian, Yang Yongkai. Application of Electronic Technique, 2019,46(07):113-117+126. (in Chinese) DOI: 10.16157/ j. issn.0258-7998.191043.

[9] Yang Ningxue, Zhu Changqian, Nie Aili. Application Research of Computers,2004, (08):187-188. Memory mapped file and its application to fast access of large data files [J].

Downloads

Published

27-02-2025

Issue

Section

Articles

How to Cite

Lv, H., Zhang, L., & Cao, Q. (2025). A Method for Accelerating the Loading of TIFF Files Based on Memory-Mapped File Technology. Frontiers in Computing and Intelligent Systems, 11(2), 100-105. https://doi.org/10.54097/zc8ve311