The visual system is not good at being a physical light meter, nor should it be. That’s not its purpose. It has to go beyond the information given and make bets about what’s out there. Making such “errors” is not a flaw; without them we wouldn’t recognize the objects around us. If a system does not make errors, it is not intelligent. Visual illusions in fact demonstrate the success rather than the failure of cognition.