scholarly journals A spatial image compression algorithm based on run length encoding

2021 ◽  
Vol 10 (5) ◽  
pp. 2607-2616
Author(s):  
Abdel Rahman Idrais ◽  
Inad Aljarrah ◽  
Osama Al-Khaleel

Image compression is vital for many areas such as communication and storage of data that is rapidly growing nowadays. In this paper, a spatial lossy compression algorithm for gray scale images is presented. It exploits the inter-pixel and the psycho-visual data redundancies in images. The proposed technique finds paths of connected pixels that fluctuate in value within some small threshold. The path is calculated by looking at the 4-neighbors of a pixel then choosing the best one based on two conditions; the first is that the selected pixel must not be included in another path and the second is that the difference between the first pixel in the path and the selected pixel is within the specified threshold value. A path starts with a given pixel and consists of the locations of the subsequently selected pixels. Run-length encoding scheme is applied on paths to harvest the inter-pixel redundancy. After applying the proposed algorithm on several test images, a promising quality vs. compression ratio results have been achieved.

Author(s):  
Shih-Yao Ke ◽  
He-Sheng Jhou ◽  
Chiung-An Chen ◽  
Ting-Lan Lin ◽  
Patricia Angela R. Abu ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document