Accelerate Literature Icon
Want to do a literature review? Try our new Literature Review workflow

Analisis Perbandingan Kompresi Citra Menggunakan Algoritma Run Length Encoding dan Algoritma Fixed Length Binary Encoding

  • TL;DR
  • Abstract
  • Literature Map
  • Similar Papers
TL;DR

This study compares the performance of run length encoding and fixed length binary encoding algorithms for image compression using six grayscale images. Results show that fixed length binary encoding achieves a higher compression ratio (73.248%) but requires significantly more compression time (3258ms) than run length encoding, which has a compression ratio of 96.266% and faster compression (399ms), indicating that run length encoding offers better efficiency for image compression in this context.

Abstract
Translate article icon Translate Article Star icon

Technology is developing very quickly and will continue to increase, so it plays an important role in the process of sending information or data from one device to another. The speed of transmission depends on the size of the data to be sent. Data with a larger size requires a longer delivery time. The amount of storage space required increases as more files are stored. This has led to the development of file shrinking techniques, also known as data compression techniques, with the aim of minimizing the loss of data quality after transmission and reducing the amount of storage space required. Compression techniques have several algorithms that can be used to reduce file size. As in this research, the compression process is done with the run length encoding algorithm and the fixed length binary encoding algorithm. Both algorithms have different compression results, so it is necessary to make a comparison. To make the comparison, 6 grayscale image files with *.jpg extension are used with different resolutions and compare their performance according to predetermined parameters. The compression comparison results of one image data resolution of 300 x 300 in the Run Length Encoding algorithm has a Ratio of Compression (RC) 1.038792, Compression Ratio (CR) 96.266%, Redundancy (Rd) 3.734%, Compression time 399ms, and Decompression time 297ms. While the Fixed Length Binary Encoding algorithm has a Ratio of Compression (RC) of 1.37, Compression Ratio (CR) of 73.248%, Redundancy (Rd) of 26.752%, Compression time of 3258ms, and Decompression time of 1047ms. So from these results it can be said that the better performance in compressing images is the Fixed Length Binary Encoding algorithm compared to Run Length Encoding.

Similar Papers
  • Conference Article
  • Cite Count Icon 21
  • 10.1109/gcat47503.2019.8978464
Image Compression using Run Length Encoding and its Optimisation
  • Oct 1, 2019
  • Amit Birajdar + 3 more

Images are among the most common and popular representations of data. Digital images are used for professional and personal use ranging from official documents to social media. Thus, any Organization or individual needs to store and share a large number of images. One of the most common issues associated with using images is the potentially large file-size of the image. Advancements in image acquisition technology and an increase in the popularity of digital content means that images now have very high resolutions and high quality, inevitably leading to an increase in size. Image compression has become one of the most important parts of image processing these days due to this. The goal is to achieve the least size possible for an image while not compromising on the quality of the image, that gives us the perfect balance. Therefore, to achieve this perfect balance many compression techniques have been devised and it is not possible to pinpoint the best one because it is really dependent on the type of image to be compressed. So here we are going to elaborate on converting images into binary images and the Run length Encoding (RLE) algorithm used for compressing binary images. Now, RLE is itself a very effective and simple approach for compression of images but, sometimes, the size of an image actually increases after RLE algorithm is applied to the image and this is one of the major drawbacks of RLE. In this research paper we are going to propose an extension or maybe an upgradation to RLE method which will ensure that the size of an image never exceeds beyond its original size, even in the worst possible scenario.

  • Research Article
  • Cite Count Icon 3
  • 10.1088/1742-6596/1830/1/012022
Text File Compression Using Hybrid Run Length Encoding (Rle) Algorithm With Even Rodeh Code (Erc) And Variable Length Binary Encoding (Vlbe) To Save Storage Space
  • Apr 1, 2021
  • Journal of Physics: Conference Series
  • S M Hardi + 4 more

The increase of data usage causes problems in data storage, indirectly making the need for data storage also to increase. One alternative solution that can be done is to compress the file so that the file becomes smaller in size so it saves storage space. The algorithm used in this research is the Run Length Encoding algorithm, the Even Rodeh Code algorithm, and the Variable Length Binary Encoding algorithm which are the types of lossless compression. The algorithm will calculate its performance based on Compression Ratio, Ratio of Compression, Redundancy, Compression Time, and Decompression Time. The file that will be used in the data compression process is the file extension *.txt. This study used homogeneous strings (strings that have the same character) and heterogeneous strings (strings that have different characters) in testing the algorithm. In the compression process with a homogeneous string, the combination of the Run Length Encoding algorithm with the Variable Length Binary Encoding algorithm is better than the combination of the Run Length Encoding algorithm and the Even Rodeh Code algorithm with a Compression Ratio of 18.84% and a decompression time of 0.01295 ms. While the compression process on heterogeneous strings from the combination of the Run Length Encoding algorithm with the Even Rodeh Code algorithm is better than the combination of the Run Length Encoding algorithm with Variable Length Binary Encoding algorithms with Compression Ratio of an average of 52.45% and fewer decompression times of 4.93002 ms

  • Research Article
  • 10.15575/join.v8i1.1000
