Task 4: Retinex fix.