a.*For each block do*

	- 1.Generate a random number *r* in [0,1].
	- 2.Replace the pixel in the Y-channel by using Eq. (1):

$$a \star (b \text{--} a) \cdot r \tag{1}$$

where the purpose of having *r* is to keep a dynamic change in the repaired pixel value among all repaired pixels in each block.


b.*End*
