Photometric camera calibration