Patent ID: 7920181

Claim:
A semiconductor integrated apparatus comprising: a variable gain amplifier for amplifying a pixel value detected by an image sensor; a black level correction circuit for judging whether or not a period of an amount of change in gains of the variable gain amplifier being equal to or greater than a predetermined value continues for a predefined period or more, making a black level value of the image sensor which is output from the variable gain amplifier as a new black level reference value if a period of an amount of change in gains of the variable gain amplifier being equal to or greater than a predetermined value continues for a predefined period or more, correcting a black level of a valid pixel of the image sensor based on the black level reference value, or correcting a black level of the valid pixel based on the previous black level reference value in lieu of updating it if a period of an amount of change in gains of the variable gain amplifier being equal to or greater than a predetermined value does not continue for a predefined period or more; and an automatic gain control circuit for controlling a gain of the variable gain amplifier based on a value of a valid pixel which is corrected for a black level by the black level correction circuit, wherein said black level correction circuit comprises: a gain storage circuit for storing gains of said variable gain amplifier relating to plural frames of images detected by said image sensor; a judgment circuit for calculating amounts of changes in gains of other frames vis-à-vis a gain of a specific frame which is stored by the gain storage circuit to judge whether or not a frame of the amount of change in gains being equal to or greater than a predetermined value continues for a predefined number of frames or more; and a selection circuit for selecting a black level value output from the variable gain amplifier as new black level reference value if the judgment circuit judges that a frame of an amount of change in gains being equal to or greater than a predetermined value continues for a predefined number of frames or more, selecting a calculated value from a black level value output from the variable gain amplifier and a black level reference value as new black level reference value if the judgment circuit judges that a frame of an amount of change in gains being equal to or greater than a predetermined value does not exist, or selecting the previous black level reference value in lieu of updating it if the judgment circuit judges that an amount of change in gains is equal to or greater than a predetermined value and that a frame of an amount of change in gains being equal to or greater than a predetermined value does not continue for a predefined number of frames or more.