DETERMINING CAMERA RESPONSE FUNCTIONS