| Algorithm 2: (Variable Exponent Functional Retinex) |
| Input: Image Transform into log domain ; Initialization: , , and While (1) Given and , update by solving Equation (8). (2)Given and , update by using algorithm 1. (3)Update . (4) ; (5); End Output: Image |