Arab scholar Abu Ali al-Hasan ibn al-Haytham composed the seven-volume Kitab al-Manazir while under house arrest in Cairo during the reign of Fatimid caliph al-Hakim. The treatise rejected the prevailing extramission theory that eyes emit rays, demonstrating through controlled experiments that vision results from light reflecting off objects and entering the eye. Ibn al-Haytham described the behavior of light through pinholes, analyzed reflection and refraction, and investigated the anatomy of the eye. Latin translations influenced Roger Bacon, Johannes Kepler, and other European scholars.