{'fraction_non_alphanumeric': 0.015037593984962405, 'fraction_numerical': 0.0012531328320802004, 'mean_word_length': 5.053030303030303, '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 cost function with position penalty for motion estimation in MPEG-2 video coding

We propose a new cost function for the motion estimation algorithm. A position penalty has been added to the conventional cost function, Sum of Absolute Difference (SAD), to regulate the motion field. The effort is focused on minimization of the size of motion vector difference as well as residual error which need to be coded. Compared to the existing motion field regulation methods, the proposed method has a better chance to choose minimum distortion which allows it to have better picture quality with a fixed bit rate. Simulation results show that the proposed cost function outperforms the existing methods with minimal increase of computational cost, which makes it attractive for hardware implementation.