Perbandingan Kinerja Algoritma Huffman dan Algoritma Shannon-Fano Dalam Mengkomperesi File Citra

  • Krisna Widatama Universitas Muhammadiyah Purworejo
  • Wahju Tjahjo Saputro Universitas Muhammadiyah Purworejo
Keywords: Compression, Image, Huffman, Shannon-Fano

Abstract

Stored data is increasing in volume. Various data compression algorithms have been researched and developed. The purpose of this study was to compare the performance of the Huffman Algorithm and the Shannon-Fano Algorithm. A comparison of the performance of the compression algorithm is done by testing each image file. The application used to test was built using C ++. Four image file types will be tested using the application that has been built. The file being tested considers the image file type as a compression object. The current image file tends to increase in terms of file size. The results of testing the four image files obtained contain many symbols and frequencies in determining the value of data entropy. The same file tested using the Huffman Algorithm produces better compression gain. The Fish.bmp file uses the Huffman 2.0% algorithm and uses the Shannon-Fano algorithm 1.7%. The greater the entropy, the smaller the gain obtained. For example, the white.bmp file entropy: 0.19693 using the Huffman Algorithm can gain 85.2%. entropy Fish.bmp file 6.87332 can get a 2.0% gain.

Author Biographies

Krisna Widatama, Universitas Muhammadiyah Purworejo

Academic profile: Sinta | Scholar

Wahju Tjahjo Saputro, Universitas Muhammadiyah Purworejo

Academic profile: Orcid ID | Sinta | Scholar

References

Kadir, A. (1995). Pemrograman C++. Yogyakarta, DIY, Indonesia: Andi Publisher.

Kurniawati, D. (2000). Perbandingan Kinerja Algoritma Kompresi Data Metode Huffman dan Metode Sliding-Window. Teknik Informatika. Yogyakarta: STMIK AKAKOM.

Shanmugam, S. K. (1979). Digital and Analog Communications System. Hoboken, New Jersey, Amerika: John Wiley and Sons, Inc.

Simon, H. (1994). An Introduction to Analog and Digital Communication. Hoboken, New Jersey, Amarika: John Wiley Inc.

Umar, R. (2003, Desember). Unjuk Kerja Algoritma LZW Untuk Kompresi Berkas Teks. Telkomnika, 1(1), 7-14.

Weiskamp, K. (1997). Borland C++ 4.0 Premier (Indonesia ed., Vol. Cetakan Kedua). Jakarta, DKI, Indonesia: Dinastindo.

Published
2019-11-25
How to Cite
Widatama, K., & Saputro, W. T. (2019). Perbandingan Kinerja Algoritma Huffman dan Algoritma Shannon-Fano Dalam Mengkomperesi File Citra. INTEK : Jurnal Informatika Dan Teknologi Informasi, 2(2), 70-77. https://doi.org/10.37729/intek.v2i2.161
Section
Articles

Most read articles by the same author(s)

1 2 3 > >>