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

Claim 14:
15. The computer-readable storage medium according to claim 11, wherein the correcting, based on the valid pixels, an initial state matrix corresponding to the first video frame and the forward displacement matrix, to obtain a target state matrix and a target displacement matrix that correspond to the first video frame comprises:
obtaining the initial state matrix corresponding to the first video frame, a state value of each matrix element in the initial state matrix being a first value, each matrix element being corresponding to one pixel in the pixels;
switching state values of matrix elements corresponding to the valid pixels from a first value to a second value in the initial state matrix, and determining the initial state matrix comprising the second value as the target state matrix corresponding to the first video frame; and
setting, in the forward displacement matrix, displacements of matrix elements corresponding to the remaining pixels to the first value, and determining the forward displacement matrix comprising the first value as the target displacement matrix, the remaining pixels being pixels other than the valid pixels.