| Algorithm 1. Obtain the optimal parameters of the model |
|
Input: The output of rain and mist model 1: for i = 1 to epoch do: 2: for j = 1 to batchnum do: 3: Convolution of by Equations (10)–(13) to get , , , . 4: Concat , , with to get . 5: Convolve with Equations (14)–(16) to get , , . 6: , , , and are convolved by Equation (17) to obtain . 7: Update the intermediate parameters by loss functions Equations (18)–(19) 8: end for 9. end for Output: The learned optimal parameters. |