Patent ID: 8274051

Claim:
A method comprising: receiving, by a semiconductor device having first and second optoelectronic sensors formed therein, light having an infrared (IR) light component and a visible light component; filtering a portion of the IR light component from the received light using an IR blocking filter to exclude the filtered portion of the IR light from detection by the first and second optoelectronic sensors; filtering a portion of the visible light component using a first visible light filter to exclude a first set of visible light wavelengths from detection by the first optoelectronic sensor, wherein the first set of visible light wavelengths is not filtered for the second optoelectronic sensor; generating first and second sensor responses by the first and second optoelectronic sensors, respectively, wherein the first and second sensor responses represent the received light detected by the first and second optoelectronic sensors after filtering the IR light portion and the first set of visible light wavelengths; performing at least one calculation based on the first and second sensor responses to compensate for IR light remaining after filtering the IR light portion; and generating a third sensor response by a third sensor of the semiconductor device, wherein the third response represents the IR light component without filtering by the IR blocking filter.