Perbandingan Kinerja Algoritma Huffman dan Algoritma Shannon-Fano Dalam Mengkomperesi File Citra
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.
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.
Copyright (c) 2019 Jurnal INTEK Program Studi Teknologi Informasi
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.