Patent ID: 11900614
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. The computer-readable storage medium according to claim 11, wherein the determining pixels meeting a target screening condition in the pixels as valid pixels based on the first location information of the pixels in the first video frame, the forward displacement matrix, and the backward displacement matrix, comprises:
obtaining a first pixel from the pixels in the first video frame, determining first location information of the first pixel in the first video frame, and determining, in the forward displacement matrix, a first transverse displacement and a first longitudinal displacement that correspond to the first pixel;
forward mapping the first pixel to the second video frame based on the first location information of the first pixel and the first transverse displacement and the first longitudinal displacement that correspond to the first pixel, and determining, in the second video frame, second location information of a second pixel obtained through the mapping;
determining, in the backward displacement matrix, a second transverse displacement and a second longitudinal displacement that correspond to the second pixel, backward mapping the second pixel to the first video frame based on the second location information of the second pixel and the second transverse displacement and the second longitudinal displacement that correspond to the second pixel, and determining, in the first video frame, third location information of a third pixel obtained through the mapping;
determining an error distance between the first pixel and the third pixel based on the first location information of the first pixel and the third location information of the third pixel, and determining, according to the first location information of the first pixel and the second location information of the second pixel, a correlation coefficient between an image block comprising the first pixel and an image block comprising the second pixel; and
determining pixels between which the error distance is less than an error distance threshold and the correlation coefficient is greater than or equal to a correlation coefficient threshold in the pixels as the valid pixels.