moved image collection from raytrace to CameraSensor