Foundations of Photography