{'fraction_non_alphanumeric': 0.027287319422150885, 'fraction_numerical': 0.0008025682182985554, 'mean_word_length': 4.8, '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}}
On Generalized Differences for Biospeckle Image Analysis

Biospeckle is a technique whose purpose is to observe and study the underlying activity of some material. The technique has its roots on optical physics, and its first step is an image acquisition process that produces a video sequence whose characteristics allow researchers to have an interpretation of the activity of the observed material by an analysis of the video content. The recent literature on this subject presents several different measurements for analyzing the video sequence. One of the most popular measurement is the Generalized Difference (GD). The computation of the GD has an asymptotic complexity of O(n2). In this paper we propose: i) an alternative O(n) algorithm for the computation of the GD, and ii) an alternative measurement, that we call GD*. We discuss the qualitative similarities between the GD and the GD*. We conclude that the GD* is an alternative generalized difference measurement, and thus it can replace the GD in many applications. We show that the GD* is a function of the variance, and it can be computed in O(n). Finally, if the GD itself is desired as measurement, it can now be computed in O(n) by the novel algorithm presented in this paper.