A method and device for coding a digital image using intra-mode block
prediction, wherein a list of prediction modes for each combination of
prediction modes of the neighboring blocks is obtained. The modes
assigned to each combination of prediction modes may be divided into two
groups. The first group includes n (where n is smaller than the overall
number of available modes) most probable prediction modes and the second
group includes the remaining modes. The modes in the first group are
ordered according to their probability. This order may be specified as a
list of modes ordered from most probable to the least probable mode. The
modes belonging to the second group may be ordered in some predetermined
manner, which may be specified depending on the information already
available to the decoder.