Foundations of Vision