The Computational Basis of Early Vision