Patent ID: 11902563
Assignee: HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 2:
3. The method of claim 1, wherein,
obtaining a cost value corresponding to the initial motion vector and cost values corresponding to the candidate motion vectors according to the pixel values of the first reference block and the pixel values of the second reference block comprises:
obtaining cost values corresponding to the candidate motion vectors comprises: determining first sub-reference blocks corresponding to the candidate motion vectors based on the first reference block, and determining second sub-reference blocks corresponding to the candidate motion vectors based on the second reference block; calculating a sum of absolute differences of pixel point sample values in the first sub-reference blocks and the second sub-reference blocks by using a down-sampling operation performed vertically by 2 times; determining the cost values corresponding to the candidate motion vectors according to the obtained sum of absolute differences;
obtaining a cost value corresponding to the initial motion vector comprises: determining a first sub-reference block corresponding to the initial motion vector based on the first reference block, and determining a second sub-reference block corresponding to the initial motion vector based on the second reference block; calculating a sum of absolute differences of pixel point sample values in the first sub-reference block and the second sub-reference block by using a down-sampling operation performed vertically by 2 times; determining the cost value corresponding to the initial motion vector according to the obtained sum of absolute differences.