Run Length Encoding Compresion on Virtual Tour Campus to Enhance Load Access Performance
  • Jun 28, 2023
  • Jurnal Online Informatika
  • Ade Bastian + 3 more

Virtual tour is one of the rapidly growing applications of multimedia technology which is used for various purposes, including the dissemination of information in an interesting way. The education sector is also not spared from using virtual tour media for promotional purposes, and campuses are no exception to this rule. Large virtual tour content causes high access speed, ultimately reducing the level of comfort experienced by users. This study aims to compress panoramic images displayed on a campus virtual tour using a lossless compression method and the Run Length Encoding (RLE) algorithm. First, panoramic images are combined into one, then individual images are compressed. When recreating a virtual campus tour, compressed images are used so that the amount of data transferred is smaller. The load access speed index increases from 7,233 seconds to 3,789 seconds when images are compressed from 64 bits to 8 bits, with a compression percentage of 27%. The findings from this research are that the RLE algorithm has not been able to compress large files effectively even though it is quite successful in increasing the load access of the virtual tour website.

  • Research Article
  • Cite Count Icon 9
  • 10.1088/1742-6596/1235/1/012107
Comparative Analysis Run-Length Encoding Algorithm and Fibonacci Code Algorithm on Image Compression
  • Jun 1, 2019
  • Journal of Physics: Conference Series
  • S M Hardi + 4 more

Compression purpose to reduce the redundancy data as small as possible and speed up the data transmission process. To solve the size problem in saving data and transmission process, we use Run Length Encoding and Fibonacci Code algorithm to do compression process. Run Length Encoding and Fibonacci Code algorithm is a type of lossless data compression used in this research, which performance will be measured by comparison parameters of the Compression Ratio (CR), Redundancy (RD), Space Saving (SS) and Compression Time. The compression process is only done on image files with Bitmap format (*.bmp) and encode using Run Length Encoding or Fibonacci Code, then perform the compression process. The final result of the compression is file with extension *.rle or *.fib which contains compressed information that can be decompressed back. The output of the decompression result is an original image file that is stored with *.bmp extension. Fibonacci algorithm will give a better compressed size on image color, while in a grayscale image Run Length Encoding will give a better compressed size. Based on the results of research at two different types of images, each algorithm has its own advantages. Fibonacci Code algorithm is better for color image compression while Run-Length algorithm Encoding is better for grayscale image compression.

  • Research Article
  • Cite Count Icon 2
  • 10.46306/sm.v1i2.13
KOMPRESI DATA TEKS DENGAN METODE RUN LENGTH ENCODING
  • Dec 12, 2021
  • Jurnal Ilmiah Sistem Informasi
  • Umar Mansyuri

One method of using data compression is by using a method called Run Length Encoding (RLE), especially image data. The RLE method is one of the simplest lossless types of data compression schemes and is based on the simple principle of data encoding. The RLE method is very suitable for compressing data containing repetitive characters such as simple graphic images. The compressed data are 28 RGB (Red, Green, Blue) images and 28 grayscale images in jpg, png, bmp, and tiff formats, respectively. Image data is compressed with an encoder and decoder program using the RLE algorithm in the matlab application. The RLE method is said to be effective in compressing image data if the compression ratio is less than 100% because it has a lot of color repetition in the pixels. The RLE method is said to be ineffective if the compression ratio is more than 100% because it has a little repetition of colors in the pixels. Of the 28 RGB images tested, it was found that the RLE method was effective on 1 image and not effective on 27 images. For the 28 grayscale images tested, it was found that the RLE method was effective on 6 images and not effective on 22 images

  • Research Article
  • 10.1109/access.2026.3670693
Lossless Compression and Data Transformation Techniques on QR Code Binary Bit Stream
  • Jan 1, 2026
  • IEEE Access
  • Fatoumatta Conteh + 5 more

