Patent ID: 8233538

Claim:
An image encoding system for encoding a digital image comprising: a) means for encoding each of blocks into which an image is divided; b) intra-prediction means for predicting values of pixels located along a specified direction in a target block to be coded by using a same prediction value; and c) prediction mode estimating means for estimating a prediction mode for the target block; wherein d) the intra-prediction means uses a prediction value being a weighted average of plural pixels located adjacent to the target block as a prediction value of the target block, e) the prediction mode includes a Diagonal Down/Left prediction mode using the specified direction being diagonally downward to the left at approximately a 45 degree angle, a Diagonal Down/_Right prediction mode using the specified direction being diagonally downward to the right at approximately a 45 degree angle and an intermediate angle prediction mode using the specified direction being diagonally at approximately a 22.5 degree angle or a 67.5 degree angle, f) the prediction modes are numbered with increasingly larger numbers, in order of the Diagonal Down/Left prediction mode, the Diagonal Down/Right prediction mode and the intermediate angle prediction mode, and the prediction mode estimating means determines a prediction mode to have the lower mode number among the prediction mode of a first block located adjacent to and above the target block and the prediction mode of a second block located adjacent to the left side of the target block as the prediction mode for the target block.