摘要 |
A moving image encoding apparatus for dividing an image into image blocks and performing intra-prediction encoding of a target image block using pixel values of an image block adjacent to the target image block, comprises a prediction unit for performing intra-prediction in accordance with one of intra-prediction modes corresponding to divided block sizes and outputting intra-predicted image data for the target image block, a determination unit for, when the target image block is a low frequency band image, determining by detecting a change in the pixel value in the image block whether the target image block includes a gradation image, and a decision unit for, when it is determined that the target image block includes the gradation image, deciding a block size of the intra-prediction so as to cause the prediction unit to preferentially select a minimum block size of the divided block sizes.
|