Patent attributes
The method selects a region for processed video data and determines a class for each pixel in the region of the processed video data based on characteristic measurement of said each pixel. The processed video data corresponds to the reconstructed, deblocked reconstructed or deblocked-and-loop-filtered reconstructed video data. An intensity offset is then determined for the class according to the pixels in the region of the processed video data and respective pixels in a respective region of associated original video data. The intensive offset determined is applied to the processed video data to compensate the intensity offset. The region is smaller than a picture so that adaptive offset can adapt to dynamic characteristics of a picture. In one embodiment, the characteristic measurement is based on pixel patterns consisting pixels around an underlying pixel.