This paper presents a dataset-level evaluation of six lossless compression and data transformation techniques applied to visual-cryptographic (VC) shares derived from QR codes. We processed 40,000 QR samples, comprising 10,000 QR images (Versions 1-4, 2,500 per version), 10,000 QR images (Versions 1-10, 1,000 per version across ten application domains), and 20,000 augmented QR images (with noise, rotation, shear, cropping, and brightness variations). Each QR image is converted to VC share (share1), flattened to a bitstream, and evaluated under traditional compression techniques such as Run Length Encoding (RLE), Huffman Coding, Lempel Ziv-Welch (LZW), and data transformation techniques such as Binary-to-Integer, Base64 Encoding, and (BWT + MTF + Huffman Coding) Burrows Wheeler Transform (BWT), Move-To-Front (MTF), and Huffman Coding as a combined pipeline. Our experiments report Shannon entropy, compressed character count, compressed character count percentage, compression time, decompression time, memory usage, peak memory, lossless fidelity, metadata, payload size, storage size, and compression ratio. Empirical results show near-maximal entropy in QR-derived VC data (∼0.99), providing constraints on compression performance for traditional algorithms. Base64 consistently yields the best compression performance across both clean and augmented datasets, with an average compression rate of 499%. This work contributes a reproducible pipeline, a generalized dataset, and a benchmark reference for compression research on a highly randomized binary dataset.

  • Research Article
  • Cite Count Icon 9
  • 10.1002/dac.5572
A new lossless electroencephalogram compression technique for fog computing‐based IoHT networks
  • Jul 16, 2023
  • International Journal of Communication Systems
  • Ali Kadhum Idrees + 1 more

SummaryThe ability to design smarter, more predictive healthcare solutions for use in the community (at work and at home) and in healthcare facilities has been greatly enhanced by recent developments in the Internet of Health Things (IoHT) and cyber physical systems (CPS). These data collected by such medical sensors will be sent in a large quantity to the fog gateway of IoHT networks. These data should be forwarded to far cloud for further analysis and processing. Therefore, sending all of these data over the IoHT network to the data center will impose a significant burden on the IoHT network. This paper proposed a new lossless electroencephalogram (EEG) compression technique (NeLECoT) for fog computing‐based IoHT networks. It encodes the data of the patient at the fog gateway prior to sending it to the data center, thereby reducing the data's size. In the fog node, the NeLECoT combines three efficient techniques: clustering based on density‐based spatial clustering of applications with noise (DBSCAN), RLE (run length encoding), and Huffman encoding (HE). The clustering based on DBSCAN separates a massive volume of captured data into small groups of closely related (or similar) data. RLE encodes clustered EEG data, and the resulting file is encoded with HE. The fog gateway then transmits the encoded file to the cloud. Numerous simulation experiments were carried out, and the findings demonstrated that the suggested NeLECoT achieved better results than the competing techniques in terms of transmitted data size, compression ratio, compression power, compression time, decompression time, and average compression power.

  • Research Article
  • Cite Count Icon 1
  • 10.56726/irjmets41945
Efficient Data Compression Techniques for Big Data in Cloud Computing: A Comparative Study
  • Jun 12, 2023
  • International Research Journal of Modernization in Engineering Technology and Science
  • Tejashri Rajkumar Talekar

In recent years, the exponential growth of data has posed significant challenges in managing and processing large-scale datasets, commonly referred to as Big Data.Cloud computing has emerged as a promising platform for storing and analyzing Big Data due to its scalability and cost-effectiveness.However, the storage and transmission of enormous volumes of data in the cloud require efficient compression techniques to reduce storage space, minimize bandwidth consumption, and enhance data processing efficiency.This research paper investigates various data compression techniques specifically tailored for Big Data in cloud computing environments.The study evaluates the effectiveness and efficiency of different compression algorithms, considering factors such as compression ratio, compression time, decompression time, and computational overhead.The findings of this research provide valuable insights into selecting appropriate data compression techniques for optimizing storage and transmission of Big Data in cloud computing architectures. VIII. CONCLUSIONIn this paper, we have presented a comparative study of various data compression techniques for big data in cloud computing.We have shown that hybrid compression techniques, specifically the Burrows-Wheeler transform combined with RLE, provide the best balance between compression ratio, compression speed, and decompression speed while minimizing energy consumption and cost.This technique can be used for efficient data storage and transfer in cloud computing environments.

  • Research Article
  • Cite Count Icon 7
  • 10.1177/109434209801200402
Parallel Run Length Encoding Compression: Reducing I/o in dYnamic Environmental Simulations
  • Dec 1, 1998
  • The International Journal of High Performance Computing Applications
  • G Davis + 4 more

