Patent 7248296 was granted and assigned to Pentax on July, 2007 by the United States Patent and Trademark Office.
An automatic gain control device for an electronic endoscope is provided and comprises a controllable gain amplifier, an A/D converter, a histogram circuit, and a CPU. The controllable gain amplifier amplifies image signals from an imaging device. Amplified image signals from the controllable gain amplifier are input to the A/D converter. A histogram of the amplified image signals from the controllable gain amplifier is produced by the histogram circuit when an image taken in a white-balance test accessory is taken. By using the CPU, the gain of the controllable gain amplifier is adjusted in accordance with the determination of whether a saturated pixel exists for signals in the tolerance range of the A/D converter, so that a linear region of the image signals from the controllable gain amplifier substantially coincides with the tolerance range.