{'fraction_non_alphanumeric': 0.023692003948667325, 'fraction_numerical': 0.0029615004935834156, 'mean_word_length': 4.728813559322034, '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}}
Sub-pixel localization of edges in JPEG images

Many methods for edge detection have been proposed in the last two-three decades. Sometimes is desirable to increase resolution of system for edge detection. There are two ways how to deal with this problem. Either a sensor with a greater number of pixels is used or method for edge detection with sub-pixel accuracy is applied. In some cases, only JPEG pictures are used as incoming data. In this paper we analyze how JPEG compression of picture changes the accuracy of edge localization. JPEG pictures with different compression quality were used to test three methods for edge localization in 1-D images with sub-pixel accuracy: method that approximates real 1-D picture with function erf (EFA) and edge detectors based on statistical moments (STM) or spatial moments (SPM) of the image function. This paper presents results of simulations of noiseless pictures and pictures with Gaussian noise. Lower and upper 5% quantiles are chosen as the accuracy criterion.