Dynamic simulations based on time-varying inputs are extremely I/O intensive. This is shown by industrial appli cations generating environmental projections based on seasonal-to-interannual climate forecasts that have a compute to data access ratio of O(n) leading to significant performance degradation. Exploitation of compression techniques such as run length encoding (RLE) signifi cantly reduces the I/O bottleneck and storage require ments. Unfortunately, traditional RLE algorithms do not perform well in a parallel vector platform such as the Cray architecture. This paper describes the design and imple mentation of a new RLE algorithm based on data chunking and packing that exploits the Cray gather-scatter vector hardware and multiple processors. This approach reduces I/O and file storage requirements on average by an order of magnitude. Data intensive applications such as the integration of environmental and global climate models now become practical in a realistic time frame.

  • PDF Download Icon
  • Research Article
  • Cite Count Icon 15
  • 10.3390/s22197685
Investigation of Energy Cost of Data Compression Algorithms in WSN for IoT Applications
  • Oct 10, 2022
  • Sensors (Basel, Switzerland)
  • Mukesh Mishra + 2 more

The exponential growth in remote sensing, coupled with advancements in integrated circuits (IC) design and fabrication technology for communication, has prompted the progress of Wireless Sensor Networks (WSN). WSN comprises of sensor nodes and hubs fit for detecting, processing, and communicating remotely. Sensor nodes have limited resources such as memory, energy and computation capabilities restricting their ability to process large volume of data that is generated. Compressing the data before transmission will help alleviate the problem. Many data compression methods have been proposed but mainly for image processing and a vast majority of them are not pertinent on sensor nodes because of memory impediment, energy utilization and handling speed. To overcome this issue, authors in this research have chosen Run Length Encoding (RLE) and Adaptive Huffman Encoding (AHE) data compression techniques as they can be executed on sensor nodes. Both RLE and AHE are capable of balancing compression ratio and energy utilization. In this paper, a hybrid method comprising RLE and AHE, named as H-RLEAHE, is proposed and further investigated for sensor nodes. In order to verify the efficacy of the data compression algorithms, simulations were run, and the results compared with the compression techniques employing RLE, AHE, H-RLEAHE, and without the use of any compression approach for five distinct scenarios. The results demonstrate the RLE’s efficiency, as it surpasses alternative data compression methods in terms of energy efficiency, network speed, packet delivery rate, and residual energy throughout all iterations.

  • Conference Article
  • Cite Count Icon 3
  • 10.1109/ivs.2009.5164482
Route memorization in real-time data processing using Run-Length Encoding
  • Jun 1, 2009
  • Feng Luo + 3 more

A real-time data processing algorithm based on run-length encoding (RLE) for an intelligent racing vehicle is introduced in this paper. In order to improve the achievement of the intelligent racing vehicle's running in the second loop by recoding route information, a new method based on RLE is provided by setting an optimal calculus threshold. Simulated by Matlab/Simulink, the route memorization algorithm shows the obvious advantage in the data compression, which makes the compression ratio up to 22.3. In the meantime, the calculus threshold can be constructed in a certain range, which qualifies the algorithm with a good robustness. Compared with the optimal results achieved by Matlab's genetic algorithm and direct search toolbox, the RLE algorithm can satisfy the requirements very well. When the embedded system has to face the flood for the data increasing geometrically, this high-quality real-time algorithm has been demonstrated with great practical potential.

  • Research Article
  • 10.1088/1742-6596/1997/1/012014
Lossless ECG Encoder with Multi-Channel Adaptive Fuzzy Predictor and Enhanced Entropy Encoding in Wireless Body Sensor Networks
  • Aug 1, 2021
  • Journal of Physics: Conference Series
  • Genesis Marr N Principe + 3 more

With the advancement of wireless technology, Wireless Body Sensor Networks, such as Electrocardiograms (ECGs) will serve as state-of-the-art method for electronic-healthcare systems and applications. Like other digital communications, however, ECGs highlight power consumption as the main design constraint and bottleneck as it affects device lifespan and data accuracy. Hence, power reduction and power management techniques and schemes have been developed to eliminate this constraint such as hardware optimization, source and channel coding, signal conditioning, and resolution control. This paper proposes a lossless ECG encoder that combines existing data compression techniques specifically the adaptive fuzzy predictor based on fuzzy decision making and an enhanced entropy encoding that utilizes algorithms in both run length encoding (RLE) and incremental prefix encoding. Simulation results that the proposed scheme outperforms the entropy encoding using Huffman, RLE, and predictive encoding schemes in compression ratio (CR), with the enhanced entropy encoding leading the pre-existing compression techniques by 24.0907 on RLE and 23.6580 on Huffman.

  • Book Chapter
  • Cite Count Icon 1
  • 10.1007/978-3-030-15887-3_23
