1. An image prediction method comprising: receiving a first image v ( 310 ) and a second image s ( 320 ), wherein the second image s ( 320 ) has a different dynamic range than the first image v ( 310 ); receiving metadata ( 330 ) related to a color grading process, wherein the color grading process is used to derive the second image s ( 320 ) from the first image v ( 310 ); wherein the metadata ( 330 ) that relates to the color grading process comprise a color transformation matrix M and slope S, offset O, and power P parameters of a non-linear function; applying said first image v ( 310 ) and said second image s ( 320 ) into an inverse color grading prediction process to compute an output image {circumflex over (v)} ( 340 ) that represents the predicted value of the first image v ( 310 ); wherein the inverse color grading prediction process comprises a non-linear prediction process which includes the slope S, offset O, and power P parameters and is related to the color transformation matrix M; wherein the non-linear prediction process comprises applying a linear operator M −1 to the second image s ( 320 ) to generate intermediate values, and applying a non-linear function N −1 to the intermediate values to generate the output image ir ( 340 ) according to the following equation: 
 {circumflex over (v)}=N −1 ( sM −1 ), wherein the linear operator M −1 comprises an inverse of the color transformation matrix M, and the non-linear function N −1 comprises the slope S, offset O, and power P parameters according to the following equation: N - 1 ( y ) = 1 S ( y 1 / P - O ) ; and outputting the prediction parameters ( 350 ) of the inverse color grading process and the output image {circumflex over (v)} ( 340 ).