OPTICAL SENSOR CANCELLING IMAGE FLICKER
20230083218 · 2023-03-16
Inventors
Cpc classification
H04N23/745
ELECTRICITY
International classification
Abstract
There is provided an optical sensor that acquires a first image frame corresponding to a first flicker period and acquires a second image frame corresponding to a second flicker period. The optical sensor adds the first image frame to the second image frame to generate a sum of image frames for the motion detection. Or, the optical sensor respectively adds pixel data of every two pixels in neighboring rows of the first image frame and the second image frame to generate a low-resolution image frame for the motion detection.
Claims
1. An optical sensor, configured to acquire image frames corresponding to a flicker period of ambient light, the optical sensor comprising: a pixel array, configured to acquire a first image frame corresponding to a first flicker period and acquire a second image frame corresponding to a second flicker period; a readout circuit, configured to read the first image frame and the second image frame from the pixel array; and a processor, configured to add the first image frame to the second image frame to generate a sum of image frames to cancel flickers caused by the ambient light, wherein the second image frame is separated from the first image frame by 1.5 times of the flicker period.
2. The optical sensor as claimed in claim 1, wherein the first flicker period and the second flicker period are two adjacent flicker periods of the ambient light.
3. (canceled)
4. The optical sensor as claimed in claim 1, wherein an exposure interval of every pixel row of the first image frame and the second image frame is smaller than the flicker period.
5. The optical sensor as claimed in claim 1, wherein the pixel array includes rolling shutter pixels, and the first image frame and the second image frame are acquired by a rolling shutter.
6. The optical sensor as claimed in claim 1, wherein an exposure interval of every pixel row of the first image frame and the second image frame is identical to 1/2 or 1/4 of the flicker period.
7-20. (canceled)
21. An optical sensor, configured to acquire image frames corresponding to a flicker period of ambient light, the optical sensor comprising: a pixel array, configured to acquire a first image frame corresponding to a first flicker period and acquire a second image frame corresponding to a second flicker period; a readout circuit, configured to read the first image frame and the second image frame from the pixel array; and a processor, configured to add the first image frame to the second image frame to generate a sum of image frames to cancel flickers caused by the ambient light, wherein an exposure interval of every pixel row of the first image frame and the second image frame is identical to 1/2 or 1/4 of the flicker period.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Other objects, advantages, and novel features of the present disclosure will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DETAILED DESCRIPTION OF THE EMBODIMENT
[0020] It should be noted that, wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
[0021] The optical sensor of the present disclosure is adapted to cancel the influence from ambient light fluctuation while acquiring image frames under time-varying ambient light having a flicker period so as to improve the control accuracy based on the image processing result.
[0022] Please refer to
[0023] The optical sensor 200 includes a pixel array 21, a readout circuit 23 and a processor 36.
[0024] The pixel array 21 includes rolling shutter pixels arranged in a matrix, and outputs pixel data to generate image frames at a frame rate. In one aspect, every pixel of the pixel array 21 includes a 4T pixel circuit, e.g., including transistors T1, T3, T4 and T5 as shown in
[0025] The readout circuit 23 is connected to the pixel array 21, and reads pixel data of every pixel of the pixel array 21 via multiple readout lines (e.g., Rd shown in
[0026] The processor 25 is selected from an application specific integrated circuit (ASIC), a digital processor (DSP) or a field programmable gate array (FPGA), which receives and processes pixel data read by the readout circuit 23, e.g., calculating a sum of pixel data (given by examples below).
[0027] Please refer to
[0028] The pixel array 21 acquires a first image frame corresponding to a first flicker period and acquires a second image frame corresponding to a second flicker period. For simplification,
[0029] For example, in
[0030] The readout circuit 23 respectively reads the first image frame and the second image frame corresponding to different frame periods, e.g.,
[0031] The processor 25 adds the first image frame to the second image frame (e.g., pixel-by-pixel) to generate a sum of image frames to cancel the image flicker caused by ambient light, i.e. the sum of image frames having the same size as the first image frame and the second image frame. In the present disclosure, the sum of image frames is provided to the digital backend (e.g., a host) for the image recognition, motion detection, storage, playing or the like according to different applications.
[0032] In the first embodiment, an exposure interval of every pixel row of the first image frame and the second image frame is preferably smaller than a flicker period of ambient light. For example,
[0033] It should be mentioned that although
[0034] It should be mentioned that although
[0035] In addition, although
[0036] It should be mentioned that although
[0037] Please refer to
[0038] Similarly, the pixel array 21 includes multiple pixel rows to acquire pixel data using a rolling shutter.
[0039] The readout circuit 23 respectively reads the pixel data of the multiple pixel rows, e.g.,
[0040] The processor 25 respectively adds pixel data of pixels in an N′th pixel row to pixels in an N+1′th pixel row pixel-by-pixel, e.g., adding corresponding pixels at the same column of two neighboring pixel rows N′th and N+1′th among the multiple pixel rows to generate a first output image, wherein N is a positive odd number from 1, e.g., 1, 3, 5 . . . , and a last value of N is determined according to a size of the pixel array 21. For example, the processor 23 adds pixel data of a first pixel row and a second pixel row acquired by the pixel array 21 pixel-by-pixel as pixel data of a first pixel row of the first output image; adds pixel data of a third pixel row and a fourth pixel row acquired by the pixel array 21 pixel-by-pixel as pixel data of a second pixel row of the first output image; and so on. In this aspect, the processor 23 dose not add pixel data of the second pixel row to the third pixel row, and dose not add pixel data of the fourth pixel row to the fifth pixel row, and so on. Therefore, a longitudinal resolution (i.e. a number of pixel rows) of the first output image is a half of a number of multiple pixel rows of the pixel array 21.
[0041] It is seen from
[0042] Therefore, a data sum of summing pixel data of the first pixel row and the second pixel row pixel-by-pixel and a data sum of summing pixel data of the third pixel row and the fourth pixel row pixel-by-pixel acquired by the pixel array 21 are substantially identical (i.e. identical integrating area shown by tilt lines in different directions in
[0043] Although
[0044] In the present disclosure, an exposure interval of the multiple pixel rows of the pixel array 21 is smaller than a flicker period, preferably smaller than or equal to a half of the flicker period. For example,
[0045] Furthermore, as shown in
[0046] As mentioned above, the first output image generated by the processor 25 has a lower resolution. Preferably, the processor 25 generates the first output image in a power saving mode, e.g., a mode in which no object is detected by the optical sensor 200. In a normal mode (e.g., a mode in which the optical sensor 200 detects an object or receiving a signal indicating an object is detected), the processor 25 respectively adds pixel data, pixel-by-pixel, of an M′th pixel row to pixel data of an M+1′th pixel row among the multiple pixel rows of the pixel array 21 to generate a second output image, wherein M is a positive integer from 1, e.g., 1, 2, 3, . . . , and a last value of M is determined according to a size of the pixel array 21. For example, the processor 23 respectively sums up pixel data of a first pixel row and a second pixel row at the same column acquired by the pixel array 21 as pixel data of a first pixel row of the second output image; respectively sums up pixel data of a second pixel row and a third pixel row at the same column acquired by the pixel array 21 as pixel data of a second pixel row of the second output image; respectively sums up pixel data of a third pixel row and a fourth pixel row at the same column acquired by the pixel array 21 as pixel data of a third pixel row of the second output image; and so on.
[0047] More specifically, the processor 25 further identifies whether an object image is acquired according to the first output image. When the processor 25 identifies that no object image is acquired, the first output image is continuously generated to a backend. When the processor 25 identifies that an object image is acquired, the second output image is generated to the backend. A longitudinal resolution of the second output image is smaller than a number of multiple pixel rows of the pixel array 21 but is larger than a longitudinal resolution of the first output image.
[0048] Please refer to
[0049] Similarly, the pixel array 21 includes multiple pixel rows to acquire pixel data using a rolling shutter.
[0050] As shown in
[0051] In
[0052] Because the sum of pixel data of pixels at the same column is directly calculated inside the pixel circuit, the readout circuit 23 directly reads a data sum of the pixel data of the N′th pixel row and the N+1′th pixel row among the multiple pixel rows of the pixel array 21 via multiple readout lines Rd respectively, wherein N is a positive odd number from 1, e.g. 1, 3, 5, . . . .
[0053]
[0054] Please refer to
[0055] Similarly, an exposure interval of the multiple pixel rows of the pixel array 21 is smaller than or equal to 1/2 of a flicker period (e.g. shown as 1/120 second, but not limited to). For example,
[0056] Similarly, an exposure start time of the N+1′th pixel row among the multiple pixel rows of the pixel array 21 is later than an exposure interval of a next pixel row. For example, a third exposure start time t3 of a third pixel row of the multiple pixel rows of the pixel array 21 is later than a first exposure start time t1 of a first pixel row of the multiple pixel rows and is prior to a second exposure start time t2 of a second pixel row of the multiple pixel rows.
[0057] It should be mentioned that although the above second and third embodiments are described in the way that pixel data of two pixels in neighboring rows are added, the present disclosure is not limited thereto. In another aspect, the image flicker is cancelled by adding pixel data of more than two pixel tows. For example, when the exposure interval is arranged a 1/3 of a flicker period of ambient light, the flicker interference is released by adding (e.g., in the digital stage or analog stage) pixel data of three pixels in neighboring rows; and so on. In an aspect by adding pixel data in the analog stage, photodiodes of three adjacent pixel rows are connected to the same floating diffusion node to store the data sum similar to
[0058] As mentioned above, the conventional motion sensor can be influenced by ambient light flicker to possibly have incorrect motion identification. Accordingly, the present disclosure further provides an operating method (e.g.,
[0059] Although the disclosure has been explained in relation to its preferred embodiment, it is not used to limit the disclosure. It is to be understood that many other possible modifications and variations can be made by those skilled in the art without departing from the spirit and scope of the disclosure as hereinafter claimed.