1. A method, comprising: receiving a single image; identifying edge pixels in the single image; evaluating intensity distributions of intensities measured along the edge pixels in the single image; and determining, based on the intensity distributions, an inverse response function that converts the measured intensities into calibrated intensities.