A modulus-based multigrid method for image retinex