CN116074649A - A camera and image processing method thereof - Google Patents
A camera and image processing method thereof Download PDFInfo
- Publication number
- CN116074649A CN116074649A CN202111582898.4A CN202111582898A CN116074649A CN 116074649 A CN116074649 A CN 116074649A CN 202111582898 A CN202111582898 A CN 202111582898A CN 116074649 A CN116074649 A CN 116074649A
- Authority
- CN
- China
- Prior art keywords
- image
- exposure
- transistor
- charge storage
- photodiode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
- Solid State Image Pick-Up Elements (AREA)
Abstract
Description
本申请要求于2021年10月25日提交国家知识产权局、申请号为202111241467.1、申请名称为“一种在FD中保持信号的暗电流抑制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111241467.1 and the application title "A dark current suppression method for maintaining signals in FD" submitted to the State Intellectual Property Office on October 25, 2021, the entire content of which is passed References are incorporated in this application.
技术领域technical field
本申请实施例涉及图像传感器领域,尤其涉及一种摄像机及其图像处理方法。The embodiments of the present application relate to the field of image sensors, and in particular, to a camera and an image processing method thereof.
背景技术Background technique
互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)传感器因具备体积小、功耗低等优势,在图像传感器领域得到了广泛应用。Complementary metal oxide semiconductor (CMOS) sensors have been widely used in the field of image sensors due to their advantages of small size and low power consumption.
在智能交通场景中,被车灯直射的车牌等区域照度可达数千勒克斯,而其他区域照度可能只有几勒克斯,动态范围非常大。如果采用CMOS传感器进行单次曝光,可能造成过曝或欠曝的问题,因此单次曝光的成像动态范围非常有限。为了提升图像的动态范围,可以采用全局快门CMOS传感器进行两次曝光,并对两次曝光拍摄的图像进行宽动态合成。但是采用传统全局快门CMOS传感器受限于读出速度,每次拍摄的时间间隔较长。在智能交通场景中拍摄高速运动物体时,如果相隔最近的两帧图像间存在明显的运动位移,将造成两次曝光的图像进行宽动态合成的结果会出现运动伪影。因此,如何降低两次曝光之间的时间间隔成为了亟待解决的问题。In intelligent traffic scenarios, the illuminance of areas such as license plates directly illuminated by car lights can reach thousands of lux, while the illuminance of other areas may only be a few lux, and the dynamic range is very large. If a CMOS sensor is used for a single exposure, it may cause overexposure or underexposure, so the imaging dynamic range of a single exposure is very limited. In order to improve the dynamic range of the image, a global shutter CMOS sensor can be used to perform two exposures, and wide dynamic synthesis is performed on the images captured by the two exposures. However, the use of traditional global shutter CMOS sensors is limited by the readout speed, and the time interval between each shot is relatively long. When shooting a high-speed moving object in an intelligent traffic scene, if there is an obvious motion displacement between the two closest images, it will cause motion artifacts in the result of wide dynamic synthesis of the two-exposure images. Therefore, how to reduce the time interval between two exposures has become an urgent problem to be solved.
发明内容Contents of the invention
本申请实施例提供一种摄像机及其图像处理方法,能够降低两次曝光之间的时间间隔,确保两次曝光拍摄的图像中运动物体没有明显的移动。Embodiments of the present application provide a camera and an image processing method thereof, which can reduce the time interval between two exposures and ensure that there is no obvious movement of moving objects in images captured by the two exposures.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
本申请实施例的第一方面,提供一种摄像机,该摄像机包括互补金属氧化物半导体CMOS传感器和控制器,CMOS传感器包括多个像素电路,该多个像素电路中的每个像素电路包括至少一个光电二极管,电荷存储区,耦合在光电二极管与电荷存储区之间的第一晶体管,耦合在电荷存储区与浮动扩散节点之间的第二晶体管;对于每个像素电路,控制器,用于:在第一曝光结束后产生用于导通第一晶体管的第一脉冲信号,将光电二极管产生的第一电子转移至电荷存储区;在第二曝光开始前产生用于导通第二晶体管的第二脉冲信号,将电荷存储区存储的第一电子转移至浮动扩散节点;在第二曝光结束后产生用于导通第一晶体管的第三脉冲信号,将光电二极管产生的第二电子转移至电荷存储区。According to the first aspect of the embodiments of the present application, a camera is provided, the camera includes a complementary metal oxide semiconductor CMOS sensor and a controller, the CMOS sensor includes a plurality of pixel circuits, and each pixel circuit in the plurality of pixel circuits includes at least one a photodiode, a charge storage region, a first transistor coupled between the photodiode and the charge storage region, a second transistor coupled between the charge storage region and the floating diffusion node; for each pixel circuit, a controller for: Generate a first pulse signal for turning on the first transistor after the first exposure ends, and transfer the first electrons generated by the photodiode to the charge storage region; generate a first pulse signal for turning on the second transistor before the second exposure starts The second pulse signal transfers the first electrons stored in the charge storage area to the floating diffusion node; after the second exposure is completed, the third pulse signal used to turn on the first transistor is generated to transfer the second electrons generated by the photodiode to the charge storage area.
基于本方案,通过将第一曝光产生的第一电子从光电二极管传输并存储在浮动扩散节点中,将第二曝光产生的第二电子传输并存储在电荷存储区,即第一曝光产生的第一电子和第二曝光产生的第二电子可以存储在不同的器件中。与第二次曝光必须等到第一次曝光全部读出后才能进行相比,由于本方案将两次曝光产生的电子分别存储在浮动扩散节点和电荷存储区,因此第二次的曝光不需要等待第一次曝光读出以后再进行,能够减小第二曝光与第一曝光之间的时间间隔,能够实现无时隙双重曝光。Based on this scheme, the first electrons generated by the first exposure are transferred from the photodiode and stored in the floating diffusion node, and the second electrons generated by the second exposure are transferred and stored in the charge storage region, that is, the first electrons generated by the first exposure The first electron and the second electron generated by the second exposure can be stored in different devices. Compared with the second exposure that must wait until the first exposure is fully read out, since the electrons generated by the two exposures are stored in the floating diffusion node and the charge storage area respectively in this scheme, the second exposure does not need to wait After the first exposure is read out, the time interval between the second exposure and the first exposure can be reduced, and double exposure without time gap can be realized.
在一种可能的实现方式中,上述像素电路还包括第三晶体管和第四晶体管,第三晶体管的栅极耦合至浮动扩散节点,第三晶体管的源极耦合至第四晶体管的漏极,第三晶体管的漏极耦合至预设电压,第四晶体管的栅极耦合至控制器,第四晶体管的源极为信号输出端;控制器,还用于在第三曝光结束后产生用于导通第四晶体管的第四脉冲信号,将浮动扩散节点上的噪声信号读出。In a possible implementation manner, the above pixel circuit further includes a third transistor and a fourth transistor, the gate of the third transistor is coupled to the floating diffusion node, the source of the third transistor is coupled to the drain of the fourth transistor, and the third transistor is coupled to the drain of the fourth transistor. The drains of the three transistors are coupled to a preset voltage, the gate of the fourth transistor is coupled to the controller, and the source of the fourth transistor is a signal output terminal; The fourth pulse signal of the four transistors reads out the noise signal on the floating diffusion node.
基于本方案,CMOS传感器产生第三曝光后,由于控制器不会产生导通第一晶体管的第一脉冲信号,因此光电二极管产生的第三电子不会传输至电荷存储区,也不会传输至浮动扩散节点,故浮动扩散节点上暗电流产生FD电压,通过第三晶体管转换为第三输出电压,该第三输出电压即为暗电流噪声信号。CMOS传感器中多个像素电路中每个像素电路采集的暗电流噪声信号转换后得到的图像可以称为暗帧。Based on this solution, after the CMOS sensor generates the third exposure, since the controller will not generate the first pulse signal to turn on the first transistor, the third electrons generated by the photodiode will not be transferred to the charge storage area, nor will it be transferred to the The floating diffusion node, so the dark current on the floating diffusion node generates FD voltage, which is converted into a third output voltage by the third transistor, and the third output voltage is the dark current noise signal. The image obtained after the conversion of the dark current noise signal collected by each pixel circuit among the multiple pixel circuits in the CMOS sensor may be called a dark frame.
在另一种可能的实现方式中,上述控制器,还用于在第四曝光结束后产生用于导通第一晶体管的第五脉冲信号,将光电二极管产生的第四电子转移至电荷存储区;其中,第四曝光与第三曝光之间间隔的时长与第二曝光与第一曝光之间间隔的时长相同。In another possible implementation manner, the above-mentioned controller is further configured to generate a fifth pulse signal for turning on the first transistor after the fourth exposure is completed, so as to transfer the fourth electrons generated by the photodiode to the charge storage region ; Wherein, the duration of the interval between the fourth exposure and the third exposure is the same as the interval between the second exposure and the first exposure.
基于本方案,可以通过CMOS传感器依次产生第三曝光和第四曝光标定暗电流噪声,由于CMOS传感器产生第三曝光后,控制器不会产生导通第一晶体管的第一脉冲信号,因此光电二极管产生的第三电子不会传输至电荷存储区,也不会传输至浮动扩散节点,故浮动扩散节点上暗电流产生FD电压,通过第三晶体管转换为第三输出电压,该第三输出电压即为暗电流噪声信号。Based on this scheme, the third exposure and the fourth exposure can be used to calibrate the dark current noise sequentially through the CMOS sensor. After the CMOS sensor generates the third exposure, the controller will not generate the first pulse signal to turn on the first transistor, so the photodiode The generated third electrons will not be transmitted to the charge storage area, nor will they be transmitted to the floating diffusion node, so the dark current on the floating diffusion node generates FD voltage, which is converted into a third output voltage by the third transistor, and the third output voltage is is the dark current noise signal.
在又一种可能的实现方式中,上述摄像机还包括处理器;该处理器,用于:获取第一图像和暗帧,该第一图像为第一曝光对应的图像,该暗帧为多个像素电路中每个像素电路采集的噪声信号转换后得到的图像;根据暗帧,对第一图像进行处理,得到去噪声后的第一图像。In yet another possible implementation manner, the camera above further includes a processor; the processor is configured to: acquire a first image and a dark frame, the first image is an image corresponding to the first exposure, and the dark frame is a plurality of An image obtained after converting the noise signal collected by each pixel circuit in the pixel circuit; according to the dark frame, the first image is processed to obtain the first image after denoising.
基于本方案,由于第一图像中包含图像信号和噪声信号,通过处理器根据标定的暗电流噪声(暗帧)对受暗电流影响的第一图像进行噪声校正,从而降低第一图像中的暗电流影响,得到高信噪比的图像。Based on this solution, since the first image contains image signals and noise signals, the processor performs noise correction on the first image affected by dark current according to the calibrated dark current noise (dark frame), thereby reducing the dark current in the first image. Influenced by the current, an image with a high signal-to-noise ratio is obtained.
在又一种可能的实现方式中,上述第一曝光的时长小于上述第二曝光的时长;上述处理器,还用于根据上述去噪声后的第一图像和上述第二曝光对应的第二图像,得到宽动态图像。In yet another possible implementation manner, the duration of the first exposure is shorter than the duration of the second exposure; the processor is further configured to , to get a wide dynamic image.
基于本方案,通过对去噪声后的第一图像和第二图像进行宽动态合成,不仅可以消除暗区的kTC噪声,同时能够提升图像的动态范围。Based on this solution, by performing wide dynamic synthesis on the denoised first image and the second image, not only the kTC noise in the dark area can be eliminated, but also the dynamic range of the image can be improved.
在又一种可能的实现方式中,上述处理器,具体用于:将上述去噪声后的第一图像的亮度与上述第二图像的亮度对齐,得到第三图像;将该第三图像中信号强度低于预设阈值的区域与上述第二图像中的对应区域进行融合处理,得到上述宽动态图像。In yet another possible implementation manner, the above processor is specifically configured to: align the brightness of the first image after denoising with the brightness of the second image to obtain a third image; An area whose intensity is lower than a preset threshold is fused with a corresponding area in the second image to obtain the wide dynamic image.
基于本方案,通过将第三图像中信号强度低于预设阈值的区域采用第二图像中的对应区域进行融合处理,使得宽动态图像中信号强度高于预设阈值的区域为第三图像中的对应区域,宽动态图像中信号强度低于预设阈值的区域为第二图像中的对应区域。可以理解的,进行宽动态合成后,较暗区域主要由第二图像的对应像素进行填充,由于第二图像可以消除kTC噪声,因此图像暗区的信噪比会有明显的提升。较亮区域的像素为第三图像的对应像素,由于较亮区域中图像信号较强,因此kTC噪声影响相对较小。因此通过将去噪声后的第一图像与第二图像进行宽动态合成,可以进一步消除暗区的kTC噪声,同时达到了提升动态范围的效果。Based on this scheme, the area in the third image whose signal intensity is lower than the preset threshold is fused with the corresponding area in the second image, so that the area in the wide dynamic image whose signal intensity is higher than the preset threshold is the third image. The corresponding area of the wide dynamic image, the area whose signal strength is lower than the preset threshold is the corresponding area of the second image. It can be understood that after WDR synthesis, the darker area is mainly filled by the corresponding pixels of the second image. Since the second image can eliminate kTC noise, the signal-to-noise ratio of the dark area of the image will be significantly improved. The pixels in the brighter area are the corresponding pixels of the third image, and since the image signal in the brighter area is stronger, the influence of kTC noise is relatively small. Therefore, by performing wide dynamic synthesis on the first image after denoising and the second image, the kTC noise in the dark area can be further eliminated, and the effect of improving the dynamic range can be achieved at the same time.
在又一种可能的实现方式中,上述融合处理包括加权融合或直接替换。In yet another possible implementation manner, the foregoing fusion processing includes weighted fusion or direct replacement.
基于本方案,可以通过将第三图像中信号强度低于预设阈值的区域采用第二图像中的对应区域进行直接替换,或者,将第三图像中信号强度低于预设阈值的区域和第二图像中的对应区域进行加权融合,不仅能够提升图像暗区的信噪比,而且能够提升图像的动态范围。Based on this scheme, the region whose signal strength is lower than the preset threshold in the third image can be directly replaced with the corresponding region in the second image, or the region whose signal strength is lower than the preset threshold in the third image and the first The weighted fusion of the corresponding areas in the two images can not only improve the signal-to-noise ratio of the dark area of the image, but also improve the dynamic range of the image.
在又一种可能的实现方式中,上述CMOS传感器为全局快门CMOS传感器。In yet another possible implementation manner, the above CMOS sensor is a global shutter CMOS sensor.
基于本方案,通过将两次曝光产生的电子分别存储在浮动扩散节点和电荷存储区,使得第二次的曝光不需要等待第一次曝光读出以后再进行,能够减小第二曝光与第一曝光之间的时间间隔,能够实现无时隙双重全局曝光。Based on this scheme, the electrons generated by the two exposures are stored in the floating diffusion node and the charge storage area respectively, so that the second exposure does not need to wait for the first exposure to be read out, and the second exposure and the second exposure can be reduced. The time interval between one exposure can realize double global exposure without time gap.
本申请实施例的第二方面,提供一种摄像机中的图像处理方法,该摄像机包括互补金属氧化物半导体CMOS传感器和控制器,该CMOS传感器包括多个像素电路,该多个像素电路中的每个像素电路包括至少一个光电二极管,电荷存储区,耦合在光电二极管与电荷存储区之间的第一晶体管,耦合在电荷存储区与浮动扩散节点之间的第二晶体管;对于每个像素电路,上述方法包括:上述控制器在第一曝光结束后产生用于导通第一晶体管的第一脉冲信号,将光电二极管产生的第一电子转移至电荷存储区;控制器在第二曝光开始前产生用于导通第二晶体管的第二脉冲信号,将电荷存储区存储的第一电子转移至浮动扩散节点;控制器在第二曝光结束后产生用于导通第一晶体管的第三脉冲信号,将光电二极管产生的第二电子转移至电荷存储区。The second aspect of the embodiments of the present application provides an image processing method in a camera, the camera includes a complementary metal oxide semiconductor CMOS sensor and a controller, the CMOS sensor includes a plurality of pixel circuits, each of the plurality of pixel circuits Each pixel circuit comprises at least one photodiode, a charge storage region, a first transistor coupled between the photodiode and the charge storage region, a second transistor coupled between the charge storage region and the floating diffusion node; for each pixel circuit, The above method includes: the above-mentioned controller generates a first pulse signal for turning on the first transistor after the end of the first exposure, and transfers the first electrons generated by the photodiode to the charge storage area; the controller generates a pulse signal before the start of the second exposure a second pulse signal for turning on the second transistor, and transfer the first electrons stored in the charge storage region to the floating diffusion node; the controller generates a third pulse signal for turning on the first transistor after the second exposure ends, The second electrons generated by the photodiode are transferred to the charge storage region.
在一种可能的实现方式中,上述像素电路还包括第三晶体管和第四晶体管,第三晶体管的栅极耦合至浮动扩散节点,第三晶体管的源极耦合至第四晶体管的漏极,第三晶体管的漏极耦合至预设电压,第四晶体管的栅极耦合至控制器,第四晶体管的源极为信号输出端;上述方法还包括:控制器在第三曝光结束后产生用于导通第四晶体管的第四脉冲信号,将浮动扩散节点上的噪声信号读出。In a possible implementation manner, the above pixel circuit further includes a third transistor and a fourth transistor, the gate of the third transistor is coupled to the floating diffusion node, the source of the third transistor is coupled to the drain of the fourth transistor, and the third transistor is coupled to the drain of the fourth transistor. The drains of the three transistors are coupled to a preset voltage, the gate of the fourth transistor is coupled to the controller, and the source of the fourth transistor is a signal output terminal; the above method also includes: the controller generates a signal for turning on after the third exposure ends The fourth pulse signal of the fourth transistor reads out the noise signal on the floating diffusion node.
在另一种可能的实现方式中,上述方法还包括:控制器在第四曝光结束后产生用于导通第一晶体管的第五脉冲信号,将光电二极管产生的第四电子转移至电荷存储区;其中,第四曝光与第三曝光之间间隔的时长与第二曝光与第一曝光之间间隔的时长相同。In another possible implementation, the above method further includes: the controller generates a fifth pulse signal for turning on the first transistor after the fourth exposure, and transfers the fourth electrons generated by the photodiode to the charge storage region ; Wherein, the duration of the interval between the fourth exposure and the third exposure is the same as the interval between the second exposure and the first exposure.
在又一种可能的实现方式中,上述摄像机还包括处理器;上述方法还包括:该处理器获取第一图像和暗帧,该第一图像为第一曝光对应的图像,该暗帧为上述多个像素电路中每个像素电路采集的噪声信号转换后得到的图像;处理器根据该暗帧,对第一图像进行处理,得到去噪声后的第一图像。In yet another possible implementation manner, the above-mentioned camera further includes a processor; the above-mentioned method further includes: the processor acquires a first image and a dark frame, the first image is an image corresponding to the first exposure, and the dark frame is the above-mentioned An image obtained after converting the noise signal collected by each pixel circuit in the plurality of pixel circuits; the processor processes the first image according to the dark frame to obtain the first image after denoising.
在又一种可能的实现方式中,上述第一曝光的时长小于上述第二曝光的时长;上述方法还包括:上述处理器根据去噪声后的第一图像和第二曝光对应的第二图像,得到宽动态图像。In yet another possible implementation manner, the duration of the first exposure is shorter than the duration of the second exposure; the method further includes: the processor, according to the denoised first image and the second image corresponding to the second exposure, Get a wide dynamic image.
在另一种可能的实现方式中,上述处理器根据去噪声后的第一图像和第二曝光对应的第二图像,得到宽动态图像,包括:处理器将去噪声后的第一图像的亮度与第二图像的亮度对齐,得到第三图像;处理器将该第三图像中信号强度低于预设阈值的区域与第二图像中的对应区域进行融合处理,得到宽动态图像。In another possible implementation manner, the above-mentioned processor obtains the wide dynamic image according to the first image after denoising and the second image corresponding to the second exposure, including: the processor converts the brightness of the first image after denoising to Aligning with the brightness of the second image to obtain a third image; the processor performs fusion processing on the area of the third image whose signal strength is lower than the preset threshold and the corresponding area in the second image to obtain a wide dynamic image.
在又一种可能的实现方式中,上述融合处理包括加权融合或直接替换。In yet another possible implementation manner, the foregoing fusion processing includes weighted fusion or direct replacement.
在又一种可能的实现方式中,上述CMOS传感器为全局快门CMOS传感器。In yet another possible implementation manner, the above CMOS sensor is a global shutter CMOS sensor.
上述第二方面的各种实现方式的效果描述可以参考前述第一方面相应实现方式的效果描述,在此不再赘述。For descriptions of effects of various implementations of the second aspect above, reference may be made to descriptions of effects of corresponding implementations of the first aspect above, and details are not repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种CMOS传感器中像素电路的结构及信号时序示意图;FIG. 1 is a schematic diagram of the structure and signal timing of a pixel circuit in a CMOS sensor provided by an embodiment of the present application;
图2为本申请实施例提供的一种全局快门CMOS传感器最后一行像素的信号时序示意图;FIG. 2 is a schematic diagram of signal timing of the last row of pixels of a global shutter CMOS sensor provided by an embodiment of the present application;
图3为本申请实施例提供的一种全局快门CMOS传感器中像素电路的结构及最后一行像素的信号时序示意图;FIG. 3 is a schematic diagram of the structure of a pixel circuit in a global shutter CMOS sensor provided in an embodiment of the present application and the signal timing of the last row of pixels;
图4为本申请实施例提供的一种单次曝光时过曝和欠曝的示意图;Fig. 4 is a schematic diagram of overexposure and underexposure during a single exposure provided by the embodiment of the present application;
图5为本申请实施例提供的一种全局快门CMOS传感器的宽动态成像方案的示意图;FIG. 5 is a schematic diagram of a wide dynamic imaging scheme of a global shutter CMOS sensor provided in an embodiment of the present application;
图6为本申请实施例提供的一种摄像机的结构示意图;FIG. 6 is a schematic structural diagram of a camera provided in an embodiment of the present application;
图7为本申请实施例提供的一种摄像机中的像素电路的信号时序示意图;FIG. 7 is a schematic diagram of a signal timing sequence of a pixel circuit in a video camera provided by an embodiment of the present application;
图8为本申请实施例提供的一种摄像机的结构示意图;FIG. 8 is a schematic structural diagram of a camera provided in an embodiment of the present application;
图9为本申请实施例提供的一种拍摄场景的应用示意图;FIG. 9 is an application schematic diagram of a shooting scene provided by an embodiment of the present application;
图10为本申请实施例提供的一种宽动态合成过程的示意图;FIG. 10 is a schematic diagram of a wide dynamic synthesis process provided by an embodiment of the present application;
图11为本申请实施例提供的一种拍摄及图像处理效果的示意图;FIG. 11 is a schematic diagram of a shooting and image processing effect provided by the embodiment of the present application;
图12为本申请实施例提供的一种摄像机中的图像处理方法的流程示意图;FIG. 12 is a schematic flowchart of an image processing method in a camera provided in an embodiment of the present application;
图13为本申请实施例提供的另一种摄像机中的图像处理方法的流程示意图。FIG. 13 is a schematic flowchart of another image processing method in a video camera according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。在本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或,a和b和c,其中a、b和c可以是单个,也可以是多个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。比如,本申请实施例中的第一晶体管中的“第一”和第二晶体管中的“第二”仅用于区分不同的晶体管。本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, wherein a, b and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect, Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order. For example, "first" in the first transistor and "second" in the second transistor in the embodiment of the present application are only used to distinguish different transistors. The first, second, etc. descriptions that appear in the embodiments of this application are only for illustration and to distinguish the description objects, and there is no order, nor does it represent a special limitation on the number of devices in the embodiments of this application, and cannot constitute a limitation on the number of devices in this application. Any limitations of the examples.
本申请中的转移和传输的意思相同,均可以表示电子可以从一个器件移动到另一个器件,或者,从一个位置移动到另一个位置。Transfer and transport in this application have the same meaning, and both can mean that electrons can move from one device to another, or from one location to another.
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in this application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
首先对本申请实施例中的名词进行介绍,First, the nouns in the embodiments of the present application are introduced,
复位噪声(kTC noise)为浮动扩散节点(Floating Diffusion,FD)重置时产生的噪声。Reset noise (kTC noise) is the noise generated when the floating diffusion node (Floating Diffusion, FD) is reset.
相关双采样(correlated double sampling,CDS)为CMOS传感器中消除噪声的一种采样方法。通过在像素读取周期采集两个信号,第一个信号为在像素重置状态时采集的“重置信号”,第二和信号为在电子传输到读出节点时采集的“图像信号”。将两个信号的数值在CMOS传感器的后续电路上进行相减,可以消除kTC噪声和模拟数字转换器(Analog toDigital converter,ADC)等元器件产生的噪声。Correlated double sampling (CDS) is a sampling method for eliminating noise in CMOS sensors. By acquiring two signals during the pixel read cycle, the first signal is the "reset signal" acquired when the pixel is reset state, and the second signal is the "image signal" acquired when the electrons are transferred to the readout node. Subtracting the values of the two signals on the subsequent circuit of the CMOS sensor can eliminate kTC noise and noise generated by components such as Analog to Digital Converter (ADC).
双重数据采样(double data sampling,DDS)为本申请提出的一种采样方法,由于CMOS传感器设计限制,信号读出过程中如果先采集电子传输到读出节点时的“图像信号”,再采集重置状态的“重置信号”,然后将这两个信号的数值相减,只能消除ADC等元器件产生的噪声,无法消除kTC噪声。Double data sampling (double data sampling, DDS) is a sampling method proposed by this application. Due to the design limitation of CMOS sensor, if the "image signal" when the electron is transmitted to the readout node is collected first during the signal readout process, and then the re-acquisition The "reset signal" of the set state, and then subtracting the values of these two signals can only eliminate the noise generated by components such as ADC, but cannot eliminate kTC noise.
在图像传感器领域中,CMOS传感器因具备体积小、功耗低等优势得到了广泛应用。图1为一种CMOS传感器中像素电路的结构及信号时序示意图。CMOS传感器可以包括多个像素电路,每个像素电路可以包括图1中的(a)所示的电路。In the field of image sensors, CMOS sensors have been widely used due to their advantages of small size and low power consumption. FIG. 1 is a schematic diagram of the structure and signal timing of a pixel circuit in a CMOS sensor. The CMOS sensor may include a plurality of pixel circuits, and each pixel circuit may include the circuit shown in (a) of FIG. 1 .
结合图1中的(a)和图1中的(b)所示,CMOS传感器工作过程中,首先光电二极管(Photo Diode,PD)产生光电转换,将接收到的光子转换为电子。当曝光结束进行信号读出后,传输门晶体管(Transfer gate,TX)被打开,积累在光电二极管PD中的电子被转移到浮动扩散节点FD。电子引起浮动扩散节点FD电压变化,由源极跟随器输出至信号线上,再通过ADC进行转换并读出。As shown in (a) in Figure 1 and (b) in Figure 1, in the working process of the CMOS sensor, the photodiode (Photo Diode, PD) first generates photoelectric conversion, and converts the received photons into electrons. When the exposure is finished and the signal is read out, the transfer gate transistor (Transfer gate, TX) is turned on, and the electrons accumulated in the photodiode PD are transferred to the floating diffusion node FD. The electrons cause the voltage change of the floating diffusion node FD, which is output to the signal line by the source follower, and then converted and read by the ADC.
以CMOS传感器为全局快门CMOS传感器为例,图2为一种全局快门CMOS传感器最后一行像素的信号时序示意图,如图2所示,由于全局快门CMOS传感器可以让所有像素电路中的光电二极管同时完成曝光,然后逐行读出像素。因此对于最后一行像素而言,在读取前面多行像素的过程中,最后一行像素电路采集的信号一直存储在FD中。受结构和材料缺陷等因素影响,电子存储在FD时会受到暗电流的影响,导致图像白平衡后仍会出现偏色现象。而且暗电流噪声会严重影响图像信噪比,导致图像质量明显下降。Taking the CMOS sensor as a global shutter CMOS sensor as an example, Figure 2 is a schematic diagram of the signal timing of the last row of pixels of a global shutter CMOS sensor, as shown in Figure 2, since the global shutter CMOS sensor can allow the photodiodes in all pixel circuits to simultaneously complete exposure, and then read out the pixels row by row. Therefore, for the last row of pixels, during the process of reading the previous rows of pixels, the signals collected by the last row of pixel circuits are always stored in the FD. Affected by factors such as structural and material defects, electronic storage in FD will be affected by dark current, resulting in color cast after image white balance. Moreover, the dark current noise will seriously affect the signal-to-noise ratio of the image, resulting in a significant decrease in image quality.
为了降低全局快门CMOS传感器中暗电流的影响,全局快门CMOS传感器可以在光电二极管PD和浮动扩散节点FD中间增加电荷存储区(memory,MEM),电荷存储区MEM用于存储光电二极管PD传输的电子。通过电荷存储区MEM的设计,可以减少电子在浮动扩散节点FD的停留时间,避免暗电流的影响。In order to reduce the influence of dark current in the global shutter CMOS sensor, the global shutter CMOS sensor can add a charge storage area (memory, MEM) between the photodiode PD and the floating diffusion node FD, and the charge storage area MEM is used to store the electrons transmitted by the photodiode PD . Through the design of the charge storage region MEM, the residence time of electrons in the floating diffusion node FD can be reduced, and the influence of dark current can be avoided.
图3为一种全局快门CMOS传感器中像素电路的结构及最后一行像素的信号时序示意图,CMOS传感器可以包括多个像素电路,每个像素电路可以包括图3中的(a)所示的电路。FIG. 3 is a schematic diagram of the structure of a pixel circuit in a global shutter CMOS sensor and the signal timing of the last row of pixels. The CMOS sensor may include multiple pixel circuits, and each pixel circuit may include the circuit shown in (a) in FIG. 3 .
如图3中的(a)所示,多个像素电路中的每个像素电路包括光电二极管PD、浮动扩散节点FD、电荷存储区MEM、传输门晶体管TX1和TX2、复位开关RST和GRST、源极跟随器和选择晶体管。其中,PD用于实现光电转换。TX1为用于控制电子从光电二极管PD传输到电荷存储区MEM的开关。电荷存储区MEM用于存储光电二极管PD产生的电子。TX2为用于控制电子从电荷存储区MEM传输到浮动扩散节点FD的开关。浮动扩散节点FD用于存储光电转换产生的电子。复位开关RST和GRST用于重置像素电路中的电压信号。源极跟随器为用于控制浮动扩散节点FD的电子传输到信号线的开关。选择晶体管为用于信号输出的开关,通过选择晶体管可以控制哪个像素电路采集的信号先输出,哪个像素电路采集的信号后输出。As shown in (a) of FIG. 3 , each of the plurality of pixel circuits includes a photodiode PD, a floating diffusion node FD, a charge storage area MEM, transfer gate transistors TX1 and TX2, reset switches RST and GRST, a source pole follower and select transistor. Among them, PD is used to realize photoelectric conversion. TX1 is a switch for controlling the transfer of electrons from the photodiode PD to the charge storage area MEM. The charge storage area MEM is used to store electrons generated by the photodiode PD. TX2 is a switch for controlling the transfer of electrons from the charge storage area MEM to the floating diffusion node FD. The floating diffusion node FD is used to store electrons generated by photoelectric conversion. The reset switches RST and GRST are used to reset the voltage signal in the pixel circuit. The source follower is a switch for controlling the transfer of electrons from the floating diffusion node FD to the signal line. The selection transistor is a switch for signal output, through which the signal collected by the pixel circuit can be controlled to output first, and which pixel circuit will output the signal collected later.
结合图3中的(a)和图3中的(b),对全局快门CMOS传感器的工作过程进行介绍。首先,在曝光阶段,TX1、TX2、RST、GRST、源极跟随器和选择晶体管均处于关断状态,PD接收光照进行光电转换,将接收到的光子转换为电子。在曝光阶段,复位开关RST和选择晶体管被导通,进行晶体管的复位,可以将FD中上一次信号传输残留的电子被传导出去,避免对这一次的信号传输产生干扰。然后,在曝光结束后,TX1被导通,积累在PD中的电子被转移到MEM。由于全局快门CMOS传感器可以让所有像素电路中的光电二极管同时完成曝光,并逐行读出像素。对于最后一行像素而言,在读取前面多行像素的过程中,最后一行像素电路采集的信号一直存储在MEM中,当读出该行时,TX2被导通,MEM上的电子才会传输到FD上。FD上累积的电子产生电压,可以将源极跟随器导通,并控制选择晶体管导通,从而可以将FD上的电子传输到信号线上。最后,可以将所有的晶体管导通进行一次重置,并进入下一次图像采集。Combining (a) and (b) in Figure 3, the working process of the global shutter CMOS sensor is introduced. First, in the exposure stage, TX1, TX2, RST, GRST, source follower and selection transistor are all in the off state, and the PD receives light for photoelectric conversion, and converts the received photons into electrons. In the exposure stage, the reset switch RST and the selection transistor are turned on to reset the transistor, which can conduct the remaining electrons from the last signal transmission in the FD to avoid interference with this signal transmission. Then, after the exposure ends, TX1 is turned on, and the electrons accumulated in the PD are transferred to the MEM. Due to the global shutter CMOS sensor, the photodiodes in all pixel circuits can be exposed at the same time, and the pixels are read out row by row. For the last row of pixels, in the process of reading the previous rows of pixels, the signal collected by the last row of pixel circuits is always stored in the MEM. When the row is read out, TX2 is turned on, and the electrons on the MEM will be transmitted. to the FD. The electrons accumulated on the FD generate a voltage, which can turn on the source follower and control the select transistor to turn on, so that the electrons on the FD can be transmitted to the signal line. Finally, all transistors can be turned on to perform a reset and proceed to the next image acquisition.
结合图3中的(b)可知,对于全局快门CMOS传感器中的每行像素而言,只有该行像素进入信号读出阶段,电子才会传输到FD并读出。因此通过在像素电路中设置电荷存储区,可以减少电子在FD的停留时间,降低暗电流的影响。Combining with (b) in Figure 3, it can be seen that for each row of pixels in the global shutter CMOS sensor, only when the row of pixels enters the signal readout stage, electrons will be transmitted to the FD and read out. Therefore, by setting the charge storage area in the pixel circuit, the residence time of electrons in the FD can be reduced, and the influence of dark current can be reduced.
在智能交通场景中,摄像机的拍摄对象是高速运动的车辆。如图4所示,以夜晚十字路口场景为例,被车灯直射的车牌等区域照度可达数千勒克斯,而其他区域照度可能只有几勒克斯,因此动态范围非常大。如果采用单次曝光,那么单次曝光的成像动态范围有限,如图4中的(a)所示,若针对全画面控制曝光,容易出现过曝现象,导致车牌信息丢失。如图4中的(b)所示,若针对车牌控制曝光,则画面整体会出现欠曝现象,细节过暗甚至丢失。In the intelligent traffic scene, the object of the camera is a high-speed moving vehicle. As shown in Figure 4, taking the intersection scene at night as an example, the illuminance of areas such as license plates directly illuminated by car lights can reach several thousand lux, while the illuminance of other areas may only be a few lux, so the dynamic range is very large. If a single exposure is used, the imaging dynamic range of a single exposure is limited, as shown in (a) in Figure 4. If the exposure is controlled for the full frame, overexposure is prone to occur, resulting in the loss of license plate information. As shown in (b) in Figure 4, if the exposure is controlled for the license plate, the overall picture will be underexposed, and the details will be too dark or even lost.
为了提升图像的动态范围,本申请实施例提供一种全局快门CMOS传感器的宽动态成像方案。如图5所示,在第一次曝光完成后,将光电二极管PD产生的电子传输至电荷存储区MEM。在第二次曝光完成后,也将光电二极管PD产生的电子存储至电荷存储区,因此第二次曝光必须等到第一次曝光全部读出后才能进行。由于全局快门CMOS传感器中的光电二极管同时完成曝光后,是逐行读出像素的,因此第一次曝光全部读出需要的时间较长,这将导致第一次曝光和第二次曝光之间的时间间隔较长。In order to improve the dynamic range of an image, an embodiment of the present application provides a wide dynamic imaging solution of a global shutter CMOS sensor. As shown in FIG. 5, after the first exposure is completed, the electrons generated by the photodiode PD are transferred to the charge storage region MEM. After the second exposure is completed, the electrons generated by the photodiode PD are also stored in the charge storage region, so the second exposure must wait until the first exposure is completely read out. Since the photodiodes in the global shutter CMOS sensor complete exposure at the same time, the pixels are read out row by row, so it takes a long time to read out all the first exposures, which will result in a gap between the first exposure and the second exposure. longer time interval.
然而,在智能交通等场景中,当车辆或其他被拍摄的物体快速移动时,如果两次曝光之间的时间间隔较长,将导致两帧图像存在明显的运动位移,造成两次曝光的图像进行宽动态合成的结果会出现运动伪影。However, in scenarios such as intelligent transportation, when vehicles or other objects to be photographed are moving rapidly, if the time interval between two exposures is long, there will be obvious motion displacement in the two frames of images, resulting in two-exposure images Motion artifacts can appear as a result of WDR compositing.
为了缓解两次曝光之间的时间间隔较长,导致两帧图像存在明显的运动位移,造成两次曝光的图像进行宽动态合成的结果会出现运动伪影的问题,本申请实施例提供一种摄像机,该摄像机能够降低两次曝光之间的时间间隔,确保两次曝光拍摄的图像中运动物体没有明显的移动,从而在对两次曝光拍摄的图像进行宽动态合成时,能够得到清晰的宽动态图像。而且本申请通过去除暗电流噪声和kTC噪声,能够进一步提升图像的信噪比。In order to alleviate the problem that the time interval between two exposures is long, resulting in obvious motion displacement of the two frames of images, causing motion artifacts in the result of wide dynamic synthesis of the two-exposure images, the embodiment of the present application provides a The camera, which can reduce the time interval between two exposures, ensures that there is no obvious movement of moving objects in the images taken by the two exposures, so that when the images taken by the two exposures are combined in wide dynamic range, clear wide-angle images can be obtained. dynamic image. Moreover, the present application can further improve the signal-to-noise ratio of the image by removing dark current noise and kTC noise.
本申请实施例提供一种摄像机,如图6所示,该摄像机包括CMOS传感器和控制器,CMOS传感器包括多个像素电路,多个像素电路中的每个像素电路包括至少一个光电二极管PD,电荷存储区MEM,耦合在光电二极管PD与电荷存储区MEM之间的第一晶体管TX1,以及耦合在电荷存储区MEM与浮动扩散节点FD之间的第二晶体管TX2。An embodiment of the present application provides a camera. As shown in FIG. 6, the camera includes a CMOS sensor and a controller. The CMOS sensor includes a plurality of pixel circuits, and each pixel circuit in the plurality of pixel circuits includes at least one photodiode PD. The storage area MEM, the first transistor TX1 coupled between the photodiode PD and the charge storage area MEM, and the second transistor TX2 coupled between the charge storage area MEM and the floating diffusion node FD.
图6中第一晶体管TX1的栅极和第二晶体管TX2的栅极可以耦合至控制器(图6中未示出)。在本申请实施例中,第一晶体管TX1和第二晶体管TX2一般处于关断状态,当需要导通第一晶体管TX1和第二晶体管TX2时,控制器可以向第一晶体管TX1的栅极和第二晶体管TX2的栅极发送脉冲信号,在脉冲信号的作用下,该第一晶体管TX1和第二晶体管TX2导通。The gates of the first transistor TX1 and the second transistor TX2 in FIG. 6 may be coupled to a controller (not shown in FIG. 6 ). In the embodiment of the present application, the first transistor TX1 and the second transistor TX2 are generally in the off state. When the first transistor TX1 and the second transistor TX2 need to be turned on, the controller can provide The gate of the second transistor TX2 sends a pulse signal, under the action of the pulse signal, the first transistor TX1 and the second transistor TX2 are turned on.
对于每个像素电路,控制器,用于:For each pixel circuit, a controller for:
在第一曝光结束后产生用于导通第一晶体管TX1的第一脉冲信号,将光电二极管PD产生的第一电子转移至电荷存储区MEM。After the first exposure is finished, a first pulse signal for turning on the first transistor TX1 is generated to transfer the first electrons generated by the photodiode PD to the charge storage region MEM.
在第二曝光开始前产生用于导通第二晶体管TX2的第二脉冲信号,将电荷存储区MEM存储的第一电子转移至浮动扩散节点FD。Before the second exposure starts, a second pulse signal for turning on the second transistor TX2 is generated to transfer the first electrons stored in the charge storage region MEM to the floating diffusion node FD.
在第二曝光结束后产生用于导通第一晶体管TX1的第三脉冲信号,将光电二极管PD产生的第二电子转移至电荷存储区MEM。After the second exposure is finished, a third pulse signal for turning on the first transistor TX1 is generated to transfer the second electrons generated by the photodiode PD to the charge storage region MEM.
结合图6,如图7所示,CMOS传感器产生第一曝光时,光电二极管PD接收光子并进行光电转换,累积第一电子。在第一曝光结束后,控制器产生导通第一晶体管TX1的第一脉冲信号,在第一脉冲信号的作用下第一晶体管TX1导通,光电二极管PD产生的第一电子转移至电荷存储区MEM。在CMOS传感器产生第二曝光之前,控制器产生导通第二晶体管TX2的第二脉冲信号,在第二脉冲信号的作用下第二晶体管TX2导通,电荷存储区MEM存储的第一电子转移至浮动扩散节点FD。CMOS传感器产生第二曝光时,光电二极管PD接收光子并进行光电转换,累积第二电子。在第二曝光结束后,控制器产生导通第一晶体管TX1的第三脉冲信号,在第三脉冲信号的作用下第一晶体管TX1导通,光电二极管PD产生的第二电子转移至电荷存储区MEM。Referring to FIG. 6 , as shown in FIG. 7 , when the CMOS sensor generates the first exposure, the photodiode PD receives the photons and performs photoelectric conversion to accumulate the first electrons. After the first exposure, the controller generates a first pulse signal to turn on the first transistor TX1, and the first transistor TX1 is turned on under the action of the first pulse signal, and the first electrons generated by the photodiode PD are transferred to the charge storage area MEM. Before the CMOS sensor produces the second exposure, the controller generates a second pulse signal to turn on the second transistor TX2, and the second transistor TX2 is turned on under the action of the second pulse signal, and the first electrons stored in the charge storage area MEM are transferred to Floating diffusion node FD. When the CMOS sensor generates the second exposure, the photodiode PD receives photons and performs photoelectric conversion to accumulate second electrons. After the second exposure, the controller generates a third pulse signal to turn on the first transistor TX1, and under the action of the third pulse signal, the first transistor TX1 is turned on, and the second electrons generated by the photodiode PD are transferred to the charge storage area MEM.
根据本申请实施例提供的方案,由于第二曝光开始前,第一曝光产生的电子已经转移至浮动扩散节点FD,因此第二曝光产生的电子就可以直接存储在电荷存储区MEM。与图5所示的方案中第二次曝光必须等到第一次曝光全部读出后才能进行相比,本方案中由于第一曝光产生的第一电子从光电二极管PD传输并存储在浮动扩散节点FD中,而第二曝光产生的第二电子传输并存储在电荷存储区MEM,即第一曝光产生的第一电子和第二曝光产生的第二电子可以存储在不同的器件中,因此第二曝光不需要等待第一曝光读出以后再进行,能够减小第二曝光与第一曝光之间的时间间隔,实现无时隙全局曝光。According to the solution provided by the embodiment of the present application, since the electrons generated in the first exposure have been transferred to the floating diffusion node FD before the start of the second exposure, the electrons generated in the second exposure can be directly stored in the charge storage region MEM. Compared with the scheme shown in Figure 5 in which the second exposure must wait until the first exposure is fully read out, in this scheme the first electrons generated due to the first exposure are transferred from the photodiode PD and stored in the floating diffusion node In FD, the second electrons generated by the second exposure are transferred and stored in the charge storage area MEM, that is, the first electrons generated by the first exposure and the second electrons generated by the second exposure can be stored in different devices, so the second The exposure does not need to wait for the readout of the first exposure, and the time interval between the second exposure and the first exposure can be reduced to realize global exposure without time slots.
可选的,上述CMOS传感器可以为全局快门CMOS传感器,即CMOS传感器中的光电二极管PD可以同时完成曝光,然后再逐行读出。对于上述第一曝光和第二曝光而言,可以先逐行读出第一曝光对应的第一图像,然后再逐行读出第二曝光对应的第二图像。由于第一图像和第二图像的读出方式不同,可以将第一图像称为DDS帧,第二图像可以称为CDS帧。Optionally, the above CMOS sensor can be a global shutter CMOS sensor, that is, the photodiodes PD in the CMOS sensor can complete exposure at the same time, and then read out row by row. For the above-mentioned first exposure and second exposure, first the first image corresponding to the first exposure can be read out line by line, and then the second image corresponding to the second exposure can be read out line by line. Since the readout methods of the first image and the second image are different, the first image may be called a DDS frame, and the second image may be called a CDS frame.
可选的,如图6所示,每个像素电路还可以包括第三晶体管TX3和第四晶体管TX4,第三晶体管TX3的栅极耦合至浮动扩散节点FD,第三晶体管TX3的源极耦合至第四晶体管TX4的漏极,第三晶体管TX3的漏极耦合至预设电压,第四晶体管TX4的栅极耦合至控制器,第四晶体管的源极为信号输出端。Optionally, as shown in FIG. 6, each pixel circuit may further include a third transistor TX3 and a fourth transistor TX4, the gate of the third transistor TX3 is coupled to the floating diffusion node FD, and the source of the third transistor TX3 is coupled to The drain of the fourth transistor TX4, the drain of the third transistor TX3 are coupled to a predetermined voltage, the gate of the fourth transistor TX4 is coupled to the controller, and the source of the fourth transistor is a signal output terminal.
结合图6,如图7所示,在读出第一曝光对应的第一图像时,FD上累积的第一电子产生第一FD电压,由第三晶体管转换为第一输出电压。控制器产生导通第四晶体管TX4的脉冲信号,在该脉冲信号的作用下第四晶体管TX4导通,从而将第一输出电压读出。在读出第二曝光对应的第二图像时,控制器可以产生导通第二晶体管TX2的脉冲信号,在该脉冲信号的作用下第二晶体管TX2导通,电荷存储区MEM存储的第二电子转移至浮动扩散节点FD。FD上累积的第二电子产生第二FD电压,由第三晶体管转换为第二输出电压。控制器再次产生控制第四晶体管TX4的脉冲信号,将第二输出电压读出。可以理解的,由于第一曝光产生的第一电子一直存储在FD中,因此在读出第一曝光对应的第一图像时,可以直接将FD上的第一电子读出。由于第二曝光产生的第二电子一直存储在MEM中,因此在读出第二曝光对应的第二图像时,可以先将MEM上的第二电子转移至FD上,再将FD上的第二电子读出。正是因为两次曝光产生的电子分别存储在FD和MEM,因此第二次的曝光不需要等待第一次曝光读出以后再进行,能够实现无时隙双重全局曝光。Referring to FIG. 6 , as shown in FIG. 7 , when the first image corresponding to the first exposure is read out, the first electrons accumulated on the FD generate a first FD voltage, which is converted into a first output voltage by the third transistor. The controller generates a pulse signal to turn on the fourth transistor TX4, and the fourth transistor TX4 is turned on under the action of the pulse signal, so as to read out the first output voltage. When reading out the second image corresponding to the second exposure, the controller can generate a pulse signal to turn on the second transistor TX2. Under the action of the pulse signal, the second transistor TX2 is turned on, and the second electrons stored in the charge storage area MEM Transfer to floating diffusion node FD. The second electrons accumulated on the FD generate a second FD voltage, which is converted into a second output voltage by the third transistor. The controller again generates a pulse signal for controlling the fourth transistor TX4 to read out the second output voltage. It can be understood that since the first electrons generated by the first exposure are always stored in the FD, when reading out the first image corresponding to the first exposure, the first electrons on the FD can be directly read out. Since the second electrons generated by the second exposure are always stored in the MEM, when reading out the second image corresponding to the second exposure, the second electrons on the MEM can be transferred to the FD first, and then the second electrons on the FD can be transferred to the FD. electronic readout. It is precisely because the electrons generated by the two exposures are stored in the FD and MEM respectively, so the second exposure does not need to wait for the readout of the first exposure, and double global exposure without time slot can be realized.
需要说明的是,在逐行读出第一图像中相应像素点的信号时,由于第一图像中相应像素电路采集的信号一直存储在FD上,受结构和材料缺陷等因素影响,电子存储在FD时会受到暗电流的影响,导致图像白平衡后仍会出现偏色现象。而且暗电流会严重影响图像信噪比,导致图像质量明显下降。由于暗电流在不同CMOS图像传感器中存在差异,并具有很强的温度依赖性。因此,无法用预先标定的数据或首次安装摄像机时标定的数据进行补偿。为了缓解暗电流造成的第一图像的信噪比较差的问题,本申请实施例还提供一种方案,通过对暗电流噪声进行标定,并根据标定的暗电流对第一图像进行校正,能够减少暗电流影响,提升第一图像的信噪比。下面对暗电流噪声的标定方法进行介绍。It should be noted that when the signals of the corresponding pixel points in the first image are read out line by line, since the signals collected by the corresponding pixel circuits in the first image are always stored on the FD, affected by factors such as structural and material defects, the electrons stored in the FD will be affected by dark current, resulting in color cast phenomenon after image white balance. Moreover, the dark current will seriously affect the signal-to-noise ratio of the image, resulting in a significant decline in image quality. Because the dark current varies among different CMOS image sensors and has a strong temperature dependence. Therefore, it is not possible to compensate with pre-calibrated data or data calibrated when the camera was first installed. In order to alleviate the problem of poor signal-to-noise ratio of the first image caused by dark current, the embodiment of the present application also provides a solution, by calibrating the dark current noise and correcting the first image according to the calibrated dark current, it can Reduce the influence of dark current and improve the signal-to-noise ratio of the first image. The calibration method of dark current noise is introduced below.
控制器,还用于在第三曝光结束后产生用于导通第四晶体管TX4的第四脉冲信号,将浮动扩散节点FD上的噪声信号读出。The controller is further configured to generate a fourth pulse signal for turning on the fourth transistor TX4 after the third exposure is finished, and read out the noise signal on the floating diffusion node FD.
如图6所示,在标定模式下,CMOS传感器产生第三曝光时,光电二极管PD接收光子并进行光电转换,累积第三电子。在第三曝光结束后,控制器不会产生导通第一晶体管TX1的第一脉冲信号,因此光电二极管PD产生的第三电子不会传输至电荷存储区MEM,也不会传输至浮动扩散节点FD。浮动扩散节点FD上暗电流产生第三FD电压,通过第三晶体管转换为第三输出电压。控制器产生控制第四晶体管TX4的脉冲信号,将第三输出电压读出。该第三输出电压即为暗电流噪声信号。CMOS传感器中多个像素电路中每个像素电路采集的暗电流噪声信号转换后得到的图像可以称为暗帧,也可以称为DDS暗帧。该DDS暗帧用于表示标定出的暗电流噪声。As shown in FIG. 6 , in the calibration mode, when the CMOS sensor generates the third exposure, the photodiode PD receives the photons and performs photoelectric conversion to accumulate the third electrons. After the third exposure, the controller will not generate the first pulse signal to turn on the first transistor TX1, so the third electrons generated by the photodiode PD will not be transferred to the charge storage region MEM, nor will they be transferred to the floating diffusion node FD. The dark current on the floating diffusion node FD generates a third FD voltage, which is converted into a third output voltage by the third transistor. The controller generates a pulse signal controlling the fourth transistor TX4 to read out the third output voltage. The third output voltage is the dark current noise signal. The image obtained after converting the dark current noise signal collected by each pixel circuit in the multiple pixel circuits in the CMOS sensor may be called a dark frame, or may be called a DDS dark frame. The DDS dark frame is used to represent the calibrated dark current noise.
可选的,如图6所示,每个像素电路还可以包括复位开关RST和GRST,该复位开关RST和GRST可以用于重置像素电路中的电压信号。例如,在第三曝光结束后,控制器可以产生用于导通GRST的脉冲信号,在该脉冲信号的作用下,GRST导通,PD上产生的第三电子可以被传导出去,避免对之后曝光产生的信号造成干扰。再例如,在曝光阶段,控制器可以产生用于导通RST的脉冲信号,在该脉冲信号的作用下,RST导通,可以将FD中残留的电子被传导出去,避免对之后曝光产生的信号造成干扰。Optionally, as shown in FIG. 6 , each pixel circuit may further include reset switches RST and GRST, and the reset switches RST and GRST may be used to reset the voltage signal in the pixel circuit. For example, after the end of the third exposure, the controller can generate a pulse signal for turning on the GRST. Under the action of the pulse signal, the GRST is turned on, and the third electrons generated on the PD can be conducted away, so as not to affect the subsequent exposure. The resulting signal causes interference. For another example, in the exposure stage, the controller can generate a pulse signal for turning on the RST. Under the action of the pulse signal, the RST is turned on, and the electrons remaining in the FD can be conducted away, avoiding the signal generated by the subsequent exposure. cause disturbance.
可选的,在标定模式下,控制器还用于在第四曝光结束后产生用于导通第一晶体管的第五脉冲信号,将光电二极管产生的第四电子转移至电荷存储区。Optionally, in the calibration mode, the controller is further configured to generate a fifth pulse signal for turning on the first transistor after the fourth exposure, so as to transfer the fourth electrons generated by the photodiode to the charge storage region.
如图6所示,在标定模式下,CMOS传感器产生第四曝光时,光电二极管PD接收光子并进行光电转换,累积第四电子。在第四曝光结束后,控制器产生导通第一晶体管TX1的第五脉冲信号,在第五脉冲信号的作用下第一晶体管TX1导通,光电二极管PD产生的第二电子转移至电荷存储区MEM。在读出第四曝光对应的第四图像时,控制器可以产生导通第二晶体管TX2的脉冲信号,在该脉冲信号的作用下第二晶体管TX2导通,电荷存储区MEM存储的第四电子转移至浮动扩散节点FD。第四电子在FD节点形成第四FD电压,通过第三晶体管转换为第四输出电压。控制器再次产生控制第四晶体管TX4的脉冲信号,将第四输出电压读出。CMOS传感器中多个像素电路中每个像素电路采集的第四输出电压转换后得到的图像即为第四图像。该第四图像可以称为CDS帧。As shown in FIG. 6 , in the calibration mode, when the CMOS sensor generates the fourth exposure, the photodiode PD receives photons and performs photoelectric conversion to accumulate fourth electrons. After the fourth exposure, the controller generates a fifth pulse signal to turn on the first transistor TX1, and under the action of the fifth pulse signal, the first transistor TX1 is turned on, and the second electrons generated by the photodiode PD are transferred to the charge storage area MEM. When reading out the fourth image corresponding to the fourth exposure, the controller can generate a pulse signal to turn on the second transistor TX2. Under the action of the pulse signal, the second transistor TX2 is turned on, and the fourth electrons stored in the charge storage area MEM Transfer to floating diffusion node FD. The fourth electrons form a fourth FD voltage at the FD node, which is converted into a fourth output voltage by the third transistor. The controller again generates a pulse signal for controlling the fourth transistor TX4 to read out the fourth output voltage. The image obtained after conversion of the fourth output voltage collected by each of the plurality of pixel circuits in the CMOS sensor is the fourth image. This fourth image may be referred to as a CDS frame.
可选的,上述第四曝光的时长与第二曝光的时长相同,第三曝光的时长与第一曝光的时长相同。第四曝光与第三曝光之间间隔的时长与第二曝光与第一曝光之间间隔的时长也相同。Optionally, the duration of the fourth exposure is the same as that of the second exposure, and the duration of the third exposure is the same as that of the first exposure. The duration of the interval between the fourth exposure and the third exposure is also the same as the interval between the second exposure and the first exposure.
需要说明的是,在标定暗电流噪声时,可以仅通过CMOS传感器产生第三曝光标定暗电流噪声,也可以通过CMOS传感器依次产生第三曝光和第四曝光标定暗电流噪声,下述实施例以CMOS传感器依次产生第三曝光和第四曝光标定暗电流噪声为例对本申请的方案进行介绍。It should be noted that when calibrating the dark current noise, the third exposure calibration dark current noise can be generated only by the CMOS sensor, or the third exposure calibration and the fourth exposure calibration dark current noise can be sequentially generated by the CMOS sensor. The following embodiments are based on The scheme of the present application is introduced by taking the CMOS sensor sequentially generating the third exposure and the fourth exposure to calibrate the dark current noise as an example.
可以理解的,上述CMOS传感器产生第一曝光和第二曝光的工作模式可以称为噪声补偿模式,上述CMOS传感器产生第三曝光和第四曝光的工作模式可以称为噪声标定模式。由于噪声补偿模式下拍摄的第一曝光对应第一图像受暗电流影响,导致第一图像的色彩和信噪比较差。因此,可以通过噪声标定模式下标定的暗电流噪声对第一图像进行校正,以减少暗电流影响,提升图像的信噪比。下面对暗电流噪声的校正方法进行介绍。It can be understood that the working mode in which the CMOS sensor generates the first exposure and the second exposure may be called a noise compensation mode, and the working mode in which the CMOS sensor generates the third exposure and fourth exposure may be called a noise calibration mode. Because the first image corresponding to the first exposure shot in the noise compensation mode is affected by the dark current, the color and signal-to-noise ratio of the first image are poor. Therefore, the first image can be corrected by using the calibrated dark current noise in the noise calibration mode, so as to reduce the influence of the dark current and improve the signal-to-noise ratio of the image. The correction method of the dark current noise is introduced below.
如图8所示,摄像机还可以包括处理器,该处理器用于:获取第一图像和暗帧,暗帧为多个像素电路中每个像素电路采集的噪声信号转换后得到的图像。并根据暗帧,对第一图像进行处理,得到去噪声后的第一图像。As shown in FIG. 8 , the camera may further include a processor configured to: acquire a first image and a dark frame, where the dark frame is an image converted from a noise signal collected by each pixel circuit in the plurality of pixel circuits. And according to the dark frame, the first image is processed to obtain the first image after denoising.
示例性的,处理器可以采用噪声校正算法对受暗电流影响的第一图像进行噪声校正,比如,可以将第一图像与暗帧作差,得到去噪声后的第一图像。由于第一图像中包含图像信号和噪声信号,因此利用标定模式得到的噪声信号可以进行噪声校正,从而得到高信噪比的图像。Exemplarily, the processor may use a noise correction algorithm to perform noise correction on the first image affected by the dark current, for example, may make a difference between the first image and the dark frame to obtain the first image after denoising. Since the first image contains an image signal and a noise signal, noise correction can be performed on the noise signal obtained by using the calibration mode, so as to obtain an image with a high signal-to-noise ratio.
可以理解的,本申请通过暗电流噪声标定可以近似得到当前图像的噪声分布情况,然后利用噪声校正算法,可以去除暗电流带来的噪声影响,提升图像的信噪比。It can be understood that the present application can approximate the noise distribution of the current image through the dark current noise calibration, and then use the noise correction algorithm to remove the noise effect caused by the dark current and improve the signal-to-noise ratio of the image.
以上述噪声补偿模式时第一曝光对应的第一图像为DDS正常帧,第二曝光对应的第二图像为CDS正常帧,噪声标定模式时第三曝光得到的暗帧为DDS暗帧,第四曝光对应的第四图像为CDS正常帧为例。在摄像机抓拍经过特定抓拍线的车辆时,抓拍频率为每秒几张的场景下,如图9所示,当车辆没有到达抓拍线时,摄像机没有抓拍需求。此时,CMOS传感器可以配置为噪声标定模式,以固定频率得到一帧DDS暗帧和一帧CDS正常帧,其中DDS暗帧用于更新噪声分布图,CDS正常帧用于输出视频流。噪声分布图的更新与CMOS传感器的启动有关。当CMOS传感器刚启动时,第一次得到的DDS暗帧作为噪声分布初始值。从第二次得到的DDS暗帧开始,已有的噪声分布图用新得到的DDS暗帧进行更新,更新方式可以是加权平均或其他方式。通过不断地更新噪声分布图,可以减少随机噪声的影响,提高去噪后图像的信噪比。In the above noise compensation mode, the first image corresponding to the first exposure is a DDS normal frame, the second image corresponding to the second exposure is a CDS normal frame, the dark frame obtained by the third exposure in the noise calibration mode is a DDS dark frame, and the fourth The fourth image corresponding to the exposure is a CDS normal frame as an example. When the camera captures a vehicle passing a specific capture line, the capture frequency is several frames per second, as shown in Figure 9, when the vehicle does not reach the capture line, the camera does not need to capture. At this time, the CMOS sensor can be configured in noise calibration mode to obtain a DDS dark frame and a CDS normal frame at a fixed frequency, where the DDS dark frame is used to update the noise distribution map, and the CDS normal frame is used to output the video stream. The update of the noise profile is related to the startup of the CMOS sensor. When the CMOS sensor is just started, the DDS dark frame obtained for the first time is used as the initial value of the noise distribution. Starting from the second obtained DDS dark frame, the existing noise distribution map is updated with the newly obtained DDS dark frame, and the update method can be weighted average or other methods. By continuously updating the noise distribution map, the influence of random noise can be reduced and the signal-to-noise ratio of the image after denoising can be improved.
如图9所示,当车辆到达抓拍线以后,由摄像机主控芯片下发抓拍命令,改变工作模式为噪声补偿模式。此时CMOS传感器输出一帧DDS正常帧和一帧CDS正常帧。DDS正常帧利用标定模式得到的噪声分布图进行噪声抑制处理,得到降噪DDS图像,消除暗电流噪声的影响,提升图像信噪比。As shown in Figure 9, when the vehicle reaches the capture line, the main control chip of the camera issues a capture command to change the working mode to the noise compensation mode. At this time, the CMOS sensor outputs a DDS normal frame and a CDS normal frame. The normal DDS frame uses the noise distribution map obtained in the calibration mode to perform noise suppression processing to obtain a noise-reduced DDS image, eliminate the influence of dark current noise, and improve the image signal-to-noise ratio.
对于本申请提出的无时隙双重全局曝光方案,如果第一曝光的时长小于第二曝光的时长,即DDS帧的曝光时间设置为短曝光时间,CDS帧的曝光时间设置为长曝光时间。由于在第一曝光读出时,浮动扩散节点FD已经用于存储该第一曝光得到的第一电子,因此必须先进行“图像信号”的读出,然后再重置浮动扩散节点FD,再进行“重置信号”的读出。此时从“图像信号”减去“重置信号”,将导致无法消除kTC噪声。由于对于DDS帧而言,图像中kTC噪声的分布相对均匀,因此图像信号较低时(暗区)kTC噪声最明显,信噪比最低。为了减少kTC噪声的影响,本申请提出了可以将消除暗电流噪声后的第一图像与第二图像进行宽动态合成,以降低kTC噪声的影响。For the non-slot dual global exposure scheme proposed in this application, if the duration of the first exposure is shorter than the duration of the second exposure, that is, the exposure time of the DDS frame is set to a short exposure time, and the exposure time of a CDS frame is set to a long exposure time. Since the floating diffusion node FD has been used to store the first electrons obtained by the first exposure during the first exposure readout, the "image signal" must be read out first, and then the floating diffusion node FD is reset, and then Readout of "reset signal". Subtracting the "reset signal" from the "image signal" at this point will result in failure to remove kTC noise. Since the distribution of kTC noise in the image is relatively uniform for DDS frames, the kTC noise is most obvious when the image signal is low (dark area), and the signal-to-noise ratio is the lowest. In order to reduce the influence of kTC noise, the present application proposes that the first image after the dark current noise has been eliminated can be combined with the second image in wide dynamic range, so as to reduce the influence of kTC noise.
上述处理器还用于根据去噪声后的第一图像和第二曝光对应的第二图像,得到宽动态图像。The processor is further configured to obtain a wide dynamic image according to the denoised first image and the second image corresponding to the second exposure.
处理器具体用于将去噪声后的第一图像的亮度与第二图像的亮度对齐,得到第三图像。并将第三图像中信号强度低于预设阈值的区域与第二图像中的对应区域进行融合处理,得到宽动态图像。The processor is specifically configured to align the brightness of the denoised first image with the brightness of the second image to obtain a third image. And performing fusion processing on the area in the third image whose signal strength is lower than the preset threshold and the corresponding area in the second image to obtain a wide dynamic image.
可选的,融合处理包括但不限于加权融合或直接替换等处理方式。Optionally, the fusion processing includes but not limited to weighted fusion or direct replacement.
如图10所示,以融合处理为直接替换为例。处理器可以通过将去噪声后的第一图像乘以曝光比例得到第三图像,该曝光比例可以为第二图像曝光时间除以第一图像曝光时间的比值。然后,将第三图像中信号强度低于预设阈值的区域采用第二图像中的对应区域进行直接替换,得到宽动态图像(即图10所示的宽动态范围(high-dynamic range,HDR)合成图像)。即该宽动态图像中信号强度高于预设阈值的区域为第三图像中的对应区域,宽动态图像中信号强度低于预设阈值的区域为第二图像中的对应区域。可以理解的,进行宽动态合成后,较暗区域主要由第二图像(CDS帧)的对应像素进行填充,由于CDS帧可以消除kTC噪声,因此图像暗区的信噪比会有明显的提升。较亮区域的像素为第三图像的对应像素,由于较亮区域中图像信号较强,因此kTC噪声影响相对较小。很显然,通过将去噪声后的第一图像与第二图像进行宽动态合成,可以进一步消除暗区的kTC噪声,同时达到了提升动态范围的效果。As shown in FIG. 10 , take fusion processing as direct replacement as an example. The processor may obtain the third image by multiplying the denoised first image by an exposure ratio, and the exposure ratio may be a ratio of the exposure time of the second image divided by the exposure time of the first image. Then, the area in the third image whose signal intensity is lower than the preset threshold is directly replaced with the corresponding area in the second image to obtain a wide dynamic image (that is, the wide dynamic range (high-dynamic range, HDR) shown in Figure 10 Composite image). That is, the region in the wide dynamic image whose signal strength is higher than the preset threshold is the corresponding region in the third image, and the region in the wide dynamic image whose signal strength is lower than the preset threshold is the corresponding region in the second image. It can be understood that after wide dynamic synthesis, the darker area is mainly filled by the corresponding pixels of the second image (CDS frame). Since the CDS frame can eliminate kTC noise, the signal-to-noise ratio of the dark area of the image will be significantly improved. The pixels in the brighter area are the corresponding pixels of the third image, and since the image signal in the brighter area is stronger, the influence of kTC noise is relatively small. Obviously, by wide dynamic synthesis of the denoised first image and the second image, the kTC noise in the dark area can be further eliminated, and the effect of improving the dynamic range can be achieved at the same time.
图11为本申请实施例提供一种拍摄及图像处理效果的示意图。如图11所示,图11中的(A)所示的图像为包括暗电流噪声和kTC噪声的图像,噪声非常明显。图11中的(B)所示的图像是对图11中的(A)所示的图像进行宽动态合成后的图像,与图11中的(A)相比,图11中的(B)所示的图像虽然提升了信噪比,但是图像质量仍然较差。图11中的(C)所示的图像是对图11中的(A)所示的图像去除暗电流噪声后的图像,信噪比有了明显提升(比如,信噪比提升达到8dB以上)。由于DDS帧读出过程无法消除kTC噪声,而该噪声主要在暗区比较明显。通过本申请中的宽动态合成方法,可以将DDS帧的暗区使用CDS帧中相应的区域进行替换,从而可以减少kTC噪声对图像的影响。图11中的(D)所示的图像是对图11中的(C)所示的图像去除kTC噪声后的图像,可以看到宽动态合成后的图像明显改善了暗区的信噪比,与图11中的(A)所示的图像相比,图像质量有了明显的提升。FIG. 11 is a schematic diagram of shooting and image processing effects provided by an embodiment of the present application. As shown in FIG. 11 , the image shown in (A) in FIG. 11 is an image including dark current noise and kTC noise, and the noise is very obvious. The image shown in (B) among Fig. 11 is the image after wide dynamic synthesis is carried out to the image shown in (A) among Fig. 11, compared with (A) among Fig. 11, (B) among Fig. 11 The image shown has an improved signal-to-noise ratio, but the image quality is still poor. The image shown in (C) in Figure 11 is the image after removing the dark current noise from the image shown in (A) in Figure 11, and the signal-to-noise ratio has been significantly improved (for example, the signal-to-noise ratio has been improved by more than 8dB) . Because the DDS frame readout process cannot eliminate the kTC noise, and the noise is mainly obvious in the dark area. Through the wide dynamic synthesis method in this application, the dark area of the DDS frame can be replaced with the corresponding area in the CDS frame, so that the influence of kTC noise on the image can be reduced. The image shown in (D) in Figure 11 is the image after the kTC noise is removed from the image shown in (C) in Figure 11, and it can be seen that the image after wide dynamic synthesis has significantly improved the signal-to-noise ratio in the dark area, Compared with the image shown in (A) in FIG. 11 , the image quality has been significantly improved.
本申请实施例还提供一种摄像机中的图像处理方法,该摄像机包括CMOS传感器和控制器,CMOS传感器包括多个像素电路,多个像素电路中的每个像素电路包括至少一个光电二极管,电荷存储区,耦合在光电二极管与电荷存储区之间的第一晶体管,耦合在电荷存储区与浮动扩散节点之间的第二晶体管。如图12所示,对于每个像素电路,该方法包括以下步骤S1201-S1203。The embodiment of the present application also provides an image processing method in a camera, the camera includes a CMOS sensor and a controller, the CMOS sensor includes a plurality of pixel circuits, each of the plurality of pixel circuits includes at least one photodiode, and the charge storage region, a first transistor coupled between the photodiode and the charge storage region, and a second transistor coupled between the charge storage region and the floating diffusion node. As shown in FIG. 12, for each pixel circuit, the method includes the following steps S1201-S1203.
S1201、控制器在第一曝光结束后产生用于导通第一晶体管的第一脉冲信号,将光电二极管产生的第一电子转移至电荷存储区。S1201. After the first exposure, the controller generates a first pulse signal for turning on the first transistor, and transfers the first electrons generated by the photodiode to the charge storage region.
S1202、控制器在第二曝光开始前产生用于导通第二晶体管的第二脉冲信号,将电荷存储区存储的第一电子转移至所述浮动扩散节点。S1202. Before the second exposure starts, the controller generates a second pulse signal for turning on the second transistor, and transfers the first electrons stored in the charge storage region to the floating diffusion node.
S1203、控制器在第二曝光结束后产生用于导通第一晶体管的第三脉冲信号,将光电二极管产生的第二电子转移至电荷存储区。S1203. After the second exposure, the controller generates a third pulse signal for turning on the first transistor, and transfers the second electrons generated by the photodiode to the charge storage region.
可选的,每个像素电路还包括第三晶体管和第四晶体管,第三晶体管的栅极耦合至浮动扩散节点,第三晶体管的源极耦合至第四晶体管的漏极,第三晶体管的漏极耦合至预设电压,第四晶体管的栅极耦合至控制器,第四晶体管的源极为信号输出端。如图13所示,上述方法除包括步骤S1201-S1203以外,还可以包括S1204-S1208。Optionally, each pixel circuit further includes a third transistor and a fourth transistor, the gate of the third transistor is coupled to the floating diffusion node, the source of the third transistor is coupled to the drain of the fourth transistor, and the drain of the third transistor The pole is coupled to a preset voltage, the gate of the fourth transistor is coupled to the controller, and the source of the fourth transistor is a signal output terminal. As shown in FIG. 13 , the above method may further include steps S1204-S1208 in addition to steps S1201-S1203.
S1204、控制器在第三曝光结束后产生用于导通第四晶体管的第四脉冲信号,将浮动扩散节点上的噪声信号读出。S1204. After the third exposure, the controller generates a fourth pulse signal for turning on the fourth transistor, and reads out the noise signal on the floating diffusion node.
S1205、控制器在第四曝光结束后产生用于导通第一晶体管的第五脉冲信号,将光电二极管产生的第四电子转移至电荷存储区。S1205. After the fourth exposure, the controller generates a fifth pulse signal for turning on the first transistor, and transfers the fourth electrons generated by the photodiode to the charge storage region.
其中,第四曝光与所述第三曝光之间间隔的时长与第二曝光与第一曝光之间间隔的时长相同。Wherein, the interval between the fourth exposure and the third exposure is the same as the interval between the second exposure and the first exposure.
上述步骤S1201-S1203可以称为噪声补偿模式。步骤S1204-S1205可以称为噪声标定模式。本申请实施例对于上述步骤S1201-S1203和步骤S1204-S1205的先后执行顺序并不限定,图13仅是示例性的以步骤S1204-S1205在步骤S1201-S1203之前执行为例进行示意。实际应用中,可以摄像机可以多次工作在噪声标定模式下,不断更新暗电流噪声,然后在一次工作在噪声补偿模式下,结合标定的暗电流噪声可以对拍摄的图像进行去噪处理,降低暗电流噪声的影响。The above steps S1201-S1203 may be referred to as a noise compensation mode. Steps S1204-S1205 may be referred to as a noise calibration mode. The embodiment of the present application does not limit the sequential execution order of the above steps S1201-S1203 and steps S1204-S1205, and FIG. 13 is only an example to illustrate that steps S1204-S1205 are executed before steps S1201-S1203. In practical applications, the camera can work in the noise calibration mode for many times to continuously update the dark current noise, and then work in the noise compensation mode once, combined with the calibrated dark current noise, the captured image can be denoised to reduce the dark current noise. effects of current noise.
可选的,摄像机还可以包括处理器,如图13所示,为了降低暗电流噪声的影响,提升图像的信噪比,该方法还可以包括步骤S1206-S1207。Optionally, the camera may further include a processor, as shown in FIG. 13 , in order to reduce the influence of dark current noise and improve the signal-to-noise ratio of the image, the method may further include steps S1206-S1207.
S1206、处理器获取第一图像和暗帧,第一图像为第一曝光对应的图像,暗帧为多个像素电路中每个像素电路采集的噪声信号转换后得到的图像。S1206. The processor acquires a first image and a dark frame, where the first image is an image corresponding to the first exposure, and the dark frame is an image converted from a noise signal collected by each pixel circuit in the plurality of pixel circuits.
S1207、处理器根据暗帧,对第一图像进行处理,得到去噪声后的第一图像。S1207. The processor processes the first image according to the dark frame to obtain the first image after denoising.
可选的,如图13所示,第一曝光的时长小于第二曝光的时长时,为了进一步降低kTC噪声的影响,该方法还可以包括步骤S1208。Optionally, as shown in FIG. 13 , when the duration of the first exposure is shorter than the duration of the second exposure, in order to further reduce the influence of kTC noise, the method may further include step S1208.
S1208、处理器根据去噪声后的第一图像和第二曝光对应的第二图像,得到宽动态图像。S1208. The processor obtains a wide dynamic image according to the denoised first image and the second image corresponding to the second exposure.
示例性的,处理器根据去噪声后的第一图像和第二曝光对应的第二图像,得到宽动态图像,包括:处理器首先将去噪声后的第一图像的亮度与第二图像的亮度对齐,得到第三图像。然后,处理器将第三图像中信号强度低于预设阈值的区域与第二图像中的对应区域进行融合处理,得到宽动态图像。Exemplarily, the processor obtains the wide dynamic image according to the first image after denoising and the second image corresponding to the second exposure, including: the processor first compares the brightness of the first image after denoising and the brightness of the second image Align to get the third image. Then, the processor fuses the area in the third image whose signal strength is lower than the preset threshold with the corresponding area in the second image to obtain a wide dynamic image.
可选的,融合处理包括但不限于加权融合或直接替换。Optionally, fusion processing includes but not limited to weighted fusion or direct replacement.
可以理解的,图12和图13所示的摄像机中的图像处理方法的具体实现方式可以参考前述实施例中的相关描述,在此不再赘述。It can be understood that, for specific implementation manners of the image processing method in the camera shown in FIG. 12 and FIG. 13 , reference may be made to relevant descriptions in the foregoing embodiments, and details are not repeated here.
本申请实施例中的CMOS传感器可以为全局快门CMOS传感器,也可以为卷帘快门CMOS传感,本申请实施例对此并不限定。The CMOS sensor in the embodiment of the present application may be a global shutter CMOS sensor or a rolling shutter CMOS sensor, which is not limited in the embodiment of the present application.
上述主要从方法步骤的角度对本发明实施例提供的方案进行了介绍。可以理解的是,计算机为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件和计算机软件的结合形式来实现。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present invention from the perspective of method steps. It can be understood that, in order to realize the above functions, the computer includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present application can be realized in a combined form of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、可擦除可编程只读存储器(erasable programmable ROM,EPROM)、电可擦可编程只读存储器(electricallyEPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of the methods or algorithms described in connection with the disclosure of this application can be implemented in the form of hardware, or can be implemented in the form of a processor executing software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (random access memory, RAM), flash memory, erasable programmable read-only memory (erasable programmable ROM, EPROM), electrically erasable Programmable read-only memory (electrically EPROM, EEPROM), registers, hard disk, removable hard disk, compact disc (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC may be located in the core network interface device. Certainly, the processor and the storage medium may also exist in the core network interface device as discrete components.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in the present invention may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present invention shall be included in the protection scope of the present invention.
Claims (16)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111241467 | 2021-10-25 | ||
| CN2021112414671 | 2021-10-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116074649A true CN116074649A (en) | 2023-05-05 |
Family
ID=86177566
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111582898.4A Pending CN116074649A (en) | 2021-10-25 | 2021-12-22 | A camera and image processing method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116074649A (en) |
-
2021
- 2021-12-22 CN CN202111582898.4A patent/CN116074649A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10771718B2 (en) | Imaging device and imaging system | |
| US9118883B2 (en) | High dynamic range imaging with multi-storage pixels | |
| JP4862473B2 (en) | Solid-state imaging device, driving method of solid-state imaging device, and imaging device | |
| US9288399B2 (en) | Image processing apparatus, image processing method, and program | |
| US8218036B2 (en) | Image sensing apparatus and control method therefor | |
| JP5645505B2 (en) | Imaging apparatus and control method thereof | |
| JP5223953B2 (en) | Solid-state imaging device, driving method of solid-state imaging device, and imaging device | |
| CN110213502B (en) | Image processing method, device, storage medium and electronic device | |
| US12501182B2 (en) | Image sensing device and image sensing method thereof | |
| JP2008205530A (en) | Imaging apparatus, imaging system, and imaging method | |
| JP2011049892A (en) | Imaging apparatus | |
| CN112437236A (en) | Pixel exposure method | |
| CN102547164B (en) | Image processing apparatus and image processing method | |
| JP6478703B2 (en) | Imaging apparatus and imaging system | |
| CN116074649A (en) | A camera and image processing method thereof | |
| US8368782B2 (en) | Multiple exposure image pickup apparatus, multiple exposure image pickup method, program, and recording medium | |
| JP2013255201A (en) | Imaging apparatus and control method of the same | |
| JP2018093301A (en) | Image sensor and control method of image sensor | |
| US10623642B2 (en) | Image capturing apparatus and control method thereof with change, in exposure period for generating frame, of conversion efficiency | |
| US20250119655A1 (en) | Image sensing device and imaging device | |
| JP2004147207A (en) | Electronic camera | |
| WO2024153152A1 (en) | Image sensor, and imaging method and apparatus | |
| JP2023016776A (en) | camera | |
| JP6706138B2 (en) | Imaging device | |
| WO2023162483A1 (en) | Imaging device and method for controlling same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |