Patent ID: 8422800

Claim:
A deblock method, for processing at least one image comprising a plurality of pixels, the method comprising: determining a shift amount of each of a plurality of block boundaries of the image by utilizing first pixel data differences between adjacent pixels in the image in a first direction to thereby determine block boundaries of a second direction between adjacent macroblocks in the image; and optionally performing a deblock process in the first direction on the block boundaries of the second direction; wherein the first direction is either a horizontal or vertical direction and the second direction is perpendicular to the first direction; wherein the step of determining the block boundaries of the second direction between adjacent macroblocks in the image comprises: categorizing the plurality of pixels into a plurality of groups in the first direction according to the size of the macroblocks; for each pixel in each group (referred to as a target pixel) sequentially using the first pixel data differences of a plurality of consecutive pixels including said target pixel to acquire a pixel boundary characteristic value for said target pixel, wherein the pixel boundary characteristic value of the target pixel is set to a first weight value when the first pixel data differences of the plurality of consecutive pixels satisfy a characteristic relation of the block boundary of the macroblocks, otherwise the pixel boundary characteristic value of the target pixel is set to a second weight value; increasing the weight of said target pixel by a first default value if both said target pixel and its preceding pixel in the same group satisfy the characteristic relation of the block boundary of the macroblocks; accumulating the weights of the pixels for each group separately; and determining the shift amount of each of the block boundaries according to the group having the maximum accumulated weights of the pixels.