The Brightness Constraint
Brightness Constancy Equation:
Or, equivalently, minimize :
Rederive this on the board