{'fraction_non_alphanumeric': 0.016574585635359115, 'fraction_numerical': 0.0, 'mean_word_length': 4.972527472527473, '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 hybrid motion estimation approach based on normalized cross correlation for video compression

In this paper we propose a new hybrid approach for block based motion estimation (ME) by adaptively using the normalized cross correlation (NCC) and sum of absolute differences (SAD) measures. We use the SAD value and gradient sum as the criterion to determine which similarity measure to be used for motion estimation. In general, using the NCC as the similarity measure in the motion estimation leads to more uniform residuals than those of using the SAD. This leads to larger DC terms and smaller AC terms, which yields less information loss after DCT quantization. However, NCC is not suitable for homogeneous regions since the best match may have a high NCC value but with large average gray level difference. Thus, we propose to alternatively use the SAD and NCC as the ME criterion for homogeneous and inhomogeneous blocks. Experimental results show the proposed hybrid motion estimation algorithms can provide superior PSNR and SSIM values than the traditional SAD-based ME method.