摘要 |
In order to achieve higher coding efficiency, suppress coding artifacts, and not to need a large computing amount, an image and video data are coded. Provided is an image coding method of coding image data on a block-by-block basis, and the method includes: coding a current block according to a prediction based on a selected prediction mode (S101); determining an estimated prediction mode from among candidate prediction modes; and outputting the coded current block and mode information for reconstructing the selected prediction mode (S108). The determining includes: detecting an edge (S103); reducing the candidate prediction modes in number based on the detected edge (S105); determining the estimated prediction mode from among the candidate prediction modes reduced in number (S106); and generating the mode information based on the estimated prediction mode and the selected prediction mode (S107). |