CN115278000A - Image sensor, image generation method, camera module and electronic equipment - Google Patents
Image sensor, image generation method, camera module and electronic equipment Download PDFInfo
- Publication number
- CN115278000A CN115278000A CN202210726822.2A CN202210726822A CN115278000A CN 115278000 A CN115278000 A CN 115278000A CN 202210726822 A CN202210726822 A CN 202210726822A CN 115278000 A CN115278000 A CN 115278000A
- Authority
- CN
- China
- Prior art keywords
- color filter
- pixels
- layer
- image
- filter layer
- 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.)
- Granted
Links
Images
Landscapes
- Color Television Image Signal Generators (AREA)
Abstract
本发明提供了一种图像传感器、图像生成方法、摄像头模组及电子设备,图像传感器包括:感光层、多个滤色层,和与滤色层连接的驱动单元;多个滤色层叠加设置在感光层的受光面;驱动单元用于驱动多个滤色层之间的相对位置发生改变。
The invention provides an image sensor, an image generation method, a camera module and an electronic device. The image sensor includes: a photosensitive layer, a plurality of color filter layers, and a driving unit connected with the color filter layer; the plurality of color filter layers are superimposed and arranged On the light-receiving surface of the photosensitive layer; the driving unit is used to drive the relative positions between the plurality of color filter layers to change.
Description
技术领域technical field
本发明实施例涉及图像处理领域,尤其涉及一种图像传感器、图像生成方法、摄像头模组及电子设备。Embodiments of the present invention relate to the field of image processing, and in particular, to an image sensor, an image generation method, a camera module, and electronic equipment.
背景技术Background technique
随着科技的不断发展,人们对照片拍摄的质量要求越来越高,如何提升照片的拍摄质量成为了各个厂家争相研究的热门问题。With the continuous development of science and technology, people have higher and higher requirements for the quality of photo shooting. How to improve the quality of photo shooting has become a hot issue that various manufacturers are competing to study.
相关技术中,为了提升照片的拍摄质量,通常会在拍摄设备上设置多颗具有不同滤色阵列摄像头,滤色阵列用于调整感光元件接收的光线颜色,例如,可以设置1颗彩色滤色阵列的彩色摄像头和1颗单色滤色阵列的单色摄像头,通过彩色摄像头采集色彩信息充足但通光量较差的彩色图像,通过单色摄像头采集色彩信息不足但通光量较好的单色图像,再将两种图像的像素进行对齐和匹配,最后通过图像合成的方式取得质量较好的照片。In the related art, in order to improve the shooting quality of photos, multiple cameras with different color filter arrays are usually set on the shooting device, and the color filter arrays are used to adjust the color of light received by the photosensitive element. For example, one color filter array can be set A color camera and a monochrome camera with a monochrome color filter array, the color image with sufficient color information but poor light flux is collected by the color camera, and the monochrome image with insufficient color information but good light flux is collected by the monochrome camera, Then align and match the pixels of the two images, and finally obtain a photo with better quality through image synthesis.
上述方法在像素对齐和匹配的过程中,由于不同摄像头之间结构和工艺的偏差,难以保证良好的像素对齐效果,容易导致多张图像的合成的效果不佳。In the process of pixel alignment and matching in the above method, it is difficult to ensure a good pixel alignment effect due to structural and process deviations between different cameras, which may easily lead to poor synthesis of multiple images.
发明内容Contents of the invention
本发明实施例提供一种图像传感器、图像生成方法、摄像头模组及电子设备,可以基于不同滤色阵列的多张图像进行图像合成,在合成过程中无需进行像素对其,避免了像素对齐过程影响合成效果,提升了图像合成的效果和效率。Embodiments of the present invention provide an image sensor, an image generation method, a camera module, and an electronic device, which can perform image synthesis based on multiple images of different color filter arrays, and do not need to perform pixel alignment during the synthesis process, avoiding the pixel alignment process Affects the compositing effect, improving the effect and efficiency of image compositing.
第一方面,本发明实施例提供了一种图像传感器,该图像传感器包括:In a first aspect, an embodiment of the present invention provides an image sensor, and the image sensor includes:
感光层、多个滤色层,和与所述多个滤色层连接的驱动单元;a photosensitive layer, a plurality of color filter layers, and a driving unit connected to the plurality of color filter layers;
所述多个滤色层叠加设置在所述感光层的受光面;The plurality of color filter layers are stacked on the light-receiving surface of the photosensitive layer;
所述驱动单元用于驱动所述多个滤色层之间的相对位置发生改变。The driving unit is used for driving the relative positions of the plurality of color filter layers to change.
第二方面,本发明实施例提供了一种图像生成方法,应用于电子设备,该电子设备包括第一方面的图像传感器,该方法包括:In a second aspect, an embodiment of the present invention provides an image generation method applied to an electronic device, where the electronic device includes the image sensor of the first aspect, and the method includes:
获取所述图像传感器的感光层采集的第一图像;acquiring a first image collected by the photosensitive layer of the image sensor;
控制所述图像传感器的驱动单元驱动所述多个滤色层之间的相对位置发生至少一次改变;Controlling the driving unit of the image sensor to drive the relative positions between the plurality of color filter layers to change at least once;
在每次改变所述多个滤色层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像;After changing the relative positions between the plurality of color filter layers each time, acquiring a second image collected by the photosensitive layer to obtain at least one second image;
基于所述第一图像和所述至少一张第二图像,生成目标图像。A target image is generated based on the first image and the at least one second image.
第三方面,本发明实施例提供了一种图像生成装置,该装置包括:In a third aspect, an embodiment of the present invention provides an image generating device, the device comprising:
第一获取模块,用于获取所述图像传感器的感光层采集的第一图像;a first acquisition module, configured to acquire a first image collected by the photosensitive layer of the image sensor;
控制模块,用于控制所述图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;A control module, configured to control the drive unit of the image sensor to drive the relative positions between the multiple color filter layers to change at least once;
第二获取模块,用于在每次改变所述多个滤色层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像;The second acquisition module is configured to acquire the second image collected by the photosensitive layer after changing the relative position between the plurality of color filter layers each time, to obtain at least one second image;
生成模块,用于基于所述第一图像和所述至少一张第二图像,生成目标图像。A generating module, configured to generate a target image based on the first image and the at least one second image.
第四方面,本发明实施例提供了一种摄像头模组,该摄像头模组包括上述第一方面的图像传感器。In a fourth aspect, an embodiment of the present invention provides a camera module, which includes the image sensor in the first aspect above.
第五方面,本发明实施例还提供了一种电子设备,包括上述第四方面的摄像头模组。In a fifth aspect, an embodiment of the present invention further provides an electronic device, including the above-mentioned camera module in the fourth aspect.
第六方面,本发明实施例提供了另一种图像传感器,该图像传感器包括:In a sixth aspect, an embodiment of the present invention provides another image sensor, which includes:
感光层、目标滤色层,和与所述目标滤色层连接的驱动单元;a photosensitive layer, a target color filter layer, and a driving unit connected to the target color filter layer;
所述目标滤色层设置在所述感光层的受光面;The target color filter layer is arranged on the light-receiving surface of the photosensitive layer;
所述驱动单元用于驱动所述目标滤色层与所述感光层之间的相对位置发生改变。The driving unit is used to drive the relative position between the target color filter layer and the photosensitive layer to change.
第七方面,本发明实施例提供了另一种图像生成方法,应用于电子设备,该电子设备包括第六方面的图像传感器,该方法包括:In a seventh aspect, an embodiment of the present invention provides another image generation method, which is applied to an electronic device, where the electronic device includes the image sensor of the sixth aspect, and the method includes:
获取所述图像传感器的感光层采集的第一图像;acquiring a first image collected by the photosensitive layer of the image sensor;
控制所述图像传感器的驱动单元驱动所述目标滤色层与所述感光层之间的相对位置发生至少一次改变;controlling the drive unit of the image sensor to drive the relative position between the target color filter layer and the photosensitive layer to change at least once;
在每次改变所述目标滤色层与所述感光层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像;After changing the relative position between the target color filter layer and the photosensitive layer each time, acquiring a second image collected by the photosensitive layer to obtain at least one second image;
基于所述第一图像和所述至少一张第二图像,生成目标图像。A target image is generated based on the first image and the at least one second image.
第八方面,本发明实施例提供了另一种图像生成装置,该装置包括:In an eighth aspect, an embodiment of the present invention provides another image generation device, which includes:
第一获取模块,用于获取所述图像传感器的感光层采集的第一图像;a first acquisition module, configured to acquire a first image collected by the photosensitive layer of the image sensor;
控制模块,用于控制所述图像传感器的驱动单元驱动所述目标滤色层与所述感光层之间的相对位置发生至少一次改变;A control module, configured to control the drive unit of the image sensor to drive the relative position between the target color filter layer and the photosensitive layer to change at least once;
第二获取模块,用于在每次改变目标滤色层与所述感光层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像;A second acquiring module, configured to acquire a second image collected by the photosensitive layer after changing the relative position between the target color filter layer and the photosensitive layer each time, to obtain at least one second image;
生成模块,用于基于所述第一图像和所述至少一张第二图像,生成目标图像。A generating module, configured to generate a target image based on the first image and the at least one second image.
第九方面,本发明实施例提供了另一种摄像头模组,该摄像头模组包括上述第六方面的图像传感器。In a ninth aspect, an embodiment of the present invention provides another camera module, which includes the image sensor of the sixth aspect above.
第十方面,本发明实施例还提供了另一种电子设备,包括上述第九方面的摄像头模组。In a tenth aspect, an embodiment of the present invention further provides another electronic device, including the above-mentioned camera module in the ninth aspect.
第十一方面,本发明实施例还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如本发明提供的图像生成方法的步骤。In the eleventh aspect, the embodiment of the present invention also provides a computer-readable storage medium, which is characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program as provided in the present invention can be realized. The steps of the image generation method.
在本发明实施例中,图像传感器可以包括:感光层、多个滤色层,以及与滤色层连接的驱动单元;多个滤色层叠加设置在感光层的受光面;在驱动单元的驱动下,改变不同滤色层之间的相对位置关系,或改变滤色层与感光层之间的相对位置关系。使得图像传感器可以在不同滤色层位置下工作,可以改变图像传感器的滤色阵列,使电子设备可以通过图像传感器拍摄到基于不同滤色阵列的多张图像,再进行图像合成,图像传感器的滤色阵列能够机械切换以提高感光度,使一颗图像传感器能够兼顾不同滤色阵列的优势,此外,由于进行合成的图像为同一图像传感器拍摄,避免了像素对齐的过程,提升了图像合成的准确性和效率。In the embodiment of the present invention, the image sensor may include: a photosensitive layer, a plurality of color filter layers, and a driving unit connected to the color filter layer; a plurality of color filter layers are stacked on the light-receiving surface of the photosensitive layer; Next, change the relative positional relationship between different color filter layers, or change the relative positional relationship between the color filter layer and the photosensitive layer. The image sensor can work at different positions of the color filter layer, the color filter array of the image sensor can be changed, and the electronic device can capture multiple images based on different color filter arrays through the image sensor, and then perform image synthesis. The color array can be mechanically switched to increase the sensitivity, so that one image sensor can take into account the advantages of different color filter arrays. In addition, because the composited image is taken by the same image sensor, the process of pixel alignment is avoided, and the accuracy of image synthesis is improved. sex and efficiency.
附图说明Description of drawings
图1是本发明实施例提供的图像传感器结构图之一;FIG. 1 is one of the structural diagrams of an image sensor provided by an embodiment of the present invention;
图2是本发明实施例提供的一种滤色层俯视图;Fig. 2 is a top view of a color filter layer provided by an embodiment of the present invention;
图3是本发明实施例提供的滤色层示意图之一;Fig. 3 is one of the schematic diagrams of the color filter layer provided by the embodiment of the present invention;
图4是本发明实施例提供的滤色层移动方向示意图之一;Fig. 4 is one of the schematic diagrams of the moving direction of the color filter layer provided by the embodiment of the present invention;
图5是本发明实施例提供的一种第一滤色阵列俯视图;Fig. 5 is a top view of a first color filter array provided by an embodiment of the present invention;
图6是本发明实施例提供的滤色层移动方向示意图之二;Fig. 6 is the second schematic diagram of the moving direction of the color filter layer provided by the embodiment of the present invention;
图7是本发明实施例提供的一种第二滤色阵列俯视图;Fig. 7 is a top view of a second color filter array provided by an embodiment of the present invention;
图8是本发明实施例提供的一种静电梳齿驱动器的结构图;Fig. 8 is a structural diagram of an electrostatic comb driver provided by an embodiment of the present invention;
图9是本发明实施例提供的图像生成方法的步骤流程图之一;FIG. 9 is one of the flow charts of the steps of the image generation method provided by the embodiment of the present invention;
图10是本发明实施例提供的一种基于多尺度分解的图像融合流程图;Fig. 10 is a flow chart of image fusion based on multi-scale decomposition provided by an embodiment of the present invention;
图11是本发明实施例提供的图像传感器结构图之二;Fig. 11 is the second structure diagram of the image sensor provided by the embodiment of the present invention;
图12是本发明实施例提供的滤色层示意图之二;Fig. 12 is the second schematic diagram of the color filter layer provided by the embodiment of the present invention;
图13是本发明实施例提供的一种第一位置关系示意图;Fig. 13 is a schematic diagram of a first position relationship provided by an embodiment of the present invention;
图14是本发明实施例提供的第二位置关系示意图之一;Fig. 14 is one of the second schematic diagrams of positional relationship provided by the embodiment of the present invention;
图15是本发明实施例提供的第二位置关系示意图之二;Fig. 15 is the second schematic diagram of the second position relationship provided by the embodiment of the present invention;
图16是本发明实施例提供的图像生成方法的步骤流程图之二;Fig. 16 is the second flowchart of the steps of the image generation method provided by the embodiment of the present invention;
图17是本发明实施例提供的图像生成装置的框图之一;Fig. 17 is one of the block diagrams of the image generation device provided by the embodiment of the present invention;
图18是本发明实施例提供的图像生成装置的框图之二;Fig. 18 is the second block diagram of the image generation device provided by the embodiment of the present invention;
图19是本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 19 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention.
附图标记说明:Explanation of reference signs:
10、感光层;11、感光像素;20、多个滤色层;21、第一滤色层;22、第二滤色层;23、第三滤色层;24、目标滤色层;30、驱动单元;31、第一驱动单元;32、第二驱动单元;33、第三驱动单元;34、电源;35、固定框体;36、第一电容板;37、第一梳齿;38、第二电容板;39、第二梳齿;40、聚光层;50、布线层;61、红色滤色像素;62、绿色滤色像素;63、蓝色滤色像素;64、全透滤色像素;70、滤色像素阵列;81、第一滤色组;82、第二滤色组;83、第三滤色组;84、目标滤色组。10. Photosensitive layer; 11. Photosensitive pixels; 20. Multiple color filter layers; 21. First color filter layer; 22. Second color filter layer; 23. Third color filter layer; 24. Target color filter layer; 30 , drive unit; 31, first drive unit; 32, second drive unit; 33, third drive unit; 34, power supply; 35, fixed frame; 36, first capacitor plate; 37, first comb teeth; 38 , the second capacitive plate; 39, the second comb; 40, the light-gathering layer; 50, the wiring layer; 61, the red color filter pixel; 62, the green color filter pixel; 63, the blue color filter pixel; 64, fully transparent Color filter pixel; 70, color filter pixel array; 81, first color filter group; 82, second color filter group; 83, third color filter group; 84, target color filter group.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
图1是本发明实施例提供的图像传感器结构图之一,如图1所示,该图像传感器可以包括:感光层、多个滤色层,和与多个滤色层连接的驱动单元。FIG. 1 is one of the structural diagrams of an image sensor provided by an embodiment of the present invention. As shown in FIG. 1 , the image sensor may include: a photosensitive layer, multiple color filter layers, and a driving unit connected to the multiple color filter layers.
感光层通常也被称作光电传感器,其可以感受光线的强度并根据光线的强度输出对应的电信号,在本发明实施例中,并不限定图像传感器包括的感光层的形式,例如感光层可以是电荷耦合器件(charge coupled device,CCD),也可以是互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS),还可以是其他形式。其中,感光层的一面为受光面,受光面用于接收光信号。The photosensitive layer is also commonly referred to as a photosensor, which can sense the intensity of light and output a corresponding electrical signal according to the intensity of light. In the embodiment of the present invention, the form of the photosensitive layer included in the image sensor is not limited. For example, the photosensitive layer can be It may be a charge coupled device (charge coupled device, CCD), or it may be a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS), or it may be other forms. Wherein, one side of the photosensitive layer is a light-receiving surface, and the light-receiving surface is used for receiving light signals.
由于感光层只能感应光的强度,不能区分光的颜色(即光的波长),因此图像传感器还需要在感光层接收光线的一面(受光面)设置滤色层,滤色层的滤色像素与感光层的感光像素对应,滤色像素仅允许特定颜色(波长)的光通过,从而使感光层的感光像素接收到特定颜色的光,通过滤色像素与感光像素的对应关系,图像传感器即可获得光线的色彩信息,从而拍摄到彩色图像。Since the photosensitive layer can only sense the intensity of light and cannot distinguish the color of light (that is, the wavelength of light), the image sensor also needs to set a color filter layer on the light-receiving side (light-receiving surface) of the photosensitive layer, and the color filter pixels of the color filter layer Corresponding to the photosensitive pixels of the photosensitive layer, the color filter pixels only allow light of a specific color (wavelength) to pass through, so that the photosensitive pixels of the photosensitive layer receive light of a specific color. Through the correspondence between the color filter pixels and photosensitive pixels, the image sensor is The color information of the light can be obtained, so that a color image can be taken.
在本发明实施例中,如图1所示,多个滤色层叠加设置在感光层的受光面,为了保证良好的滤色效果,多个滤色层20可以完全覆盖感光层10,并与感光层10相互平行设置。如图1所示,其中包含4层的多个滤色层20,所有多个滤色层20之间可以相互堆叠且平行设置,所有多个滤色层20均可以完全覆盖感光层,且多个滤色层20可以均与感光层相互平行设置。此外,多个滤色层20上还可以覆盖有聚光层40,聚光层40由微透镜构成,每个微透镜覆盖多个滤色层20的一个滤色像素,聚光层40的微透镜可以汇聚光线,使光线更集中通过多个滤色层20的各个滤色像素,提高光线的利用率。感光层10的背光面还可以与布线层50连接,布线层50中布置有连通感光层10与处理器的信号线。In the embodiment of the present invention, as shown in FIG. 1 , multiple color filter layers are superimposed on the light-receiving surface of the photosensitive layer. In order to ensure a good color filtering effect, the multiple color filter layers 20 can completely cover the
驱动单元用于驱动多个滤色层之间的相对位置发生改变。驱动单元与多个滤色层连接,在驱动单元的驱动下,可以改变不同滤色层之间的相对位置关系,或改变多个滤色层与感光层之间的相对位置关系。需要说明的是,一个滤色层可以连接有对应的一个或多个驱动单元,以使滤色层可以由对应的一个或多个驱动单元独立进行控制,多个滤色层也可以同时连接有对应的一个或多个驱动单元,以通过一个或多个驱动单元同时控制多个滤色层。需要说明的是,可以有一层滤色层不设置驱动单元,其他设置有驱动单元的滤色层在驱动单元的驱动下,均可以与该不设置驱动单元的滤色层相对运动,从而也可以实现改变多个滤色层与感光层之间的相对位置关系的效果。The driving unit is used for driving the relative positions among the multiple color filter layers to change. The driving unit is connected with multiple color filter layers, and the relative positional relationship between different color filter layers can be changed under the driving of the driving unit, or the relative positional relationship between multiple color filter layers and the photosensitive layer can be changed. It should be noted that one color filter layer can be connected with one or more corresponding drive units, so that the color filter layer can be independently controlled by the corresponding one or more drive units, and multiple color filter layers can also be connected with one or more drive units at the same time. Corresponding one or more driving units, so as to simultaneously control multiple color filter layers through one or more driving units. It should be noted that one color filter layer may not be provided with a driving unit, and the other color filter layers provided with a driving unit may move relative to the color filter layer without a driving unit under the drive of the driving unit, thereby also being able to The effect of changing the relative positional relationship between the multiple color filter layers and the photosensitive layer is realized.
参照图2,图2示出了本发明实施例提供的一种滤色层俯视图,如图2所示,驱动单元与多个滤色层的侧边连接,驱动单元用于驱动多个滤色层在垂直于侧边的方向移动。驱动单元包括与第一滤色层连接的第一驱动单元、与第二滤色层连接的第二驱动单元,和与第三滤色层连接的第三驱动单元。在第一驱动单元31的驱动下,第一滤色层21可以相对于第二滤色层22和第三滤色层23在第一方向a上平行移动,在第二驱动单元32的驱动下,第二滤色层22可以相对于第一滤色层21和第三滤色层23在第一方向a上平行移动,在第三驱动单元33的驱动下,第三滤色层23可以相对于第一滤色层21和第二滤色层22在第二方向b上平行移动。其中,第一方向a和第二方向b相互垂直。需要说明的是,上述各个滤色层的移动方向仅为示例性描述,可以根据实际需要设置各个滤色层向其所在平面的任意方向移动,每次移动的距离为一个滤色像素距离的整数倍,其中,一个滤色像素距离表示两个相邻的滤色像素中心点之间的距离,此外,上述移动方向和移动距离还可以由技术人员根据实际需要灵活调整,本发明实施例对此并不进行具体限定。Referring to FIG. 2, FIG. 2 shows a top view of a color filter layer provided by an embodiment of the present invention. As shown in FIG. 2, the drive unit is connected to the sides of multiple color filter layers, and the drive unit is used to drive multiple color filter layers Layers move in a direction perpendicular to the sides. The driving unit includes a first driving unit connected to the first color filter layer, a second driving unit connected to the second color filter layer, and a third driving unit connected to the third color filter layer. Under the driving of the
每个滤色层由若干滤色像素构成,这些滤色像素可以形成滤色阵列,滤色阵列也可称为色彩滤波阵列(Color Filter Array,CFA),在光线通过滤色阵列后,可以在后方的感光层上投影出具有不同颜色光线构成的色彩光阵列,感光层对色彩光阵列感光后可以输出彩色图像。Each color filter layer is composed of several color filter pixels, and these color filter pixels can form a color filter array, which can also be called a color filter array (Color Filter Array, CFA). After the light passes through the color filter array, it can be A color light array composed of light of different colors is projected on the rear photosensitive layer, and the photosensitive layer can output a color image after being sensitive to the color light array.
在本发明实施例中,通过调整多个不同滤色层之间的相对位置关系,可以使不同滤色层的滤色阵列产生不同的叠加方式,从而在感光层上投影出不同样式的色彩光阵列,也可以通过调整单个滤色层与感光层之间的相对位置关系,从而在感光层上投影出不同位置的色彩光阵列,因此,通过在拍摄间隔调整滤色层的位置,可以使得感光层的同一感光像素在拍摄相同景物时,获取到多种不同颜色的光线,丰富了感光层接收到的光线信息,进而可以通过多张合成的方式获取到光线信息更为丰富的图像,提高了拍摄效果。In the embodiment of the present invention, by adjusting the relative positional relationship between a plurality of different color filter layers, the color filter arrays of different color filter layers can be superimposed in different ways, thereby projecting different patterns of colored light on the photosensitive layer. Arrays can also project color light arrays at different positions on the photosensitive layer by adjusting the relative positional relationship between a single color filter layer and the photosensitive layer. Therefore, by adjusting the position of the color filter layer at the shooting interval, the photosensitive When the same photosensitive pixel on the photosensitive layer captures the same scene, it obtains a variety of different colors of light, which enriches the light information received by the photosensitive layer, and then can obtain an image with richer light information through multiple composite methods, improving the Shooting effect.
可选地,在本发明实施例的一种实现方式中,驱动单元驱动多个滤色层在第一状态和第二状态之间切换,在第一状态下,多个滤色层之间具有第一相对位置关系,多个滤色层相互叠和组成第一滤色阵列;在第二状态下,多个滤色层之间具有第二相对位置关系,多个滤色层相互叠和组成第二滤色阵列。Optionally, in an implementation manner of the embodiment of the present invention, the driving unit drives a plurality of color filter layers to switch between the first state and the second state, and in the first state, there are In the first relative positional relationship, multiple color filter layers are stacked on top of each other to form a first color filter array; in the second state, multiple color filter layers have a second relative positional relationship, and multiple color filter layers are stacked on top of each other to form a first color filter array. Second color filter array.
多个滤色层之间可以具有第一相对位置关系和第二相对位置关系,其中,在第一相对位置关系下,图像传感器中的多个滤色层均处于其对应的第一位置处,即每两个滤色层之间均处于第一相对位置关系,在第二相对位置关系下,图像传感器中的多个滤色层均处于其对应的第二位置处,即每两个滤色层之间均处于第二相对位置关系。需要说明的是,每个滤色层均对应有各自的第一位置和第二位置,每个滤色层对应的第一位置和第二位置可以是不同的位置,也可以是相同的位置。第一驱动控制操作可以是将多个滤色层均调整至其对应的第一位置处的操作,使每两个滤色层之间均处于第一相对位置关系,以将多个滤色层的相对位置关系调整至第一相对位置关系,第二驱动控制操作可以是将多个滤色层均调整至其对应的第二位置处的操作,使每两个滤色层之间均处于第一相对位置关系,以将多个滤色层的相对位置关系调整至第二相对位置关系。The plurality of color filter layers may have a first relative positional relationship and a second relative positional relationship, wherein, under the first relative positional relationship, the plurality of color filter layers in the image sensor are all at their corresponding first positions, That is, every two color filter layers are in the first relative positional relationship, and in the second relative positional relationship, the plurality of color filter layers in the image sensor are in their corresponding second positions, that is, every two color filter layers The layers are all in the second relative positional relationship. It should be noted that each color filter layer corresponds to its own first position and second position, and the first position and second position corresponding to each color filter layer may be different positions or the same position. The first driving control operation may be an operation of adjusting a plurality of color filter layers to their corresponding first positions, so that every two color filter layers are in a first relative positional relationship, so that the plurality of color filter layers The relative positional relationship is adjusted to the first relative positional relationship, and the second drive control operation may be the operation of adjusting a plurality of color filter layers to their corresponding second positions, so that every two color filter layers are at the first position. A relative positional relationship, for adjusting the relative positional relationship of the plurality of color filter layers to a second relative positional relationship.
在本发明实施例中,不同相对位置关系可以对应有不同的叠加滤色阵列。在多个滤色层均处第一相对位置关系的情况下,各个滤色层相互叠和形成第一滤色阵列;在多个滤色层均处于第二相对位置关系的情况下,各个滤色层相互叠和形成第二滤色阵列;其中,第二滤色阵列的透光率大于第一滤色阵列的透光率。需要说明的是,滤色阵列的透光率是指穿过滤色阵列之前的光线强度与穿过滤色阵列之后的光线强度的比值,透光率较小的滤色阵列通常可以为感光层提供更为准确的色彩信息,而透光率较大的滤色阵列通常可以为感光层提供更为准确的亮度信息,在本发明实施例中,可以在多个滤色层形成第一滤色阵列的情况下拍摄到色彩准确的第一图像,并在多个滤色层形成第二滤色阵列的情况下拍摄到亮度充足准确的第二图像,再通过第一图像和第二图像合成色彩和亮度均准确的目标图像,以达到提升拍摄画质的效果。In the embodiment of the present invention, different relative positional relationships may correspond to different stacked color filter arrays. When multiple color filter layers are in the first relative positional relationship, each color filter layer is stacked with each other to form the first color filter array; when multiple color filter layers are in the second relative positional relationship, each filter layer The color layers are stacked on each other to form a second color filter array; wherein, the light transmittance of the second color filter array is greater than the light transmittance of the first color filter array. It should be noted that the light transmittance of the color filter array refers to the ratio of the light intensity before passing through the color filter array to the light intensity after passing through the color filter array, and a color filter array with a smaller light transmittance can generally provide a higher light intensity for the photosensitive layer. For accurate color information, a color filter array with a higher light transmittance can generally provide more accurate brightness information for the photosensitive layer. In the embodiment of the present invention, multiple color filter layers can be used to form the Under the circumstances, the first image with accurate color is captured, and the second image with sufficient and accurate brightness is captured when multiple color filter layers form the second color filter array, and then the color and brightness are synthesized through the first image and the second image Accurate target images to achieve the effect of improving the shooting quality.
可选地,滤色层由滤色单元构成,多个滤色层包括第一滤色层、第二滤色层和第三滤色层。参照图3,图3示出了本发明实施例提供的滤色层示意图之一,如图3所示,多个滤色层可以包括第一滤色层21、第二滤色层22和第三滤色层23。Optionally, the color filter layer is composed of color filter units, and the plurality of color filter layers include a first color filter layer, a second color filter layer and a third color filter layer. Referring to FIG. 3, FIG. 3 shows one of the schematic diagrams of the color filter layer provided by the embodiment of the present invention. As shown in FIG. Three color filter layers 23 .
在本发明实施例中,每个滤色层可以只包含两种滤色像素,其中一种滤色像素具有特定的颜色的滤色像素,只允许特定颜色的光线通过,例如红色、滤色、蓝色等,另一种滤色像素是全透滤色像素,允许所有颜色的光线通过。需要说明的是,全透滤色像素可以通过不填充任何材料来实现,也可以通过填充透明材料来实现,在填充透明材料的情况下,该透明材料可以允许所有波段的光线通过,也可以只允许可见光波段的光线通过,以消除红外光、紫外光等不可见光线对成像的影响。In the embodiment of the present invention, each color filter layer may only contain two kinds of color filter pixels, wherein one color filter pixel has a specific color filter pixel, which only allows light of a specific color to pass through, such as red, filter color, Blue, etc. Another color filter pixel is a transparent color filter pixel, which allows light of all colors to pass through. It should be noted that the fully transparent color filter pixel can be realized by not filling any material, or by filling with a transparent material. In the case of filling with a transparent material, the transparent material can allow light of all wavelengths to pass through, or it can only Allow light in the visible light band to pass through to eliminate the influence of infrared light, ultraviolet light and other invisible light on imaging.
如图3所示,第一滤色层21的第一滤色单元包括红色滤色像素61和全透滤色像素64,第二滤色层22的第二滤色单元包括绿色滤色像素62和全透滤色像素64,第三滤色层23的第三滤色单元包括蓝色滤色像素63和全透滤色像素64。具体地,第一滤色层包括多个4×4第一滤色单元,第一滤色单元包括4个2×2第一滤色组81,第一滤色组包括1个红色滤色像素和3个全透滤色像素;第二滤色层包括多个4×4第二滤色单元,第二滤色单元包括4个2×2第二滤色组82,第二滤色组包括对角设置的2个红色滤色像素和对角设置的2个全透滤色像素;第三滤色层包括多个4×4第三滤色单元,第三滤色单元包括4个2×2第三滤色组83,第一滤色组包括1个蓝色滤色像素和3个全透滤色像素。其中,图3中的纵线代表红色滤色像素、斜线代表绿色滤色像素、横线代表蓝色滤色像素。As shown in FIG. 3 , the first color filter unit of the first
由于人眼天生对于绿色比较敏感,因此可以将红色滤色像素与蓝色滤色像素的数量设置为相等,绿色滤色像素的数量设置为等于红色滤色像素与蓝色滤色像素的数量之和。以获得更好的绿色光线,更加复合人眼的观看习惯。此外,也可以将红色滤色像素的数量设置为等于绿色滤色像素与蓝色滤色像素的数量之和,或将蓝色滤色像素的数量设置为等于红色滤色像素与绿色滤色像素的数量之和。例如,如图3所示,在本发明实施例中,第一滤色层的滤色单元可以包括4个红色滤色像素和12个全透滤色像素,第二滤色层的滤色单元可以包括8个绿色滤色像素和8个全透滤色像素,第三滤色层的滤色单元可以包括4个蓝色滤色像素和12个全透滤色像素。Since the human eye is naturally sensitive to green, the number of red filter pixels and blue color filter pixels can be set to be equal, and the number of green color filter pixels can be set to be equal to the number of red color filter pixels and blue color filter pixels. and. In order to obtain better green light, it is more suitable for viewing habits of human eyes. Alternatively, set the number of red dropout pixels equal to the sum of the number of green dropout pixels plus the number of blue dropout pixels, or set the number of blue dropout pixels equal to the number of red dropout pixels plus the number of green dropout pixels sum of the quantities. For example, as shown in Figure 3, in the embodiment of the present invention, the color filter unit of the first color filter layer may include 4 red color filter pixels and 12 fully transparent color filter pixels, and the color filter unit of the second color filter layer It may include 8 green color filtering pixels and 8 transparent color filtering pixels, and the color filtering unit of the third color filter layer may include 4 blue color filtering pixels and 12 transparent color filtering pixels.
需要说明的是,图3中所示的滤色层的滤色单元为滤色层的最小滤色单元,各个滤色层的完整滤色像素阵列可以由图3中示出了滤色单元扩充而成,例如,图3中的滤色单元为4X4阵列,共16个滤色像素,而实际生产过程中,每个滤色层的完整滤色像素阵列可以是由12万个4X4滤色单元拼接而成的1600X1200阵列,共192万个滤色像素。It should be noted that the color filter unit of the color filter layer shown in Figure 3 is the smallest color filter unit of the color filter layer, and the complete color filter pixel array of each color filter layer can be expanded by the color filter unit shown in Figure 3 For example, the color filter unit in Figure 3 is a 4X4 array with 16 color filter pixels in total, but in the actual production process, the complete color filter pixel array of each color filter layer can be composed of 120,000 4X4 color filter units The spliced 1600X1200 array has a total of 1.92 million color filter pixels.
参照图4,图4示出了本发明实施例提供的滤色层移动方向示意图之一,如图4所示,第一滤色层21、第二滤色层22和第三滤色层23相互叠合。Referring to FIG. 4, FIG. 4 shows one of the schematic diagrams of the moving direction of the color filter layer provided by the embodiment of the present invention. As shown in FIG. 4, the first
如图4所示,在第一滤色层、第二滤色层和第三滤色层相互重叠且边缘对齐的情况下,可以通过驱动单元将第一滤色层向方向a移动一个滤色像素的距离,然后通过驱动单元将第三滤色层向方向b移动一个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第一滤色阵列;也可以通过驱动单元将第一滤色层先向方向b的反方向移动一个滤色像素的距离,再向方向a移动一个滤色像素的距离,然后通过驱动单元将第二滤色层向方向b的反方向移动一个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第一滤色阵列;还可以通过驱动单元将第二滤色层向方向a的反方向移动一个滤色像素的距离,然后通过驱动单元将第三滤色层向方向a的反方向移动一个滤色像素的距离,再向方向b移动一个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第一滤色阵列。需要说明的是,上述移动各个滤色层形成第一滤色阵列的方法进行示例性描述,技术人员还可以采用其他移动方法使第一滤色层、第二滤色层和第三滤色层相互叠合形成第一滤色阵列,本发明实施例不做具体限定。As shown in Figure 4, when the first color filter layer, the second color filter layer and the third color filter layer overlap each other and their edges are aligned, the first color filter layer can be moved to the direction a by one color filter through the driving unit pixel distance, and then move the third color filter layer to the direction b by a distance of one color filter pixel through the driving unit, so that the first color filter layer, the second color filter layer and the third color filter layer are superimposed on each other to form the first filter layer color array; it is also possible to move the first color filter layer to the opposite direction of direction b by a distance of one color filter pixel, and then move to direction a by a distance of one color filter pixel, and then use the drive unit to move the second color filter layer The distance of one color filter pixel is moved to the opposite direction of the direction b, so that the first color filter layer, the second color filter layer and the third color filter layer are stacked to form the first color filter array; the second color filter array can also be driven by the drive unit The second color filter layer moves the distance of one color filter pixel to the opposite direction of direction a, and then moves the third color filter layer to the opposite direction of direction a by the distance of one color filter pixel through the driving unit, and then moves one color filter layer to direction b The distance between the pixels is such that the first color filter layer, the second color filter layer and the third color filter layer are superimposed on each other to form the first color filter array. It should be noted that the above-mentioned method of moving each color filter layer to form the first color filter array is described as an example, and technicians can also use other moving methods to make the first color filter layer, the second color filter layer and the third color filter layer The first color filter array is formed by stacking each other, which is not specifically limited in this embodiment of the present invention.
参照图5,图5示出了本发明实施例提供的一种第一滤色阵列俯视图,如图5所示,在第一滤色层21、第二滤色层22和第三滤色层23相互叠和形成第一滤色阵列的情况下,第一滤色层21的红色滤色像素和第二滤色层22的一半全透滤色像素对齐,第二滤色层22的另一半全透滤色像素与第三滤色层23蓝色滤色像素对齐,使得三个滤色层叠加可以形成拜耳阵列(例如RGGB阵列),从而使传感器可以获取到较为准确的色彩信息。Referring to FIG. 5, FIG. 5 shows a top view of a first color filter array provided by an embodiment of the present invention. As shown in FIG. 5, the first
参照图6,图6示出了本发明实施例提供的滤色层移动方向示意图之二,如图6所示,在多个滤色层相互叠合形成第一滤色阵列的情况下,可以通过驱动单元将第一滤色层向方向b移动一个滤色像素的距离,然后通过驱动单元将第三滤色层向方向b的反方向移动一个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第二滤色阵列;也可以通过驱动单元将第一滤色层向方向b移动2个滤色像素的距离,然后通过驱动单元将第二滤色层向方向b移动一个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第二滤色阵列;还可以通过驱动单元将第二滤色层向方向b的反方向移动一个滤色像素的距离,然后通过驱动单元将第三滤色层向方向b的反方向移动2个滤色像素的距离,使第一滤色层、第二滤色层和第三滤色层相互叠合形成第二滤色阵列。需要说明的是,上述移动各个滤色层形成第二滤色阵列的方法进行示例性描述,技术人员还可以采用其他移动方法使第一滤色层、第二滤色层和第三滤色层相互叠合形成第二滤色阵列,本发明实施例不做具体限定。Referring to FIG. 6, FIG. 6 shows the second schematic diagram of the moving direction of the color filter layer provided by the embodiment of the present invention. As shown in FIG. 6, in the case where multiple color filter layers are stacked to form the first color filter array, The first color filter layer is moved to the direction b by a distance of one color filter pixel through the driving unit, and then the third color filter layer is moved to the opposite direction of direction b by a distance of one color filter pixel through the driving unit, so that the first color filter layer , the second color filter layer and the third color filter layer overlap each other to form a second color filter array; it is also possible to move the first color filter layer to the direction b by a distance of 2 color filter pixels through the driving unit, and then use the driving unit to move The second color filter layer moves to the direction b by a distance of one color filter pixel, so that the first color filter layer, the second color filter layer and the third color filter layer are overlapped to form a second color filter array; The second color filter layer moves to the opposite direction of direction b by a distance of one color filter pixel, and then the third color filter layer is moved by the driving unit to the opposite direction of direction b by a distance of two color filter pixels, so that the first color filter layer , the second color filter layer and the third color filter layer are stacked to form a second color filter array. It should be noted that the above-mentioned method of moving each color filter layer to form the second color filter array is described as an example, and technicians can also use other moving methods to make the first color filter layer, the second color filter layer and the third color filter layer The second color filter array is formed by stacking each other, which is not specifically limited in the embodiment of the present invention.
参照图7,图7示出了本发明实施例提供的一种第二滤色阵列俯视图,如图7所示,在第一滤色层21、第二滤色层22和第三滤色层23相互叠和形成第二滤色阵列的情况下,第一滤色层21的红色滤色像素和第二滤色层22的一半绿色滤色像素对齐,第三滤色层23的蓝色滤色像素和第二滤色层22的另一半绿色滤色像素对齐,不同滤色层的全透滤色像素之间相互对齐,使得三个滤色层叠加形成的第二滤色阵列中有半数像素为全透滤色像素,相较于第一滤色阵列提高了透光率,从而使传感器可以获取到较为准确的亮度信息。Referring to FIG. 7, FIG. 7 shows a top view of a second color filter array provided by an embodiment of the present invention. As shown in FIG. 7, the first
在本发明实施例中,如果红色、绿色、蓝色每种绿色像素的透光率均为40%,全透滤光像素的透光率为100%,则通过计算,每个4X4的第一滤色阵列的透光率为40%,而每个4X4的第二滤色阵列的透光率为40%*40%*0.5+100%*0.5=58%,相比常规的第一滤色阵列有接近50%的透光率提升。因此,采用本发明提出的多个滤色层结构和移动方式,可以使多个滤色层移动并形成高投光率的第二滤色阵列,在拍摄照片时,可以使图像传感器的感光层接收到更充足的光线,提高了拍摄照片的效果。In the embodiment of the present invention, if the light transmittance of each green pixel of red, green, and blue is 40%, and the light transmittance of the fully transparent filter pixel is 100%, then by calculation, each 4X4 first The light transmittance of the color filter array is 40%, and the light transmittance of each 4X4 second color filter array is 40%*40%*0.5+100%*0.5=58%, compared with the conventional first color filter The array has a light transmittance improvement of nearly 50%. Therefore, by adopting the multiple color filter layer structures and moving methods proposed by the present invention, multiple color filter layers can be moved to form a second color filter array with high light projection rate, and when taking pictures, the photosensitive layer of the image sensor can be More light is received, improving the effect of taking pictures.
可选地,通常来说,图像传感器的尺寸较小,为了在较小的空间内设置驱动单元,驱动单元可以包括微机电系统(Micro Electro Mechanical Systems,MEMS),例如静电梳齿驱动器,微机电系统是一种微米级的机械驱动系统。Optionally, generally speaking, the size of the image sensor is relatively small. In order to arrange the driving unit in a small space, the driving unit may include a micro-electro-mechanical system (Micro Electro Mechanical Systems, MEMS), such as an electrostatic comb driver, a micro-electro-mechanical system, etc. The system is a micron-scale mechanical drive system.
参考图8,图8示出了本发明实施示例提供的一种静电梳齿驱动器的结构图,如图8所示,静电梳齿驱动器可以包括电源34、固定框体35、第一梳齿部和第二梳齿部,其中,第一梳齿部与固定框体35连接,第二梳齿部与多个滤色层中的一个滤色层连接,电源34与第一梳齿部和第二梳齿部连接,在电源34的驱动下,第一梳齿部和第二梳齿部之间相对运动,以改变不同滤色层之间的相对位置关系。第一梳齿部由第一电容板36和固定在第一电容板36上的多个第一梳齿37构成,第二梳齿部由第二电容板38和固定在第二电容板38上的多个第二梳齿39构成,第一电容板36和第二电容板38在电源34的作用下充入相同极性的电荷或不同极性的电荷,使第一电容板36和第二电容板38之间产生斥力或引力,以改变第一电容板36和第二电容板38之间的距离。第一梳齿37和第二梳齿39相互契合,充当滑轨并起到限位作用。Referring to FIG. 8, FIG. 8 shows a structural diagram of an electrostatic comb driver provided by an embodiment of the present invention. As shown in FIG. 8, the electrostatic comb driver may include a
进一步地,在第一电容板36和第二电容板38通过一对正负极供电时,仅能在一个电容板中充入正电荷,在另一个电容板中充入负电荷,使两个电容板之间仅能产生静电引力,因此,还可以在第一电容板36和第二电容板38之间设置弹性器件,通过弹性器件在两个电容板之间产生使两个电容板相互远离的弹性力,这样,当两个电容板之间的静电引力大于弹性力时,两个电容板相互靠近,当两个电容板之间的静电引力小于弹性力时,两个电容板相互远离,这样便可以通过较为简单的控制电路便捷驱动静电梳齿驱动器,降低研发与制造成本。Further, when the
综上,本发明实施例提供的一种图像传感器,包括:感光层、多个滤色层,和与多个滤色层连接的驱动单元;多个滤色层叠加设置在感光层的受光面;驱动单元用于驱动多个滤色层之间的相对位置发生改变。使得图像传感器可以在不同滤色层位置下工作,可以改变图像传感器的滤色阵列,使电子设备可以通过图像传感器拍摄到基于不同滤色阵列的多张图像,再进行图像合成,图像传感器的滤色阵列能够机械切换以提高感光度,使一颗图像传感器能够兼顾不同滤色阵列的优势,此外,由于进行合成的图像为同一图像传感器拍摄,避免了像素对齐的过程,提升了图像合成的准确性和效率。In summary, an image sensor provided by an embodiment of the present invention includes: a photosensitive layer, a plurality of color filter layers, and a drive unit connected to the plurality of color filter layers; the plurality of color filter layers are stacked on the light-receiving surface of the photosensitive layer ; The driving unit is used to drive the relative positions between the multiple color filter layers to change. The image sensor can work at different positions of the color filter layer, the color filter array of the image sensor can be changed, and the electronic device can capture multiple images based on different color filter arrays through the image sensor, and then perform image synthesis. The color array can be mechanically switched to increase the sensitivity, so that one image sensor can take into account the advantages of different color filter arrays. In addition, because the composited image is taken by the same image sensor, the process of pixel alignment is avoided, and the accuracy of image synthesis is improved. sex and efficiency.
图9是本发明实施例提供的图像生成方法的步骤流程图之一,该方法应用于一种电子设备,该电子设备包括上述图像传感器,如图9所示,该方法可以包括:FIG. 9 is one of the flow charts of the steps of the image generation method provided by the embodiment of the present invention. The method is applied to an electronic device, and the electronic device includes the above-mentioned image sensor. As shown in FIG. 9, the method may include:
步骤101,获取所述图像传感器的感光层采集的第一图像。
在本发明实施例中,多个滤色层之间可以具有第一相对位置关系和第二相对位置关系,其中,在第一相对位置关系下,图像传感器中的多个滤色层均处于其对应的第一位置处,在第二相对位置关系下,图像传感器中的多个滤色层均处于其对应的第二位置处。需要说明的是,每个滤色层均对应有各自的第一位置和第二位置,每个滤色层对应的第一位置和第二位置可以是不同的位置,也可以是相同的位置。不同相对位置关系可以对应有不同的叠加滤色阵列。在多个滤色层均处第一相对位置关系的情况下,多个滤色层相互叠和形成第一滤色阵列;在多个滤色层均处于第二相对位置关系的情况下,多个滤色层相互叠和形成第二滤色阵列;其中,第二滤色阵列的透光率大于第一滤色阵列的透光率。In the embodiment of the present invention, there may be a first relative positional relationship and a second relative positional relationship among the plurality of color filter layers, wherein, under the first relative positional relationship, the plurality of color filter layers in the image sensor are all in their respective positions. At the corresponding first position, under the second relative positional relationship, the multiple color filter layers in the image sensor are all at their corresponding second positions. It should be noted that each color filter layer corresponds to its own first position and second position, and the first position and second position corresponding to each color filter layer may be different positions or the same position. Different relative positional relationships may correspond to different superimposed color filter arrays. In the case that the multiple color filter layers are in the first relative positional relationship, the multiple color filter layers are stacked on each other to form the first color filter array; in the case that the multiple color filter layers are in the second relative positional relationship, the multiple color filter layers The two color filter layers are stacked to form a second color filter array; wherein, the light transmittance of the second color filter array is greater than the light transmittance of the first color filter array.
通过图像传感器拍摄照片时,可以先通过驱动单元调整多个滤色层的位置,使多个滤色层均处于对应的第一位置,使多个滤色层之间处于第一相对位置关系,在感光层的受光面相互叠合形成第一滤色阵列。形成第一滤色阵列后,通过感光层采集第一图像。也可以先通过驱动单元调整多个滤色层中的各个滤色层的位置,使多个滤色层均处于对应的第二位置,使多个滤色层之间处于第二相对位置关系,在感光层的受光面相互叠合形成第二滤色阵列。形成第二滤色阵列后,通过感光层采集第一图像。When taking a picture through the image sensor, the positions of the multiple color filter layers can be adjusted by the driving unit first, so that the multiple color filter layers are all in the corresponding first positions, so that the multiple color filter layers are in the first relative positional relationship, The light-receiving surfaces of the photosensitive layer are overlapped with each other to form a first color filter array. After the first color filter array is formed, the first image is collected through the photosensitive layer. It is also possible to adjust the position of each color filter layer in the plurality of color filter layers through the driving unit first, so that the plurality of color filter layers are all in the corresponding second position, so that the plurality of color filter layers are in the second relative positional relationship, The light-receiving surfaces of the photosensitive layer are overlapped with each other to form a second color filter array. After forming the second color filter array, the first image is collected through the photosensitive layer.
需要说明的是,多个滤色层还可以存在默认位置,在不控制驱动单元的情况下,多个滤色层均保持在默认位置,其中,多个滤色层对应的默认位置可以是多个滤色层对应的第一位置,也可以是多个滤色层对应的第二位置,因此,在通过图像传感器拍摄照片时,可以直接通过感光层采集第一图像,而无需通过驱动单元调整多个滤色层的位置,提升了拍照速度。It should be noted that the multiple color filter layers may also have default positions. In the case of not controlling the driving unit, the multiple color filter layers are kept at the default positions, wherein the default positions corresponding to the multiple color filter layers may be multiple The first position corresponding to one color filter layer can also be the second position corresponding to multiple color filter layers, therefore, when taking a photo through the image sensor, the first image can be collected directly through the photosensitive layer without adjustment by the drive unit The location of multiple color filter layers improves the speed of taking photos.
步骤102,控制所述图像传感器的驱动单元驱动所述多个滤色层之间的相对位置发生至少一次改变。
在本发明实施例中,所述多个滤色层包括由红色滤色像素和全透滤色像素组成的第一滤色层、由绿色滤色像素和全透滤色像素组成的第二滤色层,以及由蓝色滤色像素和全透滤色像素组成的第三滤色层。在所述多个滤色层的滤色像素阵列相互叠合形成第一滤色阵列的情况下,所述第一滤色层的全部红色滤色像素和所述第二滤色层的一半全透滤色像素相互重叠,所述第二滤色层的另一半全透滤色像素与所述第三滤色层的全部蓝色滤色像素相互重叠。In the embodiment of the present invention, the plurality of color filter layers include a first color filter layer composed of red color filter pixels and fully transparent color filter pixels, a second filter layer composed of green color filter pixels and fully transparent color filter pixels color layer, and a third color filter layer composed of blue color filter pixels and transparent color filter pixels. In the case where the color filter pixel arrays of the plurality of color filter layers overlap each other to form the first color filter array, all the red color filter pixels of the first color filter layer and half of the second color filter layer are all The transparent color filter pixels overlap with each other, and the other half of the transparent color filter pixels of the second color filter layer overlap with all the blue color filter pixels of the third color filter layer.
在所述多个滤色层的滤色像素阵列相互叠合形成第一滤色阵列的情况下,控制所述图像传感器的驱动单元驱动所述多个滤色层移动,以使所述多个滤色层之间的相对位置发生至少一次改变,所述多个滤色层的滤色像素阵列相互叠合形成至少一种第二滤色阵列;在所述第一滤色阵列中,所述第一滤色层的全部红色滤色像素和所述第二滤色层的一半全透滤色像素相互重叠,所述第二滤色层的另一半全透滤色像素与所述第三滤色层的全部蓝色滤色像素相互重叠;其中,所述第二滤色阵列的透光率大于所述第一滤色阵列的透光率。In the case where the color filter pixel arrays of the plurality of color filter layers overlap each other to form the first color filter array, the driving unit of the image sensor is controlled to drive the plurality of color filter layers to move, so that the plurality of color filter layers The relative positions between the color filter layers are changed at least once, and the color filter pixel arrays of the plurality of color filter layers are overlapped to form at least one second color filter array; in the first color filter array, the All the red color filter pixels of the first color filter layer overlap with half of the fully transparent color filter pixels of the second color filter layer, and the other half of the fully transparent color filter pixels of the second color filter layer overlap with the third color filter pixels All the blue color filter pixels of the color layer overlap each other; wherein, the light transmittance of the second color filter array is greater than the light transmittance of the first color filter array.
驱动单元可以对应有第一驱动控制操作和第二驱动控制操作,其中,第一驱动控制操作可以是将多个滤色层均调整至其对应的第一位置处的操作,以将多个滤色层的相对位置关系调整至第一相对位置关系,第二驱动控制操作可以是将多个滤色层均调整至其对应的第二位置处的操作,以将多个滤色层的相对位置关系调整至第二相对位置关系。The drive unit may correspond to a first drive control operation and a second drive control operation, wherein the first drive control operation may be an operation of adjusting a plurality of color filter layers to their corresponding first positions, so that the plurality of filter layers The relative positional relationship of the color layers is adjusted to the first relative positional relationship, and the second drive control operation may be an operation of adjusting a plurality of color filter layers to their corresponding second positions, so that the relative position of the plurality of color filter layers The relationship is adjusted to the second relative positional relationship.
具体地,如果第一图像是在多个滤色层形成第一滤色阵列的情况下拍摄的,在得到第一图像后,各个滤色层保持在第一滤色阵列,因此,可以在不同滤色层的滤色像素阵列相互叠合形成第一滤色阵列的情况下,通过驱动单元驱动多个滤色层移动,从而改变不同滤色层之间的相对位置关系,使不同滤色层的滤色像素阵列相互叠合形成一种第二滤色阵列。Specifically, if the first image is taken under the condition that a plurality of color filter layers form the first color filter array, after obtaining the first image, each color filter layer remains in the first color filter array, therefore, it can be used in different When the color filter pixel arrays of the color filter layers are overlapped to form the first color filter array, the driving unit drives the multiple color filter layers to move, thereby changing the relative positional relationship between different color filter layers, so that different color filter layers The color filter pixel arrays are overlapped to form a second color filter array.
如果第一图像是在多个滤色层形成第二滤色阵列的情况下拍摄的,在得到第一图像后,各个滤色层保持在第二滤色阵列,因此,可以在不同滤色层的滤色像素阵列相互叠合形成第二滤色阵列的情况下,通过驱动单元驱动多个滤色层移动,从而改变不同滤色层之间的相对位置关系,使不同滤色层的滤色像素阵列相互叠合形成第一滤色阵列;其中,第二滤色阵列的透光率大于第一滤色阵列的透光率。If the first image is taken under the condition that a plurality of color filter layers form the second color filter array, after obtaining the first image, each color filter layer remains in the second color filter array, therefore, different color filter layers can be When the color filter pixel arrays are overlapped to form the second color filter array, the driving unit drives multiple color filter layers to move, thereby changing the relative positional relationship between different color filter layers, so that the color filter layers of different color filter layers The pixel arrays are overlapped to form a first color filter array; wherein, the light transmittance of the second color filter array is greater than that of the first color filter array.
可选地,控制所述图像传感器的驱动单元驱动所述多个滤色层移动的方法可以包括:控制所述驱动单元驱动所述第一滤色层、所述第二滤色层和所述第三滤色层移动,以使所述第一滤色层的全部红色滤色像素和所述第二滤色层的一半绿色滤色像素相互重叠,所述第二滤色层的全部蓝色滤色像素和所述第二滤色层的另一半绿色滤色像素对齐,且所述多个滤色层的全透滤色像素之间相互重叠。即,在本发明实施例中,在所述多个滤色层的滤色像素阵列相互叠合形成一种第二滤色阵列的情况下,第一滤色层的全部红色滤色像素和所述第二滤色层的一半绿色滤色像素相互重叠,所述第二滤色层的全部蓝色滤色像素和所述第二滤色层的另一半绿色滤色像素对齐,且所述多个滤色层的全透滤色像素之间相互重叠。Optionally, the method for controlling the drive unit of the image sensor to drive the plurality of color filter layers to move may include: controlling the drive unit to drive the first color filter layer, the second color filter layer and the The third color filter layer moves so that all the red color filter pixels of the first color filter layer and half of the green color filter pixels of the second color filter layer overlap each other, and all the blue color filter pixels of the second color filter layer The color filter pixels are aligned with the other half of the green color filter pixels of the second color filter layer, and the transparent filter pixels of the plurality of color filter layers overlap each other. That is, in the embodiment of the present invention, in the case where the color filter pixel arrays of the plurality of color filter layers are stacked with each other to form a second color filter array, all the red color filter pixels of the first color filter layer and all the red color filter pixels Half of the green color filter pixels of the second color filter layer overlap each other, all the blue color filter pixels of the second color filter layer are aligned with the other half of the green color filter pixels of the second color filter layer, and the multiple The transparent filter pixels of each color filter layer overlap with each other.
在本发明实施例中,可以通过调整多个滤色层之间的相对位置关系,使同一个图像传感器可以在不同滤色阵列下进行感光,从而可以针对同一拍摄场景获取到不同色彩信息和光照强度的图像,有效提升了单摄像头电子设备的拍摄能力。In the embodiment of the present invention, by adjusting the relative positional relationship between multiple color filter layers, the same image sensor can be sensitive to light under different color filter arrays, so that different color information and illumination can be obtained for the same shooting scene. Intensive images effectively improve the shooting capability of single-camera electronic equipment.
步骤103,在每次改变所述多个滤色层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像。
如果第一图像是在多个滤色层形成第一滤色阵列的情况下拍摄的,在多个滤色层改变一次相对位置关系后,多个滤色层之间形成覆盖感光层的一种第二滤色阵列,此时可以通过感光层采集一张第二图像。需要说明的是,如果多个滤色层多次改变相对位置关系,在每次改变相对位置关系后,多个滤色层之间形成覆盖感光层的一种第二滤色阵列,则可以采集到多张第二图像。If the first image is taken when a plurality of color filter layers form the first color filter array, after the plurality of color filter layers change their relative positional relationship once, a type of covering photosensitive layer is formed between the plurality of color filter layers. The second color filter array can collect a second image through the photosensitive layer at this time. It should be noted that if a plurality of color filter layers changes the relative positional relationship multiple times, after changing the relative positional relationship each time, a second color filter array covering the photosensitive layer is formed between the plurality of color filter layers, and the acquisition to multiple second images.
步骤104,基于所述第一图像和所述至少一张第二图像,生成目标图像。Step 104: Generate a target image based on the first image and the at least one second image.
在至少一张第二图像仅包含一张第二图像的情况下,可以直接根据第一图像和第二图像生成目标图像,在至少一张第二图像包含多张第二图像的情况下,可以先将第一图像与其中一张第二图像合成,得到中间图像,再将中间图像与剩余的一张第二图像合成,产生新的中间图像,如此往复直至所有第二图像参与合成过程,从而得到目标图像。In the case where at least one second image contains only one second image, the target image can be generated directly according to the first image and the second image, and in the case where at least one second image contains multiple second images, it can be The first image is synthesized with one of the second images to obtain an intermediate image, and then the intermediate image is synthesized with the remaining second image to generate a new intermediate image, and so on until all the second images participate in the synthesis process, thus Get the target image.
在至少一张第二图像仅包含一张第二图像的情况下,基于第一图像和第二图像生成目标图像的过程如下:In the case where at least one second image contains only one second image, the process of generating the target image based on the first image and the second image is as follows:
在本发明实施例中,由于第二滤色阵列中可以包含半数的全透滤光像素,因此第一滤色阵列与第二滤色阵列的滤色像素的种类和透光率不同,透光率较小的滤色阵列通常可以为感光层提供更为准确的色彩信息,而透光率较大的滤色阵列通常可以为感光层提供更为准确的亮度信息,因此,第一图像和第二图像中,一个图像的色彩较为准确,另一个图像的亮度较为准确,因此可以通过第一图像和第二图像合成色彩和亮度均准确的目标图像,以达到提升拍摄画质的效果。In the embodiment of the present invention, since the second color filter array may contain half of the fully transparent filter pixels, the types and light transmittances of the color filter pixels of the first color filter array and the second color filter array are different, and the light transmittance A color filter array with a smaller transmittance can generally provide more accurate color information for the photosensitive layer, and a color filter array with a larger light transmittance can usually provide more accurate brightness information for the photosensitive layer. Therefore, the first image and the second image Among the two images, the color of one image is relatively accurate, and the brightness of the other image is relatively accurate. Therefore, a target image with accurate color and brightness can be synthesized through the first image and the second image, so as to achieve the effect of improving the shooting quality.
需要说明的是,由于多个滤色层存在多层滤色层,在各个滤色层相互叠加形成的滤色阵列中,可能存在融合滤色像素,例如图6中的蓝色滤色像素和绿色滤色像素相互叠合形成的蓝绿融合滤色像素,和红色滤色像素和绿色滤色像素相互叠合形成的红绿融合滤色像素。由于融合滤色像素的透光率相较于单层的滤色像素的透光率较低,因此,对于第一图像或第二图像中的融合滤色像素,可以通过融合像素增益对融合滤色像素的信号强度进行修正,再参与后续的图像融合运算过程。其中,融合像素增益可以由技术人员在研发阶段通过标定确定。It should be noted that, since there are multiple color filter layers in multiple color filter layers, in the color filter array formed by overlapping each color filter layer, there may be merged color filter pixels, such as the blue color filter pixel and the The green color filter pixels are superimposed to form blue-green color filter pixels, and the red and green color filter pixels are superimposed to form red-green color filter pixels. Since the light transmittance of the fusion color filter pixel is lower than that of a single-layer color filter pixel, therefore, for the fusion color filter pixel in the first image or the second image, the fusion filter can be adjusted by the fusion pixel gain. The signal strength of the color pixel is corrected, and then participates in the subsequent image fusion operation process. Among them, the fused pixel gain can be determined by technical personnel through calibration during the research and development stage.
举例来说,可以将图像传感器置于平场校正(flatfield)光源环境中,在第一滤色阵列的状态下拍摄图像,得到感光像素在覆盖绿色滤色像素时对应的第一信号强度,在第二滤色阵列的状态下拍摄图像,得到感光像素在覆盖蓝绿融合滤色像素时对应的第二信号强度,以及覆盖红绿融合像素时对应的第三信号强度,将第二信号强度与第一信号强度的比值作为蓝绿融合滤色像素的融合像素增益,将第三信号强度与第一信号强度的比值作为红绿融合滤色像素的融合像素增益。For example, the image sensor can be placed in a flat-field correction (flatfield) light source environment, and an image can be captured in the state of the first color filter array, and the first signal intensity corresponding to the light-sensitive pixel covering the green color filter pixel can be obtained. Take an image in the state of the second color filter array, obtain the second signal strength corresponding to the photosensitive pixel when covering the blue-green fusion filter pixel, and the corresponding third signal strength when covering the red-green fusion pixel, and combine the second signal strength with the The ratio of the first signal intensity is used as the fusion pixel gain of the blue-green fusion filter pixel, and the ratio of the third signal intensity to the first signal intensity is used as the fusion pixel gain of the red-green fusion filter pixel.
在本发明实施例中,第一图像和第二图像的融合可以是将第一图像合成为一个新的目标图像,也可以是采用其中一张图像对另一张图像进行加强以得到目标图像。In the embodiment of the present invention, the fusion of the first image and the second image may be synthesizing the first image into a new target image, or using one of the images to enhance the other image to obtain the target image.
具体地,可以基于多尺度分解方法,对第一图像对第二图像进行融合。参照图10,图10示出了本发明实施例提供的一种基于多尺度分解的图像融合流程图,如图10所示,首先对第一图像141和第二图像142进行多尺度分解,得到第一图像的多尺度表示143和第二图像的多尺度表示144,然后根据特定的融合规则,将第一图像的多尺度表示143和第二图像的多尺度表示144进行融合,得到融合图像的多尺度表示145,再对融合图像的多尺度表示145进行多尺度逆变换,得到目标图像146。基于多尺度分解法进行图像融合,可以较好保留第一图像和第二图像中的细节信息,使融合得到的目标图像能够较好保留原图的细节信息,且该方法能够较好的保留原图的亮度特征,使融合得到的目标图像可以达到较好的暗光拍摄效果。Specifically, the first image and the second image may be fused based on a multi-scale decomposition method. Referring to FIG. 10, FIG. 10 shows a flow chart of image fusion based on multi-scale decomposition provided by an embodiment of the present invention. As shown in FIG. 10, firstly, the
在本申请实施例中,多尺度分解的方法可以包括拉普拉斯金字塔变换、对比度金字塔变换、双树复小波变换、曲波变换、非下采样轮廓波变换、非下采样剪切波变换等。其中,拉普拉斯金字塔变换可以包括对图像进行低通滤波、下采样、插值和带通滤波这四个步骤;小波变换可以在两个相互垂直的空间频率对图像进行分解,在提取图像扫频信息的同时提取图像在三个方向的高频边缘细节;曲波变换可以很好地表示图像中具有各向异性的边缘特征,综合了脊波变换可以很好的描述图像的直线特征和小波变换适合表现点状特征的优点,图像的边缘信息可以用较少的非零系数准确且精确地表示图像的曲线奇异特征;非下采样轮廓波变换是在轮廓波变换的基础上提出的一种改进变换方式,非下采样轮廓波变换与轮廓波变换相比在图像的分解和重构过程中并没有经过下采样操作,因此保证了变换的平移不变性,解决了伪吉布斯现象;非下采样剪切波变换是在剪切波变换的基础上进行改进,非下采样剪切波变换与剪切波变换相比在图像的分解和重构过程中没有经过下采样操作,因此非下采样剪切波变换具有平移不变性。需要说明的是,技术人员在多尺度分解法对第一图像和第二图像进行融合时,可以根据实际需要灵活调整多尺度分解的具体变换方法,本申请实施例对此并不进行具体限定。In the embodiment of this application, the multi-scale decomposition method may include Laplace pyramid transform, contrast pyramid transform, dual-tree complex wavelet transform, curvelet transform, non-subsampled contourlet transform, non-subsampled shearlet transform, etc. . Among them, the Laplace pyramid transform can include four steps of low-pass filtering, down-sampling, interpolation and band-pass filtering on the image; the wavelet transform can decompose the image at two mutually perpendicular Extract the high-frequency edge details of the image in three directions while extracting the high-frequency information; the curvelet transform can well represent the anisotropic edge features in the image, and the combination of the ridgelet transform can well describe the linear features of the image and wavelet Transformation is suitable for expressing the advantages of point features, and the edge information of the image can accurately and precisely represent the curve singularity features of the image with fewer non-zero coefficients; the non-subsampling contourlet transform is a proposed method based on the contourlet transform Improve the transformation method. Compared with the contourlet transformation, the non-subsampling contourlet transformation does not undergo a downsampling operation in the process of image decomposition and reconstruction, so the translation invariance of the transformation is guaranteed, and the pseudo-Gibbs phenomenon is solved; Downsampled shearlet transform is improved on the basis of shearlet transform. Compared with shearlet transform, non-downsampled shearlet transform does not undergo downsampling operation in the process of image decomposition and reconstruction, so non-downsampled shearlet transform The sampled shearlet transform is translation invariant. It should be noted that when the multi-scale decomposition method is used to fuse the first image and the second image, technicians can flexibly adjust the specific transformation method of the multi-scale decomposition according to actual needs, which is not specifically limited in this embodiment of the present application.
此外,由于第一图像和第二图像是同一个传感器采集的图像,因此在电子设备保持静止的情况下,拍摄第一图像和第二图像的视角完全相同,在第一图像和第二图像的合成中,无需一一对齐第一图像和第二图像的像素,不仅提升了图像合成的速度,还可以避免由于对齐错误导致的合成效果不佳的情况发生,进一步提升了目标图像的拍摄质量。In addition, since the first image and the second image are images collected by the same sensor, when the electronic device remains still, the viewing angles of the first image and the second image are completely the same. In the synthesis, there is no need to align the pixels of the first image and the second image one by one, which not only improves the speed of image synthesis, but also avoids the occurrence of poor synthesis results due to alignment errors, and further improves the shooting quality of the target image.
综上,本发明实施例提供的一种图像生成方法,包括,获取图像传感器的感光层采集的第一图像;控制图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;在每次改变多个滤色层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;基于第一图像和至少一张第二图像,生成目标图像。采用本发明上述方案拍摄第一图像和至少一张第二图像并进行图像合成时,无需一一对齐第一图像和第二图像的像素,不仅提升了图像合成的速度,还可以避免由于对齐错误导致的合成效果不佳的情况发生,进一步提升了目标图像的拍摄质量。To sum up, an image generation method provided by an embodiment of the present invention includes acquiring a first image collected by a photosensitive layer of an image sensor; controlling a drive unit of the image sensor to drive the relative positions between multiple color filter layers to change at least once ; After changing the relative positions of the plurality of color filter layers each time, acquiring a second image collected by the photosensitive layer to obtain at least one second image; generating a target image based on the first image and at least one second image. When the above scheme of the present invention is used to capture the first image and at least one second image and perform image synthesis, there is no need to align the pixels of the first image and the second image one by one, which not only improves the speed of image synthesis, but also avoids alignment errors. The resultant composite effect is poor, which further improves the shooting quality of the target image.
图11是本发明实施例提供的图像传感器结构图之二,如图11所示,该图像传感器可以包括:感光层、目标滤色层,和与目标滤色层连接的驱动单元。FIG. 11 is the second structural diagram of an image sensor provided by an embodiment of the present invention. As shown in FIG. 11 , the image sensor may include: a photosensitive layer, a target color filter layer, and a driving unit connected to the target color filter layer.
感光层通常也被称作光电传感器,其可以感受光线的强度并根据光线的强度输出对应的电信号,在本发明实施例中,并不限定图像传感器包括的感光层的形式,例如感光层可以是电荷耦合器件(charge coupled device,CCD),也可以是互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS),还可以是其他形式。其中,感光层的一面为受光面,受光面用于接收光信号。The photosensitive layer is also commonly referred to as a photosensor, which can sense the intensity of light and output a corresponding electrical signal according to the intensity of light. In the embodiment of the present invention, the form of the photosensitive layer included in the image sensor is not limited. For example, the photosensitive layer can be It may be a charge coupled device (charge coupled device, CCD), or it may be a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS), or it may be other forms. Wherein, one side of the photosensitive layer is a light-receiving surface, and the light-receiving surface is used for receiving light signals.
由于感光层只能感应光的强度,不能区分光的颜色(即光的波长),因此图像传感器还需要在感光层接收光线的一面(受光面)设置目标滤色层,目标滤色层的滤色像素与感光层的感光像素对应,滤色像素仅允许特定颜色(波长)的光通过,从而使感光层的感光像素接收到特定颜色的光,通过滤色像素与感光像素的对应关系,图像传感器即可获得光线的色彩信息,从而拍摄到彩色图像。Since the photosensitive layer can only sense the intensity of light and cannot distinguish the color of light (that is, the wavelength of light), the image sensor also needs to set a target color filter layer on the light-receiving side (light-receiving surface) of the photosensitive layer. The color pixels correspond to the photosensitive pixels of the photosensitive layer, and the color filter pixels only allow light of a specific color (wavelength) to pass through, so that the photosensitive pixels of the photosensitive layer receive light of a specific color. Through the corresponding relationship between the color filter pixels and photosensitive pixels, the image The sensor can obtain the color information of the light, so as to capture a color image.
在本发明实施例中,如图11所示,目标滤色层设置在感光层的受光面,为了保证良好的滤色效果,目标滤色层24可以完全覆盖感光层10,并与感光层10相互平行设置。如图11所示,图像传感器包括1个目标滤色层24、与目标滤色层24连接的驱动单元30和被目标滤色层24覆盖的感光层10。此外,目标滤色层24上还可以覆盖有聚光层40,聚光层40由微透镜构成,每个微透镜覆盖目标滤色层24的一个滤色像素,聚光层40的微透镜可以汇聚光线,使光线更集中通过滤色像素,提高光线的利用率。感光层10的背光面还可以与布线层50连接,布线层50中布置有连通感光层10与处理器的信号线。In the embodiment of the present invention, as shown in FIG. 11 , the target color filter layer is arranged on the light-receiving surface of the photosensitive layer. In order to ensure a good color filtering effect, the target
驱动单元用于驱动目标滤色层与感光层之间的相对位置发生改变。驱动单元与目标滤色层连接,在驱动单元的驱动下,改变目标滤色层与感光层之间的相对位置关系。The driving unit is used for driving the relative position between the target color filter layer and the photosensitive layer to change. The driving unit is connected to the target color filter layer, and the relative positional relationship between the target color filter layer and the photosensitive layer is changed under the drive of the driving unit.
目标滤色层包括滤色像素阵列,滤色像素阵列包括至少三种滤色像素,感光层包括感光像素阵列。例如,在滤色像素的种类数量为3的情况下,滤色像素可以包括红色滤色像素、绿色滤色像素和蓝色绿色像素。The target color filter layer includes a color filter pixel array, the color filter pixel array includes at least three kinds of color filter pixels, and the photosensitive layer includes a photosensitive pixel array. For example, when the number of types of color filter pixels is 3, the color filter pixels may include red color filter pixels, green color filter pixels and blue green color filter pixels.
滤色像素阵列的滤色像素与感光像素阵列的感光像素一对一重叠。目标滤色层与感光层之间的相对位置关系的种数等于滤色像素阵列中滤色像素的种数。The color filter pixels of the color filter pixel array overlap one-to-one with the photosensitive pixels of the photosensitive pixel array. The number of relative positional relationships between the target color filter layer and the photosensitive layer is equal to the number of color filter pixels in the color filter pixel array.
参照图12,图12示出了本发明实施例提供的滤色层示意图之二,如图12所示,目标滤色层的滤色像素阵列可以包括红、绿、蓝三种滤色像素,目标滤色层包括多个4×4滤色单元;滤色单元包括4个2×2目标滤色组84,每个目标滤色组84均包括红、绿、蓝三种滤色像素。其中,图12中的纵线代表红色滤色像素、斜线代表绿色滤色像素、横线代表蓝色滤色像素。Referring to FIG. 12, FIG. 12 shows the second schematic diagram of the color filter layer provided by the embodiment of the present invention. As shown in FIG. 12, the color filter pixel array of the target color filter layer may include red, green, and blue color filter pixels, The target color filter layer includes a plurality of 4×4 color filter units; the color filter unit includes four 2×2 target
在本发明实施例中,滤色像素阵列的滤色像素与感光像素阵列的感光像素一对一重叠;目标滤色层与感光层之间的相对位置关系的种数等于滤色像素阵列中滤色像素的种数。例如,在滤色像素包括红、绿、蓝3种像素的情况下,则滤色像素阵列相对于感光层具有第一位置关系、第二位置关系和第三位置关系。在不同位置关系的情况下,感光层上的各个感光像素对应的滤色像素种类不同。In the embodiment of the present invention, the color filter pixels of the color filter pixel array overlap with the photosensitive pixels of the photosensitive pixel array one-to-one; the number of relative positional relationships between the target color filter layer and the photosensitive layer is equal to The number of color pixels. For example, when the color filter pixels include red, green and blue pixels, the color filter pixel array has a first positional relationship, a second positional relationship and a third positional relationship with respect to the photosensitive layer. In the case of different positional relationships, the types of color filter pixels corresponding to each photosensitive pixel on the photosensitive layer are different.
参照图13,图13示出了本发明实施例提供的一种第一位置关系示意图,如图13所示,对于包括红、绿、蓝三种滤色像素的目标滤色层24,在目标滤色层24的滤色像素阵列70相对于感光层10处于第一位置关系的情况下,感光层的感光像素11被蓝色滤色像素覆盖,其接收到蓝色光信息。Referring to FIG. 13, FIG. 13 shows a schematic diagram of a first positional relationship provided by an embodiment of the present invention. As shown in FIG. 13, for the target
参照图14,图14示出了本发明实施例提供的第二位置关系示意图之一,如图14所示,目标滤色层24沿图13中的箭头e方向移动,使目标滤色层24的滤色像素阵列70相对于感光层处于第二位置关系,此时,感光层的感光像素11被红色滤色像素覆盖,其接收到红色光信息。Referring to FIG. 14, FIG. 14 shows one of the second positional relationship diagrams provided by the embodiment of the present invention. As shown in FIG. 14, the target
参照图15,图15示出了本发明实施例提供的第二位置关系示意图之二,如图15所示,目标滤色层24沿图14中的箭头e方向继续移动,使目标滤色层24的滤色像素阵列70相对于感光层处于另一种第二位置关系,此时,感光层的感光像素11被绿色滤色像素覆盖,其接收到绿色光信息。Referring to FIG. 15, FIG. 15 shows the second schematic diagram of the second position relationship provided by the embodiment of the present invention. As shown in FIG. 15, the target
可选地,在目标滤色层的数量等于1的情况下,该目标滤色层的滤色像素阵列由数量相等的红色滤色像素、绿色滤色像素和蓝色滤色像素交错构成,以使得目标滤色层相对于感光层进行横向或纵向平移时,每移动一个滤色像素的距离,感光层上的所有感光像素对应的滤色像素颜色就变化一次。Optionally, when the number of the target color filter layer is equal to 1, the color filter pixel array of the target color filter layer is composed of an equal number of red color filter pixels, green color filter pixels and blue color filter pixels interlaced to form When the target color filter layer is translated horizontally or vertically relative to the photosensitive layer, the color of the color filter pixels corresponding to all the photosensitive pixels on the photosensitive layer changes once every time the distance of one color filter pixel is moved.
综上,本发明实施例提供的一种图像传感器,包括:感光层、目标滤色层,和与目标滤色层连接的驱动单元;目标滤色层设置在感光层的受光面;驱动单元用于驱动目标滤色层与感光层之间的相对位置发生改变。使得图像传感器可以在不同滤色层位置下工作,可以改变图像传感器的滤色阵列,使电子设备可以通过图像传感器拍摄到基于不同滤色阵列的多张图像,再进行图像合成,图像传感器的滤色阵列能够机械切换以提高感光度,使一颗图像传感器能够兼顾不同滤色阵列的优势,此外,由于进行合成的图像为同一图像传感器拍摄,避免了像素对齐的过程,提升了图像合成的准确性和效率。To sum up, an image sensor provided by an embodiment of the present invention includes: a photosensitive layer, a target color filter layer, and a driving unit connected to the target color filter layer; the target color filter layer is arranged on the light-receiving surface of the photosensitive layer; The relative position between the driving target color filter layer and the photosensitive layer changes. The image sensor can work at different positions of the color filter layer, the color filter array of the image sensor can be changed, and the electronic device can capture multiple images based on different color filter arrays through the image sensor, and then perform image synthesis. The color array can be mechanically switched to increase the sensitivity, so that one image sensor can take into account the advantages of different color filter arrays. In addition, because the composited image is taken by the same image sensor, the process of pixel alignment is avoided, and the accuracy of image synthesis is improved. sex and efficiency.
图16是本发明实施例提供的图像生成方法的步骤流程图之二,该方法应用于一种电子设备,该电子设备包括上述图像传感器,如图16所示,该方法可以包括:FIG. 16 is the second flow chart of the steps of the image generation method provided by the embodiment of the present invention. The method is applied to an electronic device, and the electronic device includes the above-mentioned image sensor. As shown in FIG. 16 , the method may include:
步骤201,获取所述图像传感器的感光层采集的第一图像。
在本发明实施例中,图像传感器的感光层上覆盖的目标滤色层可以相较于感光层平行移动,改变感光层中各个感光像素接收到的光线的颜色。目标滤色层可以在驱动单元的驱动下,相较于感光层平行移动,使目标滤色层的滤色像素与感光层的感光像素存在多种对应关系,在不同的对应关系的情况下,感光层上的同一个感光像素被不同颜色的滤色像素覆盖。In the embodiment of the present invention, the target color filter layer covered on the photosensitive layer of the image sensor can move in parallel with the photosensitive layer to change the color of light received by each photosensitive pixel in the photosensitive layer. Driven by the driving unit, the target color filter layer can move in parallel with the photosensitive layer, so that there are multiple corresponding relationships between the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer. In the case of different corresponding relationships, The same photosensitive pixel on the photosensitive layer is covered by color filter pixels of different colors.
举例来说,在目标滤色层的滤色像素与感光层的感光像素处于第一对应关系的情况下,感光层的感光像素A被目标滤色层的红色滤色像素覆盖,在第二对应关系的情况下,感光层的感光像素A被目标滤色层的蓝色滤色像素覆盖。For example, when the color filter pixels of the target color filter layer are in the first corresponding relationship with the photosensitive pixels of the photosensitive layer, the photosensitive pixel A of the photosensitive layer is covered by the red color filter pixels of the target color filter layer, and in the second corresponding relationship In the case of the relationship, the photosensitive pixel A of the photosensitive layer is covered by the blue color filter pixel of the target color filter layer.
在本发明实施例中,通过图像传感器拍摄照片时,首先使目标滤色层的滤色像素与感光层的感光像素处于第一对应关系,再通过感光层采集第一图像。In the embodiment of the present invention, when taking a photo through the image sensor, firstly make the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer in the first corresponding relationship, and then collect the first image through the photosensitive layer.
步骤202,控制所述图像传感器的驱动单元驱动所述目标滤色层与所述感光层之间的相对位置发生至少一次改变。
在得到第一图像后,可以通过驱动单元控制目标滤色层相对于感光层进行平行移动,具体地,在目标滤色层的滤色像素与感光层的感光像素具有第一对应关系的情况下,通过驱动单元驱动目标滤色层移动至少一次,从而改变目标滤色层与感光层之间的相对位置关系至少一次,使目标滤色层的滤色像素与感光层的感光像素具有至少一种第二对应关系。After the first image is obtained, the target color filter layer can be controlled to move in parallel with respect to the photosensitive layer through the driving unit, specifically, when the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have a first corresponding relationship Drive the target color filter layer to move at least once by the driving unit, thereby changing the relative positional relationship between the target color filter layer and the photosensitive layer at least once, so that the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have at least one Second Correspondence.
在所述目标滤色层的滤色像素与所述感光层的感光像素具有第一相对位置关系的情况下,控制所述图像传感器的驱动单元驱动所述目标滤色层移动,以使所述目标滤色层与所述感光层之间的相对位置发生至少一次改变,所述目标滤色层的滤色像素与所述感光层的感光像素具有至少一种第二对应关系;其中,在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第一相对位置关系的情况下,所述感光像素与一种滤色像素对齐;在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第二相对位置关系的情况下,所述感光像素与另一种滤色像素对齐。In the case that the filter pixels of the target color filter layer have a first relative positional relationship with the photosensitive pixels of the photosensitive layer, control the drive unit of the image sensor to drive the target color filter layer to move, so that the The relative position between the target color filter layer and the photosensitive layer is changed at least once, and the color filter pixels of the target color filter layer have at least one second corresponding relationship with the photosensitive pixels of the photosensitive layer; wherein, in the In the case that the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have the first relative positional relationship, the photosensitive pixels are aligned with one kind of color filter pixels; the filter pixels of the target color filter layer In the case where the color pixel has the second relative positional relationship with the photosensitive pixel of the photosensitive layer, the photosensitive pixel is aligned with another color filter pixel.
例如,如果滤色层包含红、绿、蓝3种滤色像素,则控制所述图像传感器的驱动单元驱动所述目标滤色层与所述感光层之间的相对位置发生两次改变,以使感光层上的每个像素能够在每次改变相对位置的前后对应于不同颜色的滤色像素。For example, if the color filter layer contains three kinds of color filter pixels of red, green and blue, the driving unit of the image sensor is controlled to drive the relative position between the target color filter layer and the photosensitive layer to change twice, so that Each pixel on the photosensitive layer can correspond to color filter pixels of different colors before and after changing the relative position each time.
步骤203,在每次改变所述目标滤色层与所述感光层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像。
例如,目标滤色层相对于感光层处于图8所示的第一对应关系,此时通过感光层获取第一图像,而后通过驱动单元将感光层向图9所示的方向e移动一个滤色像素的距离,使目标滤色层相对于感光层处于图9所示的一种第二对应关系,此时通过感光层获取第一张第二图像,而后再通过驱动单元将感光层向图9所示的方向e再移动一个滤色像素的距离,使目标滤色层相对于感光层处于图10所示的另一种第二对应关系,此时通过感光层获取第二张第二图像。For example, the target color filter layer is in the first corresponding relationship shown in FIG. 8 with respect to the photosensitive layer. At this time, the first image is acquired through the photosensitive layer, and then the photosensitive layer is moved by one color filter in the direction e shown in FIG. 9 through the driving unit. The pixel distance makes the target color filter layer in a second corresponding relationship with the photosensitive layer as shown in FIG. The direction e shown is moved by a distance of one color filter pixel, so that the target color filter layer is in another second corresponding relationship as shown in FIG. 10 with respect to the photosensitive layer. At this time, the second second image is acquired through the photosensitive layer.
步骤204,基于所述第一图像和所述至少一张第二图像,生成目标图像。Step 204: Generate a target image based on the first image and the at least one second image.
通常来说,在一次拍摄过程中,一个感光像素只能接收一种特定颜色的光,而拍摄到的图像中每个像素都至少需要红绿蓝三种色彩信息,从而使图像中的像素可以展示出丰富的颜色,因此,需要通过色彩还原算法(例如demosaic、remosaic等)对感光像素进行其他两种色彩信息的计算,色彩还原算法可以根据一个感光像素接收到的光线颜色和该感光像素周围的若干感光像素接收到的光线颜色,估算出该感光像素另外两种颜色的强度。Generally speaking, in a shooting process, a photosensitive pixel can only receive light of a specific color, and each pixel in the captured image needs at least three color information of red, green and blue, so that the pixels in the image can Displays rich colors. Therefore, it is necessary to calculate the other two color information of the photosensitive pixel through a color restoration algorithm (such as demosaic, remosaic, etc.). Based on the color of light received by several photosensitive pixels, the intensity of the other two colors of the photosensitive pixel is estimated.
而在本发明实施例中,由于第一图像和第二图像的每个像素一一对应,且对应像素接收到的光线颜色不同,因此,对于一次拍摄来说,通过第一图像和第二图像,每个感光像素实际获得了两种颜色的信号,每个感光像素只需要还原出另外一种色彩信号即可生成最终的目标图像,这大大提升了色彩还原过程的准确性,可以显著提升最终输出的目标图像的图像质量。However, in the embodiment of the present invention, since each pixel of the first image and the second image corresponds one-to-one, and the colors of light received by the corresponding pixels are different, therefore, for one shot, through the first image and the second image , each photosensitive pixel actually obtains two color signals, and each photosensitive pixel only needs to restore another color signal to generate the final target image, which greatly improves the accuracy of the color restoration process and can significantly improve the final image. The image quality of the output target image.
进一步地,在本发明实施例中,如果目标滤色层包含红、绿、蓝3种滤色像素,目标滤色层的滤色像素与感光层的感光像素之间还可以具有另一种第二对应关系,从而得到两张第二图像。举例来说,在目标滤色层的滤色像素与感光层的感光像素处于第一对应关系的情况下,感光层的感光像素A被目标滤色层的红色滤色像素覆盖,在一种第二对应关系的情况下,感光层的感光像素A被目标滤色层的蓝色滤色像素覆盖,在另一种第二对应关系的情况下,感光层的感光像素A被目标滤色层的绿色滤色像素覆盖。Further, in the embodiment of the present invention, if the target color filter layer contains three kinds of color filter pixels of red, green, and blue, another first Two correspondences, so as to obtain two second images. For example, when the color filter pixels of the target color filter layer are in the first corresponding relationship with the photosensitive pixels of the photosensitive layer, the photosensitive pixel A of the photosensitive layer is covered by the red color filter pixels of the target color filter layer. In the case of two correspondences, the photosensitive pixel A of the photosensitive layer is covered by the blue color filter pixel of the target color filter layer; in the case of another second correspondence, the photosensitive pixel A of the photosensitive layer is covered by the blue color filter pixel of the target color filter layer Green color dropout pixel overlay.
相应地,在一种第二对应关系的情况下拍摄得到一张第二图像后,还可以进一步通过驱动单元驱动目标滤色层移动,从而改变目标滤色层与感光层之间的相对位置关系,使目标滤色层的滤色像素与感光层的感光像素处于另一种第二对应关系,并拍摄另一张第二图像。Correspondingly, after a second image is captured in the case of a second corresponding relationship, the target color filter layer can be further driven to move by the driving unit, thereby changing the relative positional relationship between the target color filter layer and the photosensitive layer , making the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer in another second corresponding relationship, and taking another second image.
在本发明实施例中,对于一次拍摄来说,通过第一图像、两张第二图像,每个感光像素实际获得了三种颜色(例如红绿蓝三种颜色)的信号,可以直接根据每个感光像素对应的三种颜色信号生成一个彩色的目标图像像素,省略了色彩还原过程,无需对像素的色彩进行估计,可以直接根据真实色彩信息生成彩色像素,更进一步提升了最终输出的目标图像的图像质量和效果。In the embodiment of the present invention, for one shot, through the first image and two second images, each photosensitive pixel actually obtains signals of three colors (for example, three colors of red, green, and blue), which can be directly obtained according to each The three color signals corresponding to each photosensitive pixel generate a colored target image pixel, which omits the color restoration process and does not need to estimate the color of the pixel, and can directly generate color pixels based on the real color information, which further improves the final output target image. image quality and effects.
综上,本发明实施例提供的另一种图像生成方法,包括,获取所述图像传感器的感光层采集的第一图像;控制所述图像传感器的驱动单元驱动所述目标滤色层与所述感光层之间的相对位置发生至少一次改变;在每次改变所述目标滤色层与所述感光层之间的相对位置后,获取所述感光层采集的第二图像,得到至少一张第二图像;基于所述第一图像和所述至少一张第二图像,生成目标图像。采用本发明上述方案拍摄多张图像并进行图像合成时,可以使每个感光像素均获取到多种色彩信号,可以根据感光像素获取到的多种色彩信息进行色彩还原,或完全无需进行色彩还原,提高了最终输出的目标图像的颜色准确性。To sum up, another image generation method provided by an embodiment of the present invention includes acquiring a first image collected by the photosensitive layer of the image sensor; controlling the driving unit of the image sensor to drive the target color filter layer and the The relative position between the photosensitive layers is changed at least once; after each change of the relative position between the target color filter layer and the photosensitive layer, the second image collected by the photosensitive layer is acquired to obtain at least one first Two images: generating a target image based on the first image and the at least one second image. When adopting the above-mentioned solution of the present invention to take multiple images and perform image synthesis, each photosensitive pixel can obtain multiple color signals, and color restoration can be performed according to the various color information obtained by the photosensitive pixels, or no color restoration is required at all. , which improves the color accuracy of the final output target image.
图17是本发明实施例提供的图像生成装置的框图之一,如图17所示,该图像生成装置包括:Fig. 17 is one of the block diagrams of the image generation device provided by the embodiment of the present invention. As shown in Fig. 17, the image generation device includes:
第一获取模块301,用于获取图像传感器的感光层采集的第一图像;The
控制模块302,用于控制图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;A
第二获取模块303,用于在每次改变多个滤色层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;The
生成模块304,用于基于第一图像和至少一张第二图像,生成目标图像。A
可选地,多个滤色层包括由红色滤色像素和全透滤色像素组成的第一滤色层、由绿色滤色像素和全透滤色像素组成的第二滤色层,以及由蓝色滤色像素和全透滤色像素组成的第三滤色层,控制模块包括:Optionally, the multiple color filter layers include a first color filter layer composed of red color filter pixels and fully transparent color filter pixels, a second color filter layer composed of green color filter pixels and fully transparent color filter pixels, and The third color filter layer composed of blue color filter pixels and full transparent color filter pixels, the control module includes:
控制子模块,用于在多个滤色层的滤色像素阵列相互叠合形成第一滤色阵列的情况下,控制图像传感器的驱动单元驱动多个滤色层移动,以使多个滤色层之间的相对位置发生至少一次改变,多个滤色层的滤色像素阵列相互叠合形成至少一种第二滤色阵列;在第一滤色阵列中,第一滤色层的全部红色滤色像素和第二滤色层的一半全透滤色像素相互重叠,第二滤色层的另一半全透滤色像素与第三滤色层的全部蓝色滤色像素相互重叠;其中,第二滤色阵列的透光率大于第一滤色阵列的透光率。The control sub-module is used to control the driving unit of the image sensor to drive the movement of the multiple color filter layers when the color filter pixel arrays of the multiple color filter layers are overlapped with each other to form the first color filter array, so that the multiple color filter layers The relative positions between the layers are changed at least once, and the color filter pixel arrays of multiple color filter layers are stacked to form at least one second color filter array; in the first color filter array, all the red colors of the first color filter layer The color filter pixels overlap with half of the fully transparent filter pixels of the second color filter layer, and the other half of the fully transparent color filter pixels of the second color filter layer overlap with all the blue color filter pixels of the third color filter layer; wherein, The light transmittance of the second color filter array is greater than the light transmittance of the first color filter array.
可选地,控制子模块,还用于控制驱动单元驱动第一滤色层、第二滤色层和第三滤色层移动,以使第一滤色层的全部红色滤色像素和第二滤色层的一半绿色滤色像素相互重叠,第二滤色层的全部蓝色滤色像素和第二滤色层的另一半绿色滤色像素对齐,且多个滤色层的全透滤色像素之间相互重叠。Optionally, the control sub-module is also used to control the driving unit to drive the first color filter layer, the second color filter layer and the third color filter layer to move, so that all the red color filter pixels of the first color filter layer and the second color filter Half of the green color filter pixels of the color filter layer overlap each other, all the blue color filter pixels of the second color filter layer are aligned with the other half of the green color filter pixels of the second color filter layer, and the fully transparent color filter pixels of the multiple color filter layers Pixels overlap each other.
综上,本发明实施例提供的一种图像生成装置,包括,第一获取模块,用于获取图像传感器的感光层采集的第一图像;控制模块,用于控制图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;第二获取模块,用于在每次改变多个滤色层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;生成模块,用于基于第一图像和至少一张第二图像,生成目标图像。采用本发明上述装置拍摄第一图像和至少一张第二图像并进行图像合成时,无需一一对齐第一图像和至少一张第二图像的像素,不仅提升了图像合成的速度,还可以避免由于对齐错误导致的合成效果不佳的情况发生,进一步提升了目标图像的拍摄质量。To sum up, an image generation device provided by an embodiment of the present invention includes a first acquisition module, configured to acquire a first image captured by a photosensitive layer of an image sensor; a control module, configured to control a drive unit of the image sensor to drive multiple The relative position between the color filter layers is changed at least once; the second acquisition module is configured to obtain the second image collected by the photosensitive layer after each change of the relative position between the multiple color filter layers, and obtain at least one first Two images; a generating module, configured to generate a target image based on the first image and at least one second image. When the above-mentioned device of the present invention is used to capture the first image and at least one second image and perform image synthesis, there is no need to align the pixels of the first image and at least one second image one by one, which not only improves the speed of image synthesis, but also avoids Poor compositing results due to alignment errors occur, further improving the capture quality of the target image.
图18是本发明实施例提供的图像生成装置的框图之二,如图18所示,该图像生成装置包括:Fig. 18 is the second block diagram of the image generation device provided by the embodiment of the present invention. As shown in Fig. 18, the image generation device includes:
第一获取模块401,用于获取图像传感器的感光层采集的第一图像;The
控制模块402,用于控制图像传感器的驱动单元驱动目标滤色层与感光层之间的相对位置发生至少一次改变;A
第二获取模块403,用于在每次改变目标滤色层与感光层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;The second acquiring
生成模块404,用于基于第一图像和至少一张第二图像,生成目标图像。A
可选地,控制模块还包括:Optionally, the control module also includes:
控制子模块,用于在目标滤色层的滤色像素与感光层的感光像素具有第一相对位置关系的情况下,控制图像传感器的驱动单元驱动目标滤色层移动,以使目标滤色层与感光层之间的相对位置发生至少一次改变,目标滤色层的滤色像素与感光层的感光像素具有至少一种第二对应关系;其中,在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第一相对位置关系的情况下,所述感光像素与一种滤色像素对齐;在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第二相对位置关系的情况下,所述感光像素与另一种滤色像素对齐。The control submodule is used to control the driving unit of the image sensor to drive the target color filter layer to move when the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have a first relative positional relationship, so that the target color filter layer The relative position between the photosensitive layer and the photosensitive layer is changed at least once, and the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have at least one second corresponding relationship; wherein, the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer In the case where the photosensitive pixels of the photosensitive layer have the first relative positional relationship, the photosensitive pixels are aligned with a color filter pixel; In the case of having the second relative positional relationship, the photosensitive pixel is aligned with another color filter pixel.
综上,本发明实施例提供的一种图像生成装置,包括,第一获取模块,用于获取图像传感器的感光层采集的第一图像;控制模块,用于控制图像传感器的驱动单元驱动目标滤色层与感光层之间的相对位置发生至少一次改变;第二获取模块,用于在每次改变目标滤色层与感光层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;生成模块,用于基于第一图像和至少一张第二图像,生成目标图像。采用本发明上述装置拍摄第一图像和至少一张第二图像并进行图像合成时,使每个感光像素均获取到多种色彩信号,可以根据感光像素获取到的多种色彩信息进行色彩还原,或完全无需进行色彩还原,提高了最终输出的目标图像的颜色准确性。In summary, an image generation device provided by an embodiment of the present invention includes a first acquisition module, configured to acquire a first image captured by a photosensitive layer of an image sensor; a control module, configured to control a drive unit of an image sensor to drive a target filter The relative position between the color layer and the photosensitive layer is changed at least once; the second acquisition module is configured to obtain the second image collected by the photosensitive layer after changing the relative position between the target color filter layer and the photosensitive layer each time, and obtain At least one second image; a generating module, configured to generate a target image based on the first image and at least one second image. When the above-mentioned device of the present invention is used to capture the first image and at least one second image and perform image synthesis, each photosensitive pixel can obtain multiple color signals, and color restoration can be performed according to the multiple color information obtained by the photosensitive pixel. Or completely eliminate the need for color restoration, improving the color accuracy of the final output target image.
本发明实施例还提供一种电子设备,参照图19,图19示出了本发明提供的一种电子设备的硬件结构示意图。An embodiment of the present invention also provides an electronic device. Referring to FIG. 19 , FIG. 19 shows a schematic diagram of a hardware structure of an electronic device provided by the present invention.
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图17中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
处理器510,用于执行下述过程:
获取图像传感器的感光层采集的第一图像;控制图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;在每次改变多个滤色层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;基于第一图像和至少一张第二图像,生成目标图像。Acquire the first image collected by the photosensitive layer of the image sensor; control the drive unit of the image sensor to drive the relative position between the multiple color filter layers to change at least once; after changing the relative position between the multiple color filter layers each time, The second image collected by the photosensitive layer is acquired to obtain at least one second image; based on the first image and the at least one second image, a target image is generated.
在多个滤色层的滤色像素阵列相互叠合形成第一滤色阵列的情况下,控制图像传感器的驱动单元驱动多个滤色层移动,以使多个滤色层之间的相对位置发生至少一次改变,多个滤色层的滤色像素阵列相互叠合形成至少一种第二滤色阵列;在第一滤色阵列中,第一滤色层的全部红色滤色像素和第二滤色层的一半全透滤色像素相互重叠,第二滤色层的另一半全透滤色像素与第三滤色层的全部蓝色滤色像素相互重叠;其中,第二滤色阵列的透光率大于第一滤色阵列的透光率。In the case where the color filter pixel arrays of multiple color filter layers overlap each other to form the first color filter array, control the drive unit of the image sensor to drive the multiple color filter layers to move so that the relative positions between the multiple color filter layers At least one change occurs, and the color filter pixel arrays of multiple color filter layers overlap each other to form at least one second color filter array; in the first color filter array, all the red color filter pixels of the first color filter layer and the second Half of the fully transparent color filter pixels of the color filter layer overlap each other, and the other half of the fully transparent color filter pixels of the second color filter layer overlap with all the blue color filter pixels of the third color filter layer; wherein, the second color filter array The light transmittance is greater than the light transmittance of the first color filter array.
控制驱动单元驱动第一滤色层、第二滤色层和第三滤色层移动,以使第一滤色层的全部红色滤色像素和第二滤色层的一半绿色滤色像素相互重叠,第二滤色层的全部蓝色滤色像素和第二滤色层的另一半绿色滤色像素对齐,且多个滤色层的全透滤色像素之间相互重叠。Controlling the driving unit to drive the first color filter layer, the second color filter layer and the third color filter layer to move, so that all the red color filter pixels of the first color filter layer and half of the green color filter pixels of the second color filter layer overlap each other , all the blue color filter pixels of the second color filter layer are aligned with the other half of the green color filter pixels of the second color filter layer, and the fully transparent color filter pixels of the multiple color filter layers overlap each other.
获取图像传感器的感光层采集的第一图像;控制图像传感器的驱动单元驱动多个滤色层之间的相对位置发生至少一次改变;在每次改变多个滤色层之间的相对位置后,获取感光层采集的第二图像,得到至少一张第二图像;基于第一图像和至少一张第二图像,生成目标图像。Acquire the first image collected by the photosensitive layer of the image sensor; control the drive unit of the image sensor to drive the relative position between the multiple color filter layers to change at least once; after changing the relative position between the multiple color filter layers each time, The second image collected by the photosensitive layer is acquired to obtain at least one second image; based on the first image and the at least one second image, a target image is generated.
在目标滤色层的滤色像素与感光层的感光像素具有第一相对位置关系的情况下,控制图像传感器的驱动单元驱动目标滤色层移动,以使目标滤色层与感光层之间的相对位置发生至少一次改变,目标滤色层的滤色像素与感光层的感光像素具有至少一种第二对应关系;其中,在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第一相对位置关系的情况下,所述感光像素与一种滤色像素对齐;在所述目标滤色层的滤色像素与所述感光层的感光像素具有所述第二相对位置关系的情况下,所述感光像素与另一种滤色像素对齐。In the case that the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have a first relative positional relationship, control the driving unit of the image sensor to drive the target color filter layer to move, so that the target color filter layer and the photosensitive layer The relative position changes at least once, and the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have at least one second corresponding relationship; wherein, the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer When the pixels have the first relative positional relationship, the photosensitive pixels are aligned with a kind of color filter pixels; when the color filter pixels of the target color filter layer and the photosensitive pixels of the photosensitive layer have the second relative In the case of a positional relationship, the photosensitive pixel is aligned with another color filter pixel.
在本发明实施例中,采用本发明上述装置拍摄第一图像和至少一张第二图像并进行图像合成时,无需一一对齐第一图像和至少一张第二图像的像素,不仅提升了图像合成的速度,还可以避免由于对齐错误导致的合成效果不佳的情况发生,进一步提升了目标图像的拍摄质量,或使每个感光像素均获取到多种色彩信号,可以根据感光像素获取到的多种色彩信息进行色彩还原,或完全无需进行色彩还原,提高了最终输出的目标图像的颜色准确性。In the embodiment of the present invention, when the above-mentioned device of the present invention is used to capture the first image and at least one second image and perform image synthesis, there is no need to align the pixels of the first image and at least one second image one by one, which not only improves the The speed of synthesis can also avoid the poor synthesis effect caused by alignment errors, further improve the shooting quality of the target image, or enable each photosensitive pixel to obtain a variety of color signals, which can be obtained according to the photosensitive pixel. A variety of color information is used for color restoration, or no color restoration is required at all, which improves the color accuracy of the final output target image.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图17中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Furthermore, the
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
电子设备500还可以包括摄像头模组,摄像头模组可以与处理器510逻辑相连,并将拍摄到的图像传输给处理器510。The
摄像头模组还可以包括图像传感器,图像传感器可以接收光线并生成图像信号。The camera module can also include an image sensor, which can receive light and generate an image signal.
图像传感器可以包括感光层、多个滤色层,和与多个滤色层连接的驱动单元;多个滤色层叠加设置在感光层的受光面;驱动单元用于驱动多个滤色层之间的相对位置发生改变。The image sensor may include a photosensitive layer, multiple color filter layers, and a drive unit connected to the multiple color filter layers; multiple color filter layers are stacked on the light-receiving surface of the photosensitive layer; the drive unit is used to drive the multiple color filter layers The relative position between them changes.
摄像头模组还可以包括感光层、目标滤色层,和与目标滤色层连接的驱动单元;目标滤色层设置在感光层的受光面;驱动单元用于驱动目标滤色层与感光层之间的相对位置发生改变。The camera module can also include a photosensitive layer, a target color filter layer, and a drive unit connected to the target color filter layer; the target color filter layer is arranged on the light-receiving surface of the photosensitive layer; the drive unit is used to drive the target color filter layer and the photosensitive layer. The relative position between them changes.
可选地,所述驱动单元驱动所述多个滤色层在第一状态和第二状态之间切换;Optionally, the drive unit drives the plurality of color filter layers to switch between the first state and the second state;
在所述第一状态下,所述多个滤色层之间具有第一相对位置关系,所述多个滤色层相互叠和组成第一滤色阵列;In the first state, the plurality of color filter layers have a first relative positional relationship, and the plurality of color filter layers are stacked on each other to form a first color filter array;
在所述第二状态下,所述多个滤色层之间具有第二相对位置关系,所述多个滤色层相互叠和组成第二滤色阵列;In the second state, the plurality of color filter layers have a second relative positional relationship, and the plurality of color filter layers are stacked on each other to form a second color filter array;
其中,所述第二滤色阵列的透光率大于所述第一滤色阵列的透光率。Wherein, the light transmittance of the second color filter array is greater than the light transmittance of the first color filter array.
可选地,所述多个滤色层包括第一滤色层、第二滤色层和第三滤色层;Optionally, the plurality of color filter layers include a first color filter layer, a second color filter layer and a third color filter layer;
所述第一滤色层包括多个4×4第一滤色单元,所述第一滤色单元包括4个2×2第一滤色组,所述第一滤色组包括1个红色滤色像素和3个全透滤色像素;The first color filter layer includes a plurality of 4×4 first color filter units, the first color filter unit includes four 2×2 first color filter groups, and the first color filter group includes a red filter color pixels and 3 transparent color pixels;
所述第二滤色层包括多个4×4第二滤色单元,所述第二滤色单元包括4个2×2第二滤色组,所述第二滤色组包括对角设置的2个红色滤色像素和对角设置的2个全透滤色像素;The second color filter layer includes a plurality of 4×4 second color filter units, the second color filter unit includes four 2×2 second color filter groups, and the second color filter group includes diagonally arranged 2 red color filter pixels and 2 fully transparent color filter pixels arranged diagonally;
所述第三滤色层包括多个4×4第三滤色单元,所述第三滤色单元包括4个2×2第三滤色组,所述第一滤色组包括1个蓝色滤色像素和3个全透滤色像素。The third color filter layer includes a plurality of 4×4 third color filter units, the third color filter unit includes four 2×2 third color filter groups, and the first color filter group includes a blue Color filter pixels and 3 transparent color filter pixels.
可选地,在所述多个滤色层相互叠和形成第一滤色阵列的情况下,所述第一滤色层的全部红色滤色像素和所述第二滤色层的一半全透滤色像素相互重叠,所述第二滤色层的另一半全透滤色像素与所述第三滤色层的全部蓝色滤色像素相互重叠;Optionally, when the plurality of color filter layers are stacked on each other to form a first color filter array, all the red color filter pixels of the first color filter layer and half of the second color filter layer are fully transparent The color filter pixels overlap each other, and the other half of the transparent filter pixels of the second color filter layer overlap with all the blue color filter pixels of the third color filter layer;
在所述多个滤色层相互叠和形成第二滤色阵列的情况下,所述第一滤色层的全部红色滤色像素和所述第二滤色层的一半绿色滤色像素相互重叠,所述第二滤色层的全部蓝色滤色像素和所述第二滤色层的另一半绿色滤色像素对齐,且所述多个滤色层的全透滤色像素之间相互重叠。In the case where the plurality of color filter layers are stacked to form a second color filter array, all the red color filter pixels of the first color filter layer and half of the green color filter pixels of the second color filter layer overlap each other , all the blue color filter pixels of the second color filter layer are aligned with the other half of the green color filter pixels of the second color filter layer, and the fully transparent color filter pixels of the plurality of color filter layers overlap each other .
可选地,所述驱动单元与所述多个滤色层的侧边连接,所述驱动单元用于驱动所述多个滤色层在垂直于所述侧边的方向移动。Optionally, the driving unit is connected to sides of the plurality of color filter layers, and the driving unit is configured to drive the plurality of color filter layers to move in a direction perpendicular to the sides.
可选地,所述驱动单元包括与所述第一滤色层连接的第一驱动单元、与所述第二滤色层连接的第二驱动单元,和与所述第三滤色层连接的第三驱动单元;Optionally, the drive unit includes a first drive unit connected to the first color filter layer, a second drive unit connected to the second color filter layer, and a drive unit connected to the third color filter layer third drive unit;
所述第一驱动单元用于驱动所述第一滤色层在第一方向上移动;The first driving unit is used to drive the first color filter layer to move in a first direction;
所述第二驱动单元用于驱动所述第二滤色层在所述第一方向上移动;The second driving unit is used to drive the second color filter layer to move in the first direction;
所述第三驱动单元用于驱动所述第三滤色层在第二方向上移动,所述第一方向和所述第二方向相反。The third driving unit is used to drive the third color filter layer to move in a second direction, and the first direction is opposite to the second direction.
可选地,所述驱动单元包括静电梳齿驱动器,所述静电梳齿驱动器包括电源、第一梳齿部和第二梳齿部;Optionally, the driving unit includes an electrostatic comb driver, and the electrostatic comb driver includes a power supply, a first comb part, and a second comb part;
所述第二梳齿部与所述多个滤色层连接;The second comb-tooth portion is connected to the plurality of color filter layers;
所述电源与所述第一梳齿部和所述第二梳齿部连接,所述电源用于驱动所述第一梳齿部和所述第二梳齿部之间发生相对运动。The power supply is connected to the first comb-tooth portion and the second comb-tooth portion, and the power supply is used to drive relative movement between the first comb-tooth portion and the second comb-tooth portion.
图像传感器还可以包括感光层、目标滤色层,和与所述目标滤色层连接的驱动单元;The image sensor may also include a photosensitive layer, a target color filter layer, and a driving unit connected to the target color filter layer;
所述目标滤色层设置在所述感光层的受光面;The target color filter layer is arranged on the light-receiving surface of the photosensitive layer;
所述驱动单元用于驱动所述目标滤色层与所述感光层之间的相对位置发生改变。The driving unit is used to drive the relative position between the target color filter layer and the photosensitive layer to change.
可选地,所述目标滤色层包括滤色像素阵列,所述滤色像素阵列包括至少三种滤色像素,所述感光层包括感光像素阵列;Optionally, the target color filter layer includes a color filter pixel array, the color filter pixel array includes at least three kinds of color filter pixels, and the photosensitive layer includes a photosensitive pixel array;
所述滤色像素阵列的滤色像素与所述感光像素阵列的感光像素一对一重叠;The color filter pixels of the color filter pixel array overlap one-to-one with the photosensitive pixels of the photosensitive pixel array;
所述目标滤色层与所述感光层之间的相对位置关系的种数等于所述滤色像素阵列中滤色像素的种数。The number of relative positional relationships between the target color filter layer and the photosensitive layer is equal to the number of color filter pixels in the color filter pixel array.
可选地,所述目标滤色层包括多个4×4滤色单元;所述滤色单元包括4个2×2目标滤色组,每个所述目标滤色组均包括红、绿、蓝三种滤色像素。Optionally, the target color filter layer includes a plurality of 4×4 color filter units; the color filter unit includes four 2×2 target color filter groups, and each of the target color filter groups includes red, green, Blue three color filter pixels.
可选地,所述驱动单元包括静电梳齿驱动器,所述静电梳齿驱动器包括电源、第一梳齿部和第二梳齿部;Optionally, the driving unit includes an electrostatic comb driver, and the electrostatic comb driver includes a power supply, a first comb part, and a second comb part;
所述第二梳齿部与所述目标滤色层连接;The second comb tooth part is connected with the target color filter layer;
所述电源与所述第一梳齿部和所述第二梳齿部连接,所述电源用于驱动所述第一梳齿部和所述第二梳齿部之间发生相对运动。The power supply is connected to the first comb-tooth portion and the second comb-tooth portion, and the power supply is used to drive relative movement between the first comb-tooth portion and the second comb-tooth portion.
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述图像生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像生成方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned image generation method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods of various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210726822.2A CN115278000B (en) | 2022-06-24 | 2022-06-24 | Image sensor, image generation method, camera module and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210726822.2A CN115278000B (en) | 2022-06-24 | 2022-06-24 | Image sensor, image generation method, camera module and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115278000A true CN115278000A (en) | 2022-11-01 |
CN115278000B CN115278000B (en) | 2025-01-24 |
Family
ID=83761331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210726822.2A Active CN115278000B (en) | 2022-06-24 | 2022-06-24 | Image sensor, image generation method, camera module and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115278000B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4764670A (en) * | 1986-06-20 | 1988-08-16 | Eastman Kodak Company | Color filter arrays |
CN1981244A (en) * | 2004-06-30 | 2007-06-13 | 集成方案株式会社 | Exposure equipment |
US20170041574A1 (en) * | 2015-08-03 | 2017-02-09 | Sony Corporation | Imaging sensor coupled with layered filters |
CN208890856U (en) * | 2018-11-09 | 2019-05-21 | 四川金欧科技有限公司 | A kind of ancillary equipment of taking photograph of intelligent mobile phone |
CN110868527A (en) * | 2019-11-14 | 2020-03-06 | 维沃移动通信有限公司 | Shooting module, shooting method and electronic equipment |
CN112822366A (en) * | 2020-12-31 | 2021-05-18 | 维沃移动通信有限公司 | Electronic equipment and camera module thereof |
CN112839215A (en) * | 2019-11-22 | 2021-05-25 | 华为技术有限公司 | A camera module, a camera, a terminal device and a method for determining image information |
CN215376038U (en) * | 2021-04-28 | 2021-12-31 | 杭州海康威视数字技术股份有限公司 | Light filtering device, light supplementing lamp comprising same and camera |
CN114447067A (en) * | 2021-12-21 | 2022-05-06 | 武汉天马微电子有限公司 | A display panel and display device thereof |
CN216594739U (en) * | 2021-11-30 | 2022-05-24 | 北京海维尔科技发展有限公司 | Device with compact structure, convenient operation, maintenance-free color filter replacement |
CN114650377A (en) * | 2022-03-22 | 2022-06-21 | 维沃移动通信有限公司 | Camera module, control method of camera module, and electronic device |
-
2022
- 2022-06-24 CN CN202210726822.2A patent/CN115278000B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4764670A (en) * | 1986-06-20 | 1988-08-16 | Eastman Kodak Company | Color filter arrays |
CN1981244A (en) * | 2004-06-30 | 2007-06-13 | 集成方案株式会社 | Exposure equipment |
US20170041574A1 (en) * | 2015-08-03 | 2017-02-09 | Sony Corporation | Imaging sensor coupled with layered filters |
CN208890856U (en) * | 2018-11-09 | 2019-05-21 | 四川金欧科技有限公司 | A kind of ancillary equipment of taking photograph of intelligent mobile phone |
CN110868527A (en) * | 2019-11-14 | 2020-03-06 | 维沃移动通信有限公司 | Shooting module, shooting method and electronic equipment |
CN112839215A (en) * | 2019-11-22 | 2021-05-25 | 华为技术有限公司 | A camera module, a camera, a terminal device and a method for determining image information |
CN112822366A (en) * | 2020-12-31 | 2021-05-18 | 维沃移动通信有限公司 | Electronic equipment and camera module thereof |
CN215376038U (en) * | 2021-04-28 | 2021-12-31 | 杭州海康威视数字技术股份有限公司 | Light filtering device, light supplementing lamp comprising same and camera |
CN216594739U (en) * | 2021-11-30 | 2022-05-24 | 北京海维尔科技发展有限公司 | Device with compact structure, convenient operation, maintenance-free color filter replacement |
CN114447067A (en) * | 2021-12-21 | 2022-05-06 | 武汉天马微电子有限公司 | A display panel and display device thereof |
CN114650377A (en) * | 2022-03-22 | 2022-06-21 | 维沃移动通信有限公司 | Camera module, control method of camera module, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN115278000B (en) | 2025-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108965665B (en) | An image sensor and mobile terminal | |
CN108900750B (en) | Image sensor and mobile terminal | |
WO2020015627A1 (en) | Image sensor, mobile terminal, and image photographing method | |
US11463641B2 (en) | Image sensor, mobile terminal, and photographing method | |
CN107846537B (en) | A kind of CCD camera assembly, image acquiring method and mobile terminal | |
CN108965666B (en) | Mobile terminal and image shooting method | |
CN107948505A (en) | A kind of panorama shooting method and mobile terminal | |
US20220367550A1 (en) | Mobile terminal and image photographing method | |
US11996421B2 (en) | Image sensor, mobile terminal, and image capturing method | |
CN112243117B (en) | Image processing apparatus, method and camera | |
CN115278000A (en) | Image sensor, image generation method, camera module and electronic equipment | |
CN108259727A (en) | A kind of depth image generation method and mobile terminal | |
CN105593741B (en) | A kind of mobile terminal | |
CN108683856A (en) | A photographing method and terminal device | |
KR20060010089A (en) | Mobile communication terminal with stereoscopic image | |
WO2022065844A1 (en) | Method for displaying preview image, and electronic apparatus supporting same | |
KR200341237Y1 (en) | Apparatus for the 3d image aquisition and display of mobile phone |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |