Physics of Vision in Compound Eyes