Is the Sensor or the Lens to Blame for Poor Image Quality?