{'fraction_non_alphanumeric': 0.01984978540772532, 'fraction_numerical': 0.002145922746781116, 'mean_word_length': 4.996784565916399, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A new algorithm for lossless compression applied to two-dimensional static images

In this paper, a new lossless compression algorithm method for two-dimensional continuous-tone images is presented. The proposed method achieves higher compression ratios than universal methods. Traditional methods use coding techniques based on reduction of the existing redundancy in the data or pixels, mainly applying methods based on statistical models, substitution models, dictionary models, predictive models, wavelet transform domain, etc... 
 
The proposed method is based on a model which incorporates a new algorithm (INA Algorithm). This method consists of three steps: segmentation, compression algorithm and encoding. In the first, the whole image is continuously divided into blocks of a fixed size. Each block generates two separate groups: a sequence of the different pixels of the block sorted in increasing order and the other one in a sequence formed of pixels organised in groups of ordered pairs. The second one is the new development and main contribution of this method. A new algorithm processes in parallel the execution of the two sequences obtained in the segmentation process by means of a data structure in the form of a binary tree and a predictive scheme respectively. Lastly, a fast and efficient encoder is used to generate the binary codes. The parallel execution of this algorithm reduces response times of the compression and decompression cycles. This method ensures a compression ratio of 1:2 to 1:4 with very high probability. 
 
In order to evaluate the advantages of this method compared with the conventional lossless methods and the JPEG-LS standard, experimental studies have been carried out using a set of ISO standard images. From the experimental results we can asserted that the proposed method obtains a higher compression ratio.