Science of photography