Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh