Patent ID: 11972580
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 5:
6. The method according to claim 5, wherein determining the first motion distance of the first image in the horizontal direction according to the horizontal movement distance of the first transversely deformed image relative to the second transversely deformed image comprises:
setting the first transversely deformed image and the second transversely deformed image as parallel in the horizontal direction and aligned at two ends;
moving the first transversely deformed image in the horizontal direction in a sequence of movements, and determining, after each of the sequence of movements, two sub-images respectively corresponding to the first transversely deformed image and the second transversely deformed image in the vertical direction, calculating first difference values between the two sub-images, and determining a total quantity of moved pixels of the first transversely deformed image after the sequence of movements;
determining a minimum first difference value among the first difference values as a first target difference value; and
determining a total quantity of moved pixels corresponding to the first target difference value as the first motion distance of the first image in the horizontal direction.