Characterization of Image Sensor Resolution by Single-Pixel Illumination