Patent ID: 7623184

Claim:
An apparatus for compensating a jitter occurred in the ith frame among N frames of a video sequence, each of the N frames comprising a plurality of blocks, N being a natural number larger than 3, and i being an integer index ranging from 1 to N, said apparatus comprising: a determining module for determining a block of background region BR i-1 in the (i−1)th frame; a comparing module, coupled to the determining module, for comparing the block of BR i-1 in the (i−1)th frame with the corresponding block in the ith frame to determine a jitter vector; and an adjusting module, coupled to the comparing module, for adjusting the ith frame in accordance with the jitter vector to compensate for the jitter occurred in the ith frame; wherein the determining module comprises: a first processing module for determining a block in the (j−2)th frame, which corresponds to a block in the (j−3)th frame, to define a global motion vector and setting the block as a processing block in the (j−2)th frame, j being an integer index ranging from 4 to (i−1); a first access module, coupled to the first processing module, for accessing the block in the (j−1)th frame which corresponds to the processing block in the (j−2)th frame and identifying the block as a block of background region BR j-1 in the (j−1 )th frame; a first computing module for calculating a jitter vector defined by the block of BR j-1 and the corresponding block in the jth frame; a first judgment module for judging if the jitter vector computed by the first computing module lies within a range and, if YES, adjusting the jth frame in accordance with the jitter vector; and a storage module, coupled to the first judgment module, for storing the block of BR j-1 .