Quantization Table Selection Using Firefly with Teaching and Learning Based Optimization Algorithm for Image Compression
  • Jan 1, 2019
  • D Preethi + 1 more

In the recent days, the importance of image compression techniques is exponentially increased due to the generation of massive amount of data which needs to be stored or transmitted. Numerous approaches have been presented for effective image compression by the principle of representing images in its compact form through the avoidance of unnecessary pixels. Vector quantization (VA) is an effective method in image compression and the construction of quantization table is an important process is an important task. The compression performance and the quality of reconstructed data are based on the quantization table, which is actually a matrix of 64 integers. The quantization table selection is a complex combinatorial problem which can be resolved by the evolutionary algorithms (EA). Presently, EA became famous to resolve the real world problems in a reasonable amount of time. This chapter introduces Firefly (FF) with Teaching and learning based optimization (TLBO) algorithm termed as FF-TLBO algorithm for the selection of quantization table. As the FF algorithm faces a problem when brighter FFs are insignificant, the TLBO algorithm is integrated to it to resolve the problem. This algorithm determines the best fit value for every bock as local best and best fitness value for the entire image is considered as global best. When these values are found by FF algorithm, compression process takes place by efficient image compression algorithm like Run Length Encoding and Huffman coding. The proposed FF-TLBO algorithm is evaluated by comparing its results with existing FF algorithm using a same set of benchmark images in terms of Mean Square Error (MSE), Peak Signal to Noise Ratio (PSNR), Structural Similarity index (SSIM), Compression Ratio (CR) and Compression Time (CT). The obtained results ensure the superior performance of FF-TLBO algorithm over FF algorithm and make it highly useful for real time applications.

  • Conference Article
  • Cite Count Icon 5
  • 10.1109/gucon50781.2021.9573863
Image Compression using Huffman Coding Scheme with Partial/Piecewise Color Selection
  • Sep 24, 2021
  • A.H.M Zadidul Karim + 3 more

Compression is the specialty of presenting the data in a conservative structure as opposed to its unique or uncompressed structure. Moreover, utilizing information compression, the size of a specific document can be decreased. This is extremely helpful when preparing, putting away, or moving a gigantic document, which needs huge resources. The speed of transmission relies on the number of pieces sent, the time needed for the encoder to create the coded message, and the time needed for the decoder to recoup the primary ensemble. In an information storage application, the level of compression is the essential concern. Compression can be named either lossless or lossy. Lossless compression methods remake the primary data from the compacted record with no loss of information. In this manner, the data does not alter during the decompression and compression measures. These sorts of compression calculations are called reversible compressions since the primary message is recreated by the decompression cycle. This paper analyzes the exhibition of the Huffman Encoding Algorithm, Lempel Zev Welch Algorithm, Arithmetic Encoding Algorithm, Adaptive Huffman Encoding Algorithm, Shannon Fano Algorithm, and Run Length Encoding Algorithm. Specifically, the efficiency of these calculations in compacting text information is compressed and assessed.

  • Research Article
  • 10.33003/fjs-2025-0904-3555
PERFORMANCE COMPARISON OF RUN-LENGTH, HUFFMAN AND LEMPLE-ZIV ALGORITHMS ON GRAY-SCALE PNG AND JPG IMAGES COMPRESSION
  • Apr 30, 2025
  • FUDMA JOURNAL OF SCIENCES
  • Okude Joshua Okude + 2 more

Image compression plays a crucial role in optimising storage and transmission efficiency. This paper evaluates the performance of Run-Length Encoding (RLE), Huffman Coding, and Lempel-Ziv-Welch (LZW) algorithms for compressing grayscale PNG and JPG images. The study analyses their effectiveness using compression ratio, bits per pixel, and compression time as key performance metrics. Results indicate that LZW achieved the highest compression ratio, ranging from 1.0113 to 2.4020, making it the most efficient for file size reduction. RLE performed moderately, with compression ratios between 0.5456 and 2.3895, while Huffman Coding exhibited the lowest ratios, ranging from 0.2646 to 1.0680. In terms of bits per pixel, LZW recorded the lowest values, highlighting its ability to reduce data while preserving image quality. Compression time analysis revealed that RLE was the fastest, with processing times between 0.0019 and 0.0468 seconds, making it suitable for real-time applications. LZW and Huffman Coding demonstrated a trade-off between compression efficiency and speed. These findings establish LZW as the most effective algorithm for high compression with minimal quality loss, while RLE remains the best option for speed-critical applications.

Save Icon
Up Arrow
Open/Close
Notes

Save Important notes in documents

Highlight text to save as a note, or write notes directly

You can also access these Documents in Paperpal, our AI writing tool

Powered by our AI Writing Assistant