摘要 |
PROBLEM TO BE SOLVED: To drastically reduce a delay time and an operation amount at the time of decoding. SOLUTION: An image that has an optional shape is inputted and divided into plural areas, and each area is operated in a prescribed order and processed one by one. A step 12 checks whether a current block exists outside an object or not. When the current block does not exist outside the object, you proceed to a step 14 and checks whether the past block that adjoins the current block completely exists outside the object. If the past block exists outside the object, a compensating value is calculated in a step 16, and the pixel value of the past block is compensated in a step 18. In the step 12, the current block exists outside the object, you should proceed to a step 20. Here, you check whether an adjacent past block exists outside the object. When the past block does not exist outside the object, a compensation value is calculated in a step 22, and the pixel value of the current block is compensated in a step 24. |