Patent ID: 7697611

Claim:
A method for processing motion information for enhancing quality of an image output in an electronic format, the method comprising: (1) performing motion estimation process on the target frame of a video sequence to obtain motion vectors for each block contained in the target frame during the process of outputting a intermediate motion vector field of the target frame by an electronic device; (2) adjusting the motion vectors for each block in the intermediate motion vector field by a motion vector filtering process by the electronic device; and (3) selecting and merging similar motion vectors in the intermediate motion vector field by the electronic device, wherein the motion vector filtering process is a median filtering process that determines the motion vector of a target block based on the median of motion vectors in blocks surrounding the target block, and comprises: selecting a motion vector from a target block to be filtered and the motion vectors from the surrounding blocks; arranging the motion vectors of the surrounding blocks into an ordered sequence according to the respective difference with the motion vector of the target block; and assigning the median motion vector in said ordered sequence as the new motion vector for the target block.