摘要 |
Disclosed are an apparatus and method for encoding a moving picture. A method of detecting and compensating a luminance change of each partition of a moving picture includes: calculating a luminance change value between a predetermined object partition and a predetermined reference partition corresponding to the predetermined object partition from pixel values of blocks in the predetermined object partition and pixel values of blocks in the predetermined reference partition; and compensating a luminance value of the predetermined reference partition using the calculated luminance change value, wherein the predetermined object partition is one of a plurality of object partitions included in an object picture, and the predetermined reference partition is one of a plurality of reference partitions included in a reference picture. Accordingly, encoding and decoding of a moving picture is performed efficiently even when a brightness change exists only in part of a picture frame or part of a VOP. |