1. A method of coding images, the coding of a current image portion comprising the following steps: determining a current descriptor of the current image portion; selecting a prediction function in a tunable group of usable functions; forming a predicted descriptor of the current image portion from at least one other image portion and the selected prediction function; determining a residue representing a difference between the predicted descriptor and the current descriptor; and integrating the residue into an output stream intended for a decoder; wherein said group of tunable functions comprises at least one prediction function of a temporal type, and the method further comprises: analyzing a coding context according to at least image features; and adapting at least said prediction function of a temporal type on the basis of the analysis of said coding context, such that said output stream is free from information related to said adaptation.