Recall brightness constancy equation: Substitute affine transformation: Use least square minimization: Minimize squared error: