a method for increasing signal to noise ratio is disclosed . the method can automatically detect saturation output voltage of the photosensors via adjusting exposure time or illumination intensity so as to obtain optimum output voltage of the photosensors as well as high signal to noise ratio that can generate high quality images .