WO2023016146A1 - Image sensor, image collection apparatus, image processing method, and image processor - Google Patents

Image sensor, image collection apparatus, image processing method, and image processor Download PDF

Info

Publication number
WO2023016146A1
WO2023016146A1 PCT/CN2022/103957 CN2022103957W WO2023016146A1 WO 2023016146 A1 WO2023016146 A1 WO 2023016146A1 CN 2022103957 W CN2022103957 W CN 2022103957W WO 2023016146 A1 WO2023016146 A1 WO 2023016146A1
Authority
WO
WIPO (PCT)
Prior art keywords
filter
image
color space
color
unit
Prior art date
Application number
PCT/CN2022/103957
Other languages
French (fr)
Chinese (zh)
Inventor
王昂
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023016146A1 publication Critical patent/WO2023016146A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Definitions

  • the present application relates to the technical field of image processing, in particular to an image sensor, a camera module, an image acquisition device, an image processing method and an image processor.
  • the contact image sensor (Contact image sensor, CIS) of the mobile phone uses the color filter array (CFA) covered on its surface to screen the color, and divides the captured light into red, green and blue. A series of calculations are converted into three primary color components and finally synthesized into one color. Among them, white balance, as the first process strongly related to color performance in the entire mobile phone Image Signal Processing (ISP), plays a vital role in the overall tone of the shooting.
  • CFA color filter array
  • the white balance algorithm of the mobile phone mainly relies on two hardwares: one is the original CIS, which roughly estimates the position of the gray area in the picture through the intensity relationship of the RGB channel, and calculates R_gain and B_gain through this position and multiplies them in the whole picture respectively. on the R channel and B channel.
  • the second is to estimate the color temperature value of the entire light source scene through an additional color temperature sensor, and input it to the ISP to make corresponding white balance adjustments. It is difficult for the current color temperature sensor to accurately restore the color temperature through only three channels of red, green and blue, and it is difficult to achieve accurate white balance judgment.
  • the present invention aims to solve one of the problems in the related art at least to a certain extent. Therefore, the purpose of the present application is to provide an image sensor, a camera module, an image acquisition device, an image processing method, and an image processor.
  • the image sensor in the embodiment of the present application includes a pixel unit array and a filter unit array.
  • the pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels.
  • the filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit
  • Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space.
  • the first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
  • the camera module in the embodiment of the present application includes a lens and the image sensor.
  • the image acquisition device in the embodiment of the present application includes an image processor and the image sensor.
  • the image processing method in the embodiment of the present application includes acquiring light signals collected by an image sensor to process the light signals to generate a first color space image and a second color space image; according to the first color space image and the second color space image The color space image performs white balance processing on the first color space image to obtain a white balance processed image.
  • the image processor of the present application includes an acquisition module and a white balance processing module.
  • the acquiring module is used to acquire the light signal collected by the image sensor to process the light signal to generate a first color space image and a second color space image;
  • the white balance processing module is used to generate the first color space image according to the first color space image and performing white balance processing on the first color space image with the second color space image to obtain a white balance processed image.
  • FIG. 1 is a schematic structural diagram of an image sensor in some embodiments of the present application.
  • Figure 2 is a structural schematic diagram of a four-pixel-in-one array of filter units in an image sensor
  • FIG. 3 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application.
  • FIG. 4 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application.
  • Fig. 5 is a schematic diagram of the matching degree of the human eye response curve corresponding to the image sensor in some embodiments of the present application.
  • FIG. 6 is a schematic flow diagram of an image processing method in some embodiments of the present application.
  • Fig. 7 is a schematic structural diagram of an image acquisition device in some embodiments of the present application.
  • FIG. 8 is a schematic structural diagram of an image processor in some embodiments of the present application.
  • FIG. 9 is a schematic flowchart of an image processing method in some embodiments of the present application.
  • FIG. 10 is a schematic structural diagram of a white balance processing module in an image processor according to some embodiments of the present application.
  • FIG. 11 is a schematic diagram of the data logic flow of RGBCMY imaging in some embodiments of the present application.
  • FIG. 12 is a schematic diagram of space conversion of a CCM matrix in some embodiments of the present application.
  • Fig. 13 is a schematic flowchart of an image processing method in some embodiments of the present application.
  • Fig. 14 is a schematic structural diagram of an acquisition module in an image processor in some embodiments of the present application.
  • FIG. 15 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application.
  • Fig. 16 is a schematic flowchart of an image processing method in some embodiments of the present application.
  • Fig. 17 is a schematic structural diagram of an image processor in some embodiments of the present application.
  • Fig. 18 is a schematic structural diagram of a camera module in some embodiments of the present application.
  • first and second are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of said features.
  • “plurality” means two or more, unless otherwise clearly and specifically defined.
  • connection should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. Connected, or integrally connected; may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or indirectly connected through an intermediary, may be internal communication between two components or interaction between two components relation. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application according to specific situations.
  • Embodiments of the present application provide an image sensor.
  • the image sensor includes a pixel unit array and a filter unit array.
  • the pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels.
  • the filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit
  • Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space.
  • the first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
  • a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
  • each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color.
  • each of the filter subunits covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter along the first filter subunit Diagonal distribution, the second optical filter is distributed along the second diagonal of the optical filter subunit, or the first optical filter and the second optical filter are arranged side by side along the same direction.
  • the first color space includes red, green, and blue
  • the second color space includes cyan, magenta, and yellow.
  • each filter unit includes 2*2 filter subunits, one filter subunit with a red filter and one filter subunit with a blue filter
  • the filter subunits are distributed along a first diagonal of the filter unit, and two filter subunits with green filters are distributed along a second diagonal of the filter unit.
  • the first color space includes red, green, and blue
  • the second color space includes cyan, magenta, and yellow
  • one of the filter subunits includes a green filter and a yellow filter.
  • a filter, or one of the filter subunits includes a red filter and a magenta filter, or one of the filter subunits includes a blue filter and a cyan filter.
  • the first color space includes red, green and blue.
  • the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or, When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first diagonal distribution, and the two third filter subunits are distributed in a second diagonal.
  • the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space.
  • the second filter subunit includes only a blue filter, or the second filter subunit includes a blue filter and a color in the second color space The corresponding second filter; the third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second color space A color corresponds to the second filter.
  • a camera module includes a lens and an image sensor.
  • the image sensor includes a pixel unit array and a filter unit array.
  • the pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels.
  • the filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space.
  • the first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
  • a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
  • each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color.
  • each of the filter subunits covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter along the first filter subunit Diagonal distribution, the second optical filter is distributed along the second diagonal of the optical filter subunit, or the first optical filter and the second optical filter are arranged side by side along the same direction.
  • the first color space includes red, green, and blue
  • the second color space includes cyan, magenta, and yellow.
  • each filter unit includes 2*2 filter subunits, one filter subunit with a red filter and one filter subunit with a blue filter
  • the filter subunits are distributed along a first diagonal of the filter unit, and two filter subunits with green filters are distributed along a second diagonal of the filter unit.
  • the first color space includes red, green, and blue
  • the second color space includes cyan, magenta, and yellow
  • one of the filter subunits includes a green filter and a yellow filter.
  • a filter, or one of the filter subunits includes a red filter and a magenta filter, or one of the filter subunits includes a blue filter and a cyan filter.
  • the first color space includes red, green and blue.
  • the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or, When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first diagonal distribution, and the two third filter subunits are distributed in a second diagonal.
  • the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space.
  • the second filter subunit includes only a blue filter, or the second filter subunit includes a blue filter and a color in the second color space The corresponding second filter; the third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second color space A color corresponds to the second filter.
  • An embodiment of the present application provides an image acquisition device.
  • the image acquisition device includes an image processor and the image sensor described in any one of the above-mentioned implementation manners.
  • An embodiment of the present application provides an image processing method.
  • the image processing method includes: acquiring a light signal collected by an image sensor to process the light signal to generate a first color space image and a second color space image; according to the first color space image and the second color space image performing white balance processing on the image in the first color space to obtain a white balance processed image.
  • the acquiring the light signal collected by the image sensor to process the light signal to generate the first color space image and the second color space image includes: determining according to the pixel arrangement of the image sensor Correlation between the first color space image and the second color space image; processing the light signal according to the correlation and interpolation algorithm to obtain the first color space image and the second color space image .
  • performing white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processed image includes: performing the white balance processing on the first color space image Preprocessing the color space image to obtain a first preprocessing image, and processing the second color space image through a virtual channel to obtain a second preprocessing image; summarizing the second preprocessing image to the first preprocessing The image is obtained by performing white balance processing on the first pre-processing image to obtain a white balance processed image.
  • the preprocessing includes black level compensation processing, lens correction processing and/or dead point compensation processing.
  • the image processing method further includes: performing color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
  • the image processor includes: an acquisition module, configured to acquire light signals collected by the image sensor to process the light signals to generate a first color space image and a second color space image a white balance processing module, configured to perform white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processing image.
  • embodiments of the present application provide an image sensor, an image acquisition device, and an image processing method.
  • an embodiment of the present application provides an image sensor 100 .
  • the image sensor 100 includes: a pixel unit array 110 and a filter unit array 120 .
  • the pixel unit array 110 includes a plurality of pixel units 111 , and each pixel unit 111 includes a plurality of photosensitive pixels 1111 .
  • the filter unit array 120 includes a plurality of filter units 121 .
  • Each filter unit 121 includes a plurality of filter subunits 1211, and each filter subunit 1211 includes a first filter 12111 corresponding to a color in a first color space, at least some of the filters At least part of the filter subunit 1211 of the unit 121 further includes a second filter 12112 corresponding to a color in a second color space.
  • Each of the first filter 12111 and the second filter 12112 of the filter unit 121 covers a photosensitive pixel of the corresponding pixel unit 111.
  • Each filter unit 121 includes first filters 12111 corresponding to multiple colors in the first color space, and the filter unit array 120 includes second filters 12112 corresponding to multiple colors in the second color space.
  • the first color space includes red (R), green (G) and blue (B), and the second color space includes cyan (C), magenta (M) and yellow (Y).
  • the first color space is the RGB color space
  • the second color space is the CMY color space as an example for illustration.
  • the first color space and the second color space may also be other color spaces, which will not be described here.
  • At least some of the filter subunits 1211 of at least some of the filter units 121 further include a second filter 12112 corresponding to one color in a second color space, which can be understood as including two cases.
  • the first case may be that all the filter subunits 1211 of all the filter units 121 as shown in FIG. 3 include the second filter 12112 .
  • the second case is that only part of the filter subunit 1211 of part of the filter unit 121 as shown in FIG.
  • the optical sheet sub-unit 1211 may also not include the second optical filter 12112 .
  • each filter subunit 1211 includes a first filter 12111 corresponding to a first color space, and at least part of the filter subunits 1211 of at least part of the filter unit 121 also includes a second color space
  • the corresponding second optical filter 12112 refers to that part of the optical filter subunit 1211 in the image sensor 100 of the present application may include the first optical filter 12111 and the second optical filter 12112 (as shown in FIG. 3 ), some of the filter subunits 1211 may only include the first filter 12111 (as shown in FIG. 12 ).
  • the more the number of the first optical filter 12111 and the second optical filter 12112 are at the same time the more the number of spectral channels is correspondingly increased, which can increase the white balance reference information in the subsequent white balance processing. Therefore, the accuracy of gray point detection and light source analysis can be greatly improved, and a more accurate white balance judgment of the image sensor 100 can be realized.
  • the image sensor of the present application has six kinds of RGBCMY filter materials, which is the most mature so far, and also the largest number of color channels that can be achieved by this technical route.
  • This absorbing filter brings stable filtering characteristics, which can effectively solve the problem of unstable filtering characteristics caused by changes in the filtering characteristics with the incident angle of light and ambient temperature.
  • each pixel unit 111 of the image sensor 100 includes 2*2 photosensitive pixels 1111 .
  • Each filter subunit 1211 covers 2*2 photosensitive pixels 1111 in the corresponding pixel unit 111
  • each filter ( 12111 or 12112 ) of the filter subunit 1211 covers one photosensitive pixel 1111 .
  • each filter subunit 1211 includes a first filter 12111 corresponding to a first color space, and at least part of the filter subunits 1211 also includes a second filter 12112 corresponding to a second color space , each filter of the filter unit 121 covers one photosensitive pixel of the corresponding pixel unit 111 .
  • a plurality of filter units 121 constitute a filter unit array 120 .
  • the number of spectral channels can be increased by replacing all the first filters 12111 with some of the second filters 12112 , so that the reference information of the white balance is increased, thereby greatly improving the accuracy of gray point detection and light source analysis, so as to realize a more accurate white balance judgment of the image sensor 100 .
  • some structures have a plurality of filter units 121 corresponding to filters in different first color spaces in a four-pixel-in-one Bayer array (quad-bayer) arrangement (as shown in FIG. 2 ), quad -bayer can combine squares of four pixels into one color.
  • quad-bayer array arrangement half of each group of 2x2 R, G, and B (diagonal directions) can be replaced by M, Y, and C (as shown in FIG. 3 ).
  • the plurality of filter units 121 of the present application are arranged in a rectangular array, and the plurality of filter subunits 1211 in the filter unit 121 are arranged in a rectangular array.
  • the arrangement of 2*2 photosensitive pixels 1111 in the image sensor 100 can adapt to some new technologies that have been widely used in mobile phone image sensors, including binning mode, 2x2 large microlens (2x2OCL) , full-pixel dual-core focus (dual PD) and QDOL technologies, while improving the white balance judgment accuracy of the image sensor 100, the adaptability of the image sensor 100 to new technologies can be improved.
  • the image sensor 100 of the present application adds a second color space on the basis of the first space color space to double the number of spectral channels. Doubling the number of spectral channels means doubling the white balance reference information, which can greatly improve gray point detection. And the accuracy of light source analysis, to achieve more accurate white balance judgment.
  • each filter subunit 1211 includes at least one first filter 12111 corresponding to one color and at least one second filter 12111 corresponding to one color. Tablet 12112.
  • the distribution of the RGB colors and CMY colors inside the filter subunit 1211 may include various distribution methods, such as regular (diagonal distribution as shown in FIG. 3 ), or other different distribution methods.
  • the regular distribution method only needs to satisfy that each filter subunit 1211 has at least one first filter 12111 corresponding to one color and at least one second filter 12112 corresponding to one color. No limit.
  • the number of second filters 12112 in each filter subunit 1211 can also be more than that of the first filters 12111, for example, in the case of an arrangement of 3*3 photosensitive pixels, the second The number of the first optical filter 12111 and the second optical filter 12112 may not be equal, and the corresponding distribution of the first optical filter 12111 and the second optical filter 12112 may also have various situations.
  • the first optical filter 12111 is distributed along the first diagonal of the optical filter subunit 1211
  • the second optical filter 12112 is distributed along the first diagonal of the optical filter subunit 1211.
  • the first filter 12111 and the second filter 12112 are arranged side by side along the same direction.
  • the above arrangements can realize uniform distribution of spectral channels corresponding to the first color space and spectral channels corresponding to the second color space in the filter unit in the image sensor, which is beneficial to the regular arrangement of the filter array 120 .
  • the arrangement of the filters in the filter array 120 may also be arranged irregularly, which is not limited here.
  • each filter unit 121 includes 2*2 filter subunits 1211, one with a red filter (R)
  • the optical filter subunit 1211 and a filter subunit 1211 with a blue filter (B) are distributed along the first diagonal of the filter unit 1211, and two filter subunits with a green filter (G)
  • the subunits 1211 are distributed along the second diagonal of the filter unit 1211 .
  • first diagonal distribution and the second diagonal distribution are only used to illustrate that the diagonal distribution directions of the first optical filter 12111 and the second optical filter 12112 are inconsistent, and do not refer to a fixed diagonal direction.
  • this application replaces half of the filter units with the second color space and increases the spectral channels corresponding to the second color space, which can double the number of spectral channels Doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis, and achieve more accurate white balance judgments.
  • a filter subunit 1211 may only include a green filter (G) and a yellow filter (Y), or a filter subunit 1211 may also include only a red filter.
  • the light filter (R) and the magenta color filter (M), or one filter subunit 1211 may also include only the blue color filter (B) and the cyan color filter (C).
  • the image sensor 100 has 6 color channels (RGBCMY), which can greatly improve the matching degree of fitting the human eye response curve (as shown in FIG. 5 ), which also means that the color reproduction The performance is more accurate and closer to the actual perception of the human eye.
  • the first color space includes red (R), green (G) and blue (B).
  • the filter unit 121 only includes first filters 12111 corresponding to red (R), green (G) and blue (B)
  • the filter unit 121 is arranged in a four-in-one Bayer array.
  • the filter unit 121 includes a plurality of first filters 12111 and one or more second filters 12112
  • the first filter subunit 1211a and the second filter subunit 1211b form a first diagonal distribution
  • the two third filter subunits 1211c are distributed in a second diagonal.
  • the first filter subunit 1211a may only include a red filter (R), or the first filter subunit 1211a may include a red filter (R) and a first color corresponding to a color in the second color space
  • the second filter subunit 1211b may only include a blue filter (B), or the second filter subunit 1211b may also include a blue filter (B) and a second color A second filter 12112 corresponding to one color in space.
  • the third filter sub-unit 1211c only includes a green filter (G), and/or, the third filter sub-unit 1211c includes a green filter (G) and a first color corresponding to a color in the second color space.
  • the first filter subunit 1211a only includes a red filter (R)
  • the second filter subunit 1211b may only include a blue filter (B)
  • the third filter subunit 1211c Only the case of the green filter (G) is included.
  • the filter units 121 are distributed in a four-in-one Bayer array.
  • the first filter subunit 1211a only includes a red filter (R), and the second filter subunit 1211b includes a blue filter (B) corresponding to a color in the second color space.
  • the second filter 12112 and the third filter subunit 1211c only include a green filter (G) (as shown in FIG. 15 ).
  • the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space, and the second filter subunit 1211b only includes blue Filter (B), the third filter sub-unit 1211c includes only the green filter (G).
  • R red filter
  • B blue Filter
  • G green filter
  • the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to a color in the second color space
  • the second filter subunit 1211b includes a blue filter
  • the light sheet (B) corresponds to a second color filter 12112 in the second color space
  • the third filter subunit 1211c only includes a green filter (G).
  • the first filter subunit 1211a only includes a red filter (R)
  • the second filter subunit 1211b may only include a blue filter (B)
  • the third filter subunit 1211c It includes a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
  • the first filter subunit 1211a only includes a red filter (R), and the second filter subunit 1211b includes a blue filter (B) corresponding to one color in the second color space
  • the second filter 12112 and the third filter subunit 1211c include a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
  • the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space
  • the second filter subunit 1211b only includes blue
  • the third filter subunit 1211c includes a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
  • the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space
  • the second filter subunit 1211b includes a blue filter
  • the light sheet (B) corresponds to a second color filter 12112 in the second color space
  • the third filter subunit 1211c includes a green filter (G) corresponding to a color in the second color space.
  • the second color space may include cyan (C), magenta (M) and yellow (Y).
  • C cyan
  • M magenta
  • Y yellow
  • Different color arrangements can obtain different spectral channel information, thereby obtaining different spectral communication information, enhancing the diversity of white balance reference information, and providing a variety of ways to improve the accuracy of gray point detection and light source analysis. More options to achieve more accurate white balance judgment.
  • FIG. 15 only shows the situation that the filter unit 121 includes a plurality of first filters 12111 and one second filter 12112 .
  • the positions of the first filter sub-unit 1211a and the second filter sub-unit 1211b can be interchanged, which is not limited here.
  • Image processing methods include:
  • the present application also provides an image acquisition device 1000 .
  • the image acquisition device 1000 includes an image processor 10 and an image sensor 100 , and the image processor 10 and the image sensor 100 can be electrically connected.
  • the image sensor 100 in the image acquisition device 100 of the present application adds a second color space to double the number of spectral channels. Doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis. , to achieve more accurate white balance judgment.
  • the image capture device 100 may be a camera, a mobile phone, a computer, and other devices that capture images.
  • the image processor 10 includes an acquisition module 11 and a white balance processing module 13 .
  • Step 01 can be realized by the acquisition module 11
  • step 03 can be realized by the white balance processing module 13 . That is, the obtaining module 11 is used to obtain the light signal collected by the image sensor to process the light signal to generate the first color space image and the second color space image; the white balance processing module 13 is used to obtain the light signal according to the first color space image and the second color space image The second color space image performs white balance processing on the first color space image to obtain a white balance processed image.
  • the image sensor 100 has a first filter 12111 corresponding to the first color space and a second filter 12112 corresponding to the second color space, after the acquisition module 11 acquires the collected light, the light signal passes through the second A filter 12111 can generate a first color space image, and a light signal passing through a second filter 12112 can generate a second color space image.
  • step 03 includes:
  • the white balance processing module 13 includes a preprocessing unit 131 and a white balance processing unit 132 .
  • Step 031 can be implemented by the preprocessing unit 131
  • step 132 can be implemented by the white balance processing unit 132 . That is to say, the preprocessing unit 131 is used to preprocess the first color space image to obtain a first preprocessed image, and process the second color space image through a virtual channel to obtain a second preprocessed image; the white balance processing unit 132 is configured to aggregate the second pre-processed image into the first pre-processed image to perform white balance processing on the first pre-processed image to obtain a white balance processed image.
  • the preprocessing unit 131 can preprocess the first color space image to obtain the first preprocessed image, wherein the preprocessing method includes black level compensation processing, lens correction processing and/or dead point compensation processing, that is, preprocessing
  • the preprocessing method includes black level compensation processing, lens correction processing and/or dead point compensation processing, that is, preprocessing
  • the treatment methods can be one of them, two or more than two.
  • the preprocessing methods may also include processing processes such as denoising, high dynamic range, and lens correction, and required preprocessing methods may be added according to user requirements, which will not be described here.
  • the main purpose of image preprocessing is to eliminate irrelevant information in the image, restore useful real information, enhance the detectability of relevant information, and simplify data to the greatest extent, thereby improving the reliability of feature extraction, image segmentation, matching and recognition.
  • the preprocessing process can include three processes of grayscale, geometric transformation and image enhancement.
  • the grayscale value also known as intensity value, brightness value
  • Geometric transformation image geometric transformation, also known as image space transformation, processes the collected image through geometric transformations such as translation, transposition, mirroring, rotation, and zooming, and is used to correct the system error of the image acquisition system and the position of the instrument (imaging angle, Perspective relationship and even the random error of the lens itself).
  • a grayscale interpolation algorithm needs to be used, because the pixels of the output image may be mapped to the non-integer coordinates of the input image for calculation according to this transformation relationship.
  • Commonly used methods are nearest neighbor interpolation, bilinear interpolation and bicubic interpolation.
  • Image enhancement enhancing the useful information in the image, it can be a process of distortion, its purpose is to improve the visual effect of the image, for the application of a given image, purposefully emphasize the overall or local characteristics of the image, and transform the original
  • a clear image becomes clear or emphasizes some interesting features, expands the difference between different object features in the image, suppresses uninteresting features, improves image quality, enriches information, strengthens image interpretation and recognition effects, and satisfies Some special analysis needs.
  • Image enhancement algorithms can be divided into two categories: spatial domain methods and frequency domain methods.
  • the spatial domain method is a direct image enhancement algorithm, which is divided into a point operation algorithm and a neighborhood denoising algorithm.
  • the point operation algorithm is gray level correction, gray level transformation (also known as contrast stretching) and histogram correction.
  • Common smoothing algorithms include mean filtering, median filtering, and spatial filtering.
  • Common sharpening algorithms include gradient operator method, second derivative operator method, high-pass filter, mask matching method, etc.
  • the frequency domain method is an indirect image enhancement algorithm, and the commonly used frequency domain enhancement methods include low-pass filter and high-pass filter.
  • Low-frequency filters include ideal low-pass filters, Butterworth low-pass filters, Gaussian low-pass filters, and exponential filters.
  • High-pass filters include ideal high-pass filters, Butterworth high-pass filters, Gaussian high-pass filters, and exponential filters.
  • the preprocessing unit 131 can perform the above preprocessing on the first color space image (RGB color space image) through the RGB channel, that is, perform the conventional processing of the image signal processing (ISP) process on the first color space image, and the processed first color space image can be obtained A preprocessed image (RGB preprocessed image).
  • ISP image signal processing
  • the preprocessing unit 131 may also process the second color space image (CMY color space image) through virtual channels to obtain a second preprocessing image (CMY preprocessing image).
  • CMY preprocessing image CMY preprocessing image
  • the virtual channel may be as shown in FIG. 11 .
  • the preprocessing method of the second color space image is consistent with the preprocessing method of the first color space image, and can also include black level compensation, lens correction, dead point correction, one, two or more of the processing processes, which can be It is ensured that the processing effects of the two pre-processed images are the same, so that when the aggregated pre-processed images are subjected to white balance processing, the white balance reference information obtained by the two color space images can be directly aggregated.
  • the virtual channel can make the CMY color space image and the RGB color space image be processed in parallel or time-sharing at the same time, and are aggregated to the RGB channel at the white balance processing node, that is, the white balance processing module 13 performs the second preprocessing
  • the images are aggregated into the first pre-processing image to perform white balance processing on the first pre-processing image to obtain a white balance processing image.
  • processing the CMY color space image and the RGB color space image in parallel at the same time can speed up the image signal processing process and improve the efficiency of the image signal processing process.
  • Time-sharing processing of CMY color space image and RGB color space image can make the processing process of CMY color space image and the processing process of RGB color space image interleaved, it is not easy to confuse the processing information of color space image, and ensure that the two color space image information ( RGB information and CMY information) processing accuracy.
  • CMY information and RGB information are summarized to form 6-channel information, which can greatly improve the accuracy of light environment judgment.
  • the methods of environment judgment include gray point detection and light source analysis, which can improve the accuracy of data such as gray point detection or light source analysis. Accuracy;
  • b.6 channel information can participate in the color restoration (as shown in Figure 11) process of the white balance process, and the original color correction matrix (Color Correction Matrix, CCM) used for the color correction (as shown in Figure 11) process Expanding from 3x3 to 6x3 can better fit the response curve of the human eye (as shown in Figure 5), thereby greatly improving the accuracy of color reproduction in white balance processing.
  • CCM Color Correction Matrix
  • CCM is a matrix composed of at least two matrices.
  • the general image signal processing (ISP) flow is subjected to CCM processing after demosaicing (Demosaic).
  • CCM can complete the conversion from sensor_RGB space to XYZ space, and then to linear sRGB space.
  • Gamma correction is performed on the image.
  • the space in the image signal processing becomes a nonlinear sRGB space.
  • the CCM matrix M algorithm process is as follows: the sensor_RGB space is completed by matrix M 2 and matrix M 1 and ⁇ correction. Among them, the sensorRGB space is called the “source color space”, and the nonlinear sRGB space is called the "target color space”.
  • step 01 includes:
  • 013 Determine the correlation between the first color space image and the second color space image according to the pixel arrangement of the image sensor
  • 015 Process the light signal according to the correlation and interpolation algorithm to obtain the first color space image and the second color space image.
  • the acquisition module 11 includes a determination unit 113 and a processing unit 115 .
  • Step 013 can be implemented by the determining unit 113
  • step 015 can be implemented by the processing unit 115 . That is, the determination unit 111 is used to determine the correlation between the first color space image and the second color space image according to the pixel arrangement of the image sensor; the processing unit 112 is used to process the light signal according to the correlation and interpolation algorithm to obtain the first color space image. A color space image and a second color space image.
  • C cyan
  • M magenta
  • Y yellow
  • C, M, Y and R, G, B, and the first color space image (RGB color space image) and the second color space image (CMY color space image) can be determined according to the pixel arrangement of the image sensor 100 correlation between.
  • the arrangement of the pixels of the pixel unit array 110 of the image sensor 100 may be the arrangement shown in FIG. 3 , or the arrangement shown in FIG. The arrangement in Fig. 15 can be obtained), or other arrangements.
  • the red photosensitive pixels in the third row and first column in FIG. 3 are surrounded by yellow photosensitive pixels, cyan photosensitive pixels and cyan photosensitive pixels respectively.
  • the magenta photosensitive pixels in the first row and the third column in FIG. 3 are surrounded by yellow photosensitive pixels, blue photosensitive pixels and blue photosensitive pixels respectively. Therefore, the color space image corresponding to the magenta photosensitive pixel in the first row and the third column in Fig. An image in the second color space relative to the first color space.
  • the light signal is processed according to the correlation method and the interpolation algorithm to obtain the first color space image and the second color space image.
  • interpolation algorithms for image processing including nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, etc. Among them, after weighing speed and quality, the best is the linear interpolation compensation algorithm.
  • This application uses the correlation processing between RGB and CMY to obtain the first color space image and the second color space image. Compared with the traditional RGB image processing mode, it can ensure that no more human influence is introduced and the accuracy of the processed image is guaranteed.
  • the image processing method further includes:
  • the image processor 10 further includes a color processing module 15 .
  • the color processing module 15 is used for performing color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
  • each pixel has only one color hue value, and the other two color hues must use the The correlation of is obtained by calculation, and this calculation method is called color interpolation algorithm.
  • the color interpolation process can use a bilinear interpolation algorithm to realize the conversion between the RGB color image and the Bayer-type color filter array map, and the conversion between the CMY color image and the corresponding color filter array map.
  • Color correction processing commonly known as color calibration (Color calibration) it can ensure that the color of the image can be more accurately reproduced what the human eye sees at the shooting scene, making the white balance processed image closer to the actual perception of the human eye.
  • the present application also provides a camera module 200 .
  • the camera module 200 includes a lens 210 and an image sensor 100 .
  • the image sensor 100 in the camera module 200 of the present application adds a second color space to double the number of spectral channels, and doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis To achieve more accurate white balance judgment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

An image sensor (100), a camera module (200), an image collection apparatus (1000), an image processing method, and an image processor (10). The image sensor (100) comprises a pixel unit array (110) and a filter unit array (120). The pixel unit array (110) comprises a plurality of pixel units (111). The filter unit array (120) comprises a plurality of filter units (121). Each filter unit (121) comprises a plurality of filter sub-units (1211), each filter sub-unit (1211) comprises a first filter (12111) corresponding to one color in a first color space; and at least some filter sub-units (1211) of at least some filter units (121) each further comprise a second filter (12112) corresponding to one color in a second color space. Each first filter (12111) and second filter (12112) of the filter unit (121) cover one photosensitive pixel of a respective pixel unit (111).

Description

图像传感器、图像采集装置、图像处理方法及图像处理器Image sensor, image acquisition device, image processing method and image processor
优先权信息priority information
本申请请求2021年8月9日向中国国家知识产权局提交的、专利申请号为202110907046.1的专利申请的优先权和权益,并且通过参照将其全文并入此处。This application claims the priority and benefit of the patent application No. 202110907046.1 filed with the State Intellectual Property Office of China on August 9, 2021, which is hereby incorporated by reference in its entirety.
技术领域technical field
本申请涉及图像处理技术领域,特别涉及一种图像传感器、摄像头模组、图像采集装置、图像处理方法及图像处理器。The present application relates to the technical field of image processing, in particular to an image sensor, a camera module, an image acquisition device, an image processing method and an image processor.
背景技术Background technique
近年来随着移动终端的迅速普及和手机影像技术的不断发展,智能手机越来越成为大众最常用的拍摄设备。手机的接触式图像传感器(Contact image sensor,CIS)利用其表面覆盖的彩色滤光片阵列(CFA)对颜色进行筛选,将捕捉到的光分为红、绿、蓝三种颜色的强度信息通过一系列计算转换为三原色分量并最终合成为一种颜色。其中,白平衡作为整个手机图像信号处理(Image Signal Processing,ISP)中与色彩表现强相关的第一个流程,对拍摄的整体色调起至关重要的作用。In recent years, with the rapid popularization of mobile terminals and the continuous development of mobile phone imaging technology, smart phones have increasingly become the most commonly used shooting equipment for the public. The contact image sensor (Contact image sensor, CIS) of the mobile phone uses the color filter array (CFA) covered on its surface to screen the color, and divides the captured light into red, green and blue. A series of calculations are converted into three primary color components and finally synthesized into one color. Among them, white balance, as the first process strongly related to color performance in the entire mobile phone Image Signal Processing (ISP), plays a vital role in the overall tone of the shooting.
目前手机的白平衡算法主要依赖的硬件有两个:一是原始的CIS,通过RGB通道的强度关系来大致估计图片中的灰区位置,通过该位置计算R_gain,B_gain并分别乘在整个图片中的R通道和B通道上。二是通过一个附加的色温传感器估算整个光源场景的色温值,并输入给ISP做出相应的白平衡调整。目前的色温传感器仅通过红绿蓝三个通道是很难准确还原色温的,进而很难实现精准的白平衡判断。At present, the white balance algorithm of the mobile phone mainly relies on two hardwares: one is the original CIS, which roughly estimates the position of the gray area in the picture through the intensity relationship of the RGB channel, and calculates R_gain and B_gain through this position and multiplies them in the whole picture respectively. on the R channel and B channel. The second is to estimate the color temperature value of the entire light source scene through an additional color temperature sensor, and input it to the ISP to make corresponding white balance adjustments. It is difficult for the current color temperature sensor to accurately restore the color temperature through only three channels of red, green and blue, and it is difficult to achieve accurate white balance judgment.
发明内容Contents of the invention
有鉴于此,本发明旨在至少在一定程度上解决相关技术中的问题之一。为此,本申请的目的在于提供一种图像传感器、摄像头模组、图像采集装置、图像处理方法及图像处理器。In view of this, the present invention aims to solve one of the problems in the related art at least to a certain extent. Therefore, the purpose of the present application is to provide an image sensor, a camera module, an image acquisition device, an image processing method, and an image processor.
本申请实施方式的图像传感器包括像素单元阵列和滤光片单元阵列。所述像素单元阵列包括多个像素单元,每个所述像素单元包括多个感光像素。所述滤光片单元阵列包括多个滤光片单元,每个所述滤光片单元包括多个滤光片子单元,每个所述滤光片子单元包括第一颜色空间中一种颜色对应的第一滤光片,至少部分所述滤光片单元的至少部分所述滤光片子单元还包括第二颜色空间中一种颜色对应的第二滤光片,所述滤光片单元的每个所述第一滤光片和所述第二滤光片均覆盖对应所述像素单元的一个所述感光像素,每个所述 滤光片单元包括第一颜色空间中多种颜色对应的所述第一滤光片,所述滤光片单元阵列包括第二颜色空间中多种颜色对应的所述第二滤光片。The image sensor in the embodiment of the present application includes a pixel unit array and a filter unit array. The pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels. The filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space. The first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
本申请实施方式的摄像头模组包括镜头和所述图像传感器。The camera module in the embodiment of the present application includes a lens and the image sensor.
本申请实施方式的图像采集装置包括图像处理器和所述图像传感器。The image acquisition device in the embodiment of the present application includes an image processor and the image sensor.
本申请实施方式的图像处理方法包括获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。The image processing method in the embodiment of the present application includes acquiring light signals collected by an image sensor to process the light signals to generate a first color space image and a second color space image; according to the first color space image and the second color space image The color space image performs white balance processing on the first color space image to obtain a white balance processed image.
本申请的图像处理器包括获取模块和白平衡处理模块。所述获取模块用于获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;所述白平衡处理模块用于根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。The image processor of the present application includes an acquisition module and a white balance processing module. The acquiring module is used to acquire the light signal collected by the image sensor to process the light signal to generate a first color space image and a second color space image; the white balance processing module is used to generate the first color space image according to the first color space image and performing white balance processing on the first color space image with the second color space image to obtain a white balance processed image.
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, wherein:
图1是本申请某些实施方式的图像传感器的结构示意图;FIG. 1 is a schematic structural diagram of an image sensor in some embodiments of the present application;
图2是图像传感器中四像素合一阵列的滤光片单元阵列的结构示意图Figure 2 is a structural schematic diagram of a four-pixel-in-one array of filter units in an image sensor
图3是本申请某些实施方式的图像传感器中滤光片单元阵列的结构示意图;3 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application;
图4是本申请某些实施方式的图像传感器中滤光片单元阵列的结构示意图;4 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application;
图5是本申请某些实施方式的图像传感器对应的人眼响应曲线的匹配度示意图;Fig. 5 is a schematic diagram of the matching degree of the human eye response curve corresponding to the image sensor in some embodiments of the present application;
图6是本申请某些实施方式的图像处理方法的流程示意图;6 is a schematic flow diagram of an image processing method in some embodiments of the present application;
图7是本申请某些实施方式的图像采集装置的结构示意图;Fig. 7 is a schematic structural diagram of an image acquisition device in some embodiments of the present application;
图8是本申请某些实施方式的图像处理器的结构示意图;FIG. 8 is a schematic structural diagram of an image processor in some embodiments of the present application;
图9是本申请某些实施方式的图像处理方法的流程示意图;FIG. 9 is a schematic flowchart of an image processing method in some embodiments of the present application;
图10是本申请某些实施方式的图像处理器中白平衡处理模块的结构示意图;FIG. 10 is a schematic structural diagram of a white balance processing module in an image processor according to some embodiments of the present application;
图11是本申请某些实施方式的RGBCMY成像的数据逻辑流程示意图;11 is a schematic diagram of the data logic flow of RGBCMY imaging in some embodiments of the present application;
图12是本申请某些实施方式的关于CCM矩阵的空间转换示意图;FIG. 12 is a schematic diagram of space conversion of a CCM matrix in some embodiments of the present application;
图13是本申请某些实施方式的图像处理方法的流程示意图;Fig. 13 is a schematic flowchart of an image processing method in some embodiments of the present application;
图14是本申请某些实施方式的图像处理器中获取模块的结构示意图;Fig. 14 is a schematic structural diagram of an acquisition module in an image processor in some embodiments of the present application;
图15是本申请某些实施方式的图像传感器中中滤光片单元阵列的结构示意图;FIG. 15 is a schematic structural diagram of an array of filter units in an image sensor according to some embodiments of the present application;
图16是本申请某些实施方式的图像处理方法的流程示意图;Fig. 16 is a schematic flowchart of an image processing method in some embodiments of the present application;
图17是本申请某些实施方式的图像处理器的结构示意图;Fig. 17 is a schematic structural diagram of an image processor in some embodiments of the present application;
图18是本申请某些实施方式的摄像头模组的结构示意图。Fig. 18 is a schematic structural diagram of a camera module in some embodiments of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, are only for explaining the present application, and should not be construed as limiting the present application.
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体地限定。In the description of the present application, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of said features. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通信;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In the description of this application, it should be noted that unless otherwise specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense, for example, it can be a fixed connection or a detachable connection. Connected, or integrally connected; may be mechanically connected, may be electrically connected or may communicate with each other; may be directly connected, or indirectly connected through an intermediary, may be internal communication between two components or interaction between two components relation. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application according to specific situations.
下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。The following disclosure provides many different implementations or examples for implementing different structures of the present application. To simplify the disclosure of the present application, components and arrangements of specific examples are described below. Of course, they are examples only and are not intended to limit the application. Furthermore, the present application may repeat reference numerals and/or reference letters in various instances, such repetition is for simplicity and clarity and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed.
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, are only for explaining the present application, and should not be construed as limiting the present application.
本申请实施方式提供一种图像传感器。图像传感器包括像素单元阵列及滤光片单元阵列。所述像素单元阵列包括多个像素单元,每个所述像素单元包括多个感光像素。所述滤光片单元阵列包括多个滤光片单元,每个所述滤光片单元包括多个滤光片子单元,每个所述滤光片子单元包括第一颜色空间中一种颜色对应的第一滤光片,至少部分所述滤光片单元的至少部分所述滤光片子单元还包括第二颜色空间中一种颜色对应的第二滤光片,所述滤光片单元的每个所述第一滤光片和所述第二滤光片均覆盖对应所述像素单元的一个所述感光像素,每个所述滤光片单元包括第一颜色空间中多种颜色对应的所述第一滤光片,所述滤光片单元阵列包括第二颜色空间中多种颜色对应的所述第二滤光片。Embodiments of the present application provide an image sensor. The image sensor includes a pixel unit array and a filter unit array. The pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels. The filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space. The first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
在某些实施方式中,多个所述滤光片单元呈矩形阵列排布,所述滤光片单元中的多个所述滤光片子单元呈矩形阵列排布。In some embodiments, a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
在某些实施方式中,每个所述滤光片子单元均包括一种颜色对应的至少一个所述第一滤光片和一种颜色对应的至少一个所述第二滤光片。In some embodiments, each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color.
在某些实施方式中,每个所述滤光片子单元覆盖对应所述像素单元中的2*2个所述感光像素,所述第一滤光片沿所述滤光片子单元的第一对角分布,所述第二滤光片沿所述滤光片子单元的第二对角分布,或所述第一滤光片和所述第二滤光片沿同一方向并排设置。In some embodiments, each of the filter subunits covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter along the first filter subunit Diagonal distribution, the second optical filter is distributed along the second diagonal of the optical filter subunit, or the first optical filter and the second optical filter are arranged side by side along the same direction.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色。In some embodiments, the first color space includes red, green, and blue, and the second color space includes cyan, magenta, and yellow.
在某些实施方式中,每个滤光片单元包括2*2个所述滤光片子单元,一个具有红色滤光片的所述滤光片子单元和一个具有蓝色滤光片的所述滤光片子单元沿所述滤光片单元的第一对角分布,两个具有绿色滤光片的所述滤光片子单元沿所述滤光片单元的第二对角分布。In some embodiments, each filter unit includes 2*2 filter subunits, one filter subunit with a red filter and one filter subunit with a blue filter The filter subunits are distributed along a first diagonal of the filter unit, and two filter subunits with green filters are distributed along a second diagonal of the filter unit.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色,一个所述滤光片子单元包括绿色滤光片和黄色滤光片,或一个所述滤光片子单元包括红色滤光片和品红色滤光片,或一个所述滤光片子单元包括蓝色滤光片和青色滤光片。In some embodiments, the first color space includes red, green, and blue, the second color space includes cyan, magenta, and yellow, and one of the filter subunits includes a green filter and a yellow filter. A filter, or one of the filter subunits includes a red filter and a magenta filter, or one of the filter subunits includes a blue filter and a cyan filter.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色。在所述滤光片单元仅包括所述红色、所述绿色和所述蓝色对应的所述第一滤光片时,所述滤光片单元呈四合一拜耳阵列排布;或,在所述滤光片单元包括多个所述第一滤光片和一个或多个所述第二滤光片时,第一滤光片子单元与第二滤光片子单元呈第一对角分布,两个第三滤光片子单元呈第二对角分布。其中,所述第一滤光片子单元仅包括红色滤光片,或所述第一滤光片子单元包括所述红色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;所述第二滤光片子单元仅包括蓝色滤光片,或所述第二滤光片子单元包括蓝色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;第三滤光片子单元仅包括绿色滤光片,和/或,所述第三滤光片子单元包括绿色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片。In some embodiments, the first color space includes red, green and blue. When the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or, When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first diagonal distribution, and the two third filter subunits are distributed in a second diagonal. Wherein, the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space. second filter; the second filter subunit includes only a blue filter, or the second filter subunit includes a blue filter and a color in the second color space The corresponding second filter; the third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second color space A color corresponds to the second filter.
本申请实施方式提供一种摄像头模组。摄像头模组包括镜头和图像传感器。图像传感器包括像素单元阵列及滤光片单元阵列。所述像素单元阵列包括多个像素单元,每个所述像素单元包括多个感光像素。所述滤光片单元阵列包括多个滤光片单元,每个所述滤光片单元包括多个滤光片子单元,每个所述滤光片子单元包括第一颜色空间中一种颜色对应的第一滤光片,至少部分所述滤光片单元的至少部分所述滤光片子单元还包括第二颜色 空间中一种颜色对应的第二滤光片,所述滤光片单元的每个所述第一滤光片和所述第二滤光片均覆盖对应所述像素单元的一个所述感光像素,每个所述滤光片单元包括第一颜色空间中多种颜色对应的所述第一滤光片,所述滤光片单元阵列包括第二颜色空间中多种颜色对应的所述第二滤光片。An embodiment of the present application provides a camera module. A camera module includes a lens and an image sensor. The image sensor includes a pixel unit array and a filter unit array. The pixel unit array includes a plurality of pixel units, each of which includes a plurality of photosensitive pixels. The filter unit array includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a color in the first color space Corresponding to the first filter, at least part of the filter sub-units of at least part of the filter unit also include a second filter corresponding to a color in the second color space, and the filter unit Each of the first optical filter and the second optical filter covers one of the photosensitive pixels corresponding to the pixel unit, and each of the optical filter units includes multiple colors corresponding to the first color space. The first optical filter, the optical filter unit array includes the second optical filter corresponding to a plurality of colors in the second color space.
在某些实施方式中,多个所述滤光片单元呈矩形阵列排布,所述滤光片单元中的多个所述滤光片子单元呈矩形阵列排布。In some embodiments, a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
在某些实施方式中,每个所述滤光片子单元均包括一种颜色对应的至少一个所述第一滤光片和一种颜色对应的至少一个所述第二滤光片。In some embodiments, each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color.
在某些实施方式中,每个所述滤光片子单元覆盖对应所述像素单元中的2*2个所述感光像素,所述第一滤光片沿所述滤光片子单元的第一对角分布,所述第二滤光片沿所述滤光片子单元的第二对角分布,或所述第一滤光片和所述第二滤光片沿同一方向并排设置。In some embodiments, each of the filter subunits covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter along the first filter subunit Diagonal distribution, the second optical filter is distributed along the second diagonal of the optical filter subunit, or the first optical filter and the second optical filter are arranged side by side along the same direction.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色。In some embodiments, the first color space includes red, green, and blue, and the second color space includes cyan, magenta, and yellow.
在某些实施方式中,每个滤光片单元包括2*2个所述滤光片子单元,一个具有红色滤光片的所述滤光片子单元和一个具有蓝色滤光片的所述滤光片子单元沿所述滤光片单元的第一对角分布,两个具有绿色滤光片的所述滤光片子单元沿所述滤光片单元的第二对角分布。In some embodiments, each filter unit includes 2*2 filter subunits, one filter subunit with a red filter and one filter subunit with a blue filter The filter subunits are distributed along a first diagonal of the filter unit, and two filter subunits with green filters are distributed along a second diagonal of the filter unit.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色,一个所述滤光片子单元包括绿色滤光片和黄色滤光片,或一个所述滤光片子单元包括红色滤光片和品红色滤光片,或一个所述滤光片子单元包括蓝色滤光片和青色滤光片。In some embodiments, the first color space includes red, green, and blue, the second color space includes cyan, magenta, and yellow, and one of the filter subunits includes a green filter and a yellow filter. A filter, or one of the filter subunits includes a red filter and a magenta filter, or one of the filter subunits includes a blue filter and a cyan filter.
在某些实施方式中,所述第一颜色空间包括红色、绿色和蓝色。在所述滤光片单元仅包括所述红色、所述绿色和所述蓝色对应的所述第一滤光片时,所述滤光片单元呈四合一拜耳阵列排布;或,在所述滤光片单元包括多个所述第一滤光片和一个或多个所述第二滤光片时,第一滤光片子单元与第二滤光片子单元呈第一对角分布,两个第三滤光片子单元呈第二对角分布。其中,所述第一滤光片子单元仅包括红色滤光片,或所述第一滤光片子单元包括所述红色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;所述第二滤光片子单元仅包括蓝色滤光片,或所述第二滤光片子单元包括蓝色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;第三滤光片子单元仅包括绿色滤光片,和/或,所述第三滤光片子单元包括绿色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片。In some embodiments, the first color space includes red, green and blue. When the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or, When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first diagonal distribution, and the two third filter subunits are distributed in a second diagonal. Wherein, the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space. second filter; the second filter subunit includes only a blue filter, or the second filter subunit includes a blue filter and a color in the second color space The corresponding second filter; the third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second color space A color corresponds to the second filter.
本申请实施方式提供一种图像采集装置。图像采集装置包括图像处理器和上述任意一 项实施方式中所述的图像传感器。An embodiment of the present application provides an image acquisition device. The image acquisition device includes an image processor and the image sensor described in any one of the above-mentioned implementation manners.
本申请实施方式提供一种图像处理方法。所述图像处理方法包括:获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。An embodiment of the present application provides an image processing method. The image processing method includes: acquiring a light signal collected by an image sensor to process the light signal to generate a first color space image and a second color space image; according to the first color space image and the second color space image performing white balance processing on the image in the first color space to obtain a white balance processed image.
在某些实施方式中,所述获取所述图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像,包括:根据所述图像传感器的像素排列确定所述第一颜色空间图像和所述第二颜色空间图像的相关性;根据所述相关性和插值算法对所述光线信号进行处理得到所述第一颜色空间图像和所述第二颜色空间图像。In some embodiments, the acquiring the light signal collected by the image sensor to process the light signal to generate the first color space image and the second color space image includes: determining according to the pixel arrangement of the image sensor Correlation between the first color space image and the second color space image; processing the light signal according to the correlation and interpolation algorithm to obtain the first color space image and the second color space image .
在某些实施方式中,所述根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像,包括:对所述第一颜色空间图像进行预处理得到第一预处理图像,以及通过虚拟通道对所述第二颜色空间图像进行处理得到第二预处理图像;将所述第二预处理图像汇总到所述第一预处理图像以对所述第一预处理图像进行白平衡处理得到白平衡处理图像。In some embodiments, performing white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processed image includes: performing the white balance processing on the first color space image Preprocessing the color space image to obtain a first preprocessing image, and processing the second color space image through a virtual channel to obtain a second preprocessing image; summarizing the second preprocessing image to the first preprocessing The image is obtained by performing white balance processing on the first pre-processing image to obtain a white balance processed image.
在某些实施方式中,所述预处理包括黑电平补偿处理、镜头矫正处理和/或坏点补偿处理。In some embodiments, the preprocessing includes black level compensation processing, lens correction processing and/or dead point compensation processing.
在某些实施方式中,所述图像处理方法还包括:对所述白平衡处理图像进行颜色插值处理和颜色矫正处理得到输出图像。In some embodiments, the image processing method further includes: performing color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
在某些实施方式中,所述图像处理器包括:获取模块,所述获取模块用于获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;白平衡处理模块,所述白平衡处理模块用于根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。In some implementations, the image processor includes: an acquisition module, configured to acquire light signals collected by the image sensor to process the light signals to generate a first color space image and a second color space image a white balance processing module, configured to perform white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processing image.
目前的色温传感器仅通过红绿蓝三个通道是很难准确还原色温的,进而很难实现精准的白平衡判断。It is difficult for the current color temperature sensor to accurately restore the color temperature through only three channels of red, green and blue, and it is difficult to achieve accurate white balance judgment.
有鉴于此,本申请实施方式提供一种图像传感器、图像采集装置及图像处理方法。In view of this, embodiments of the present application provide an image sensor, an image acquisition device, and an image processing method.
请参阅图1,本申请实施方式提供了一种图像传感器100。该图像传感器100包括:像素单元阵列110和滤光片单元阵列120。Referring to FIG. 1 , an embodiment of the present application provides an image sensor 100 . The image sensor 100 includes: a pixel unit array 110 and a filter unit array 120 .
像素单元阵列110包括多个像素单元111,每个像素单元111包括多个感光像素1111。滤光片单元阵列120包括多个滤光片单元121。每个滤光片单元121包括多个滤光片子单元1211,每个滤光片子单元1211包括一种第一颜色空间中一种颜色对应的第一滤光片12111,至少部分滤光片单元121的至少部分滤光片子单元1211还包括一种第二颜色空间中一种颜色对应的第二滤光片12112。滤光片单元121的每个第一滤光片12111和第二滤光 片12112均覆盖对应像素单元111的一个感光像素。每个滤光片单元121包括第一颜色空间中多种颜色对应的第一滤光片12111,滤光片单元阵列120包括第二颜色空间中多种颜色对应的第二滤光片12112。The pixel unit array 110 includes a plurality of pixel units 111 , and each pixel unit 111 includes a plurality of photosensitive pixels 1111 . The filter unit array 120 includes a plurality of filter units 121 . Each filter unit 121 includes a plurality of filter subunits 1211, and each filter subunit 1211 includes a first filter 12111 corresponding to a color in a first color space, at least some of the filters At least part of the filter subunit 1211 of the unit 121 further includes a second filter 12112 corresponding to a color in a second color space. Each of the first filter 12111 and the second filter 12112 of the filter unit 121 covers a photosensitive pixel of the corresponding pixel unit 111. Each filter unit 121 includes first filters 12111 corresponding to multiple colors in the first color space, and the filter unit array 120 includes second filters 12112 corresponding to multiple colors in the second color space.
具体地,第一颜色空间包括红色(R)、绿色(G)和蓝色(B),第二颜色空间包括青色(C)、品红色(M)和黄色(Y),即本申请以第一颜色空间为RGB颜色空间,第二颜色空间为CMY颜色空间为例进行说明,当然,第一颜色空间与第二颜色空间也可以是其他颜色空间,在此不一一说明。Specifically, the first color space includes red (R), green (G) and blue (B), and the second color space includes cyan (C), magenta (M) and yellow (Y). The first color space is the RGB color space, and the second color space is the CMY color space as an example for illustration. Of course, the first color space and the second color space may also be other color spaces, which will not be described here.
至少部分滤光片单元121的至少部分滤光片子单元1211还包括一种第二颜色空间中一种颜色对应的第二滤光片12112,可以理解为包括两种情况。第一种情况可以为如图3所示的所有的滤光片单元121的所有滤光片子单元1211均包括第二滤光片12112。第二种情况为如图12所示的仅有部分滤光片单元121的部分滤光片子单元1211包括第二滤光片12112,相对应地,此时部分滤光片单元121的部分滤光片子单元1211也可以不包括第二滤光片12112。即,每个滤光片子单元1211包括一种第一颜色空间对应的第一滤光片12111,至少部分滤光片单元121的至少部分滤光片子单元1211还包括一种第二颜色空间对应的第二滤光片12112,指的是,本申请的图像传感器100中的部分滤光片子单元1211可以同时包括第一滤光片12111和第二滤光片12112(如图3所示),部分滤光片子单元1211可以仅包括第一滤光片12111(如图12所示)。At least some of the filter subunits 1211 of at least some of the filter units 121 further include a second filter 12112 corresponding to one color in a second color space, which can be understood as including two cases. The first case may be that all the filter subunits 1211 of all the filter units 121 as shown in FIG. 3 include the second filter 12112 . The second case is that only part of the filter subunit 1211 of part of the filter unit 121 as shown in FIG. The optical sheet sub-unit 1211 may also not include the second optical filter 12112 . That is, each filter subunit 1211 includes a first filter 12111 corresponding to a first color space, and at least part of the filter subunits 1211 of at least part of the filter unit 121 also includes a second color space The corresponding second optical filter 12112 refers to that part of the optical filter subunit 1211 in the image sensor 100 of the present application may include the first optical filter 12111 and the second optical filter 12112 (as shown in FIG. 3 ), some of the filter subunits 1211 may only include the first filter 12111 (as shown in FIG. 12 ).
可以理解地,同时包括第一滤光片12111和第二滤光片12112的数量越多,则所对应增加的光谱通道数越多,可以使得后续白平衡处理过程中的白平衡参考信息增加越多,从而大幅提升灰点检测和光源分析的准确度,实现图像传感器100更为精准的白平衡判断。It can be understood that the more the number of the first optical filter 12111 and the second optical filter 12112 are at the same time, the more the number of spectral channels is correspondingly increased, which can increase the white balance reference information in the subsequent white balance processing. Therefore, the accuracy of gray point detection and light source analysis can be greatly improved, and a more accurate white balance judgment of the image sensor 100 can be realized.
另外,本申请的图像传感器具有RGBCMY六种滤光材料,是目前为止最为成熟,也是该技术路线所能达到的最多的色彩通道数。这种吸收式滤波带来稳定的滤波特性,可以有效解决滤波特性随光线入射角度和环境温度变化导致滤波特性不稳定的问题。In addition, the image sensor of the present application has six kinds of RGBCMY filter materials, which is the most mature so far, and also the largest number of color channels that can be achieved by this technical route. This absorbing filter brings stable filtering characteristics, which can effectively solve the problem of unstable filtering characteristics caused by changes in the filtering characteristics with the incident angle of light and ambient temperature.
请参阅图1,图像传感器100的每个像素单元111包括2*2个感光像素1111。每个滤光片子单元1211覆盖对应像素单元111中的2*2个感光像素1111,滤光片子单元1211的每个滤光片(12111或12112)覆盖一个感光像素1111。其中,每个滤光片子单元1211包括一种第一颜色空间对应的第一滤光片12111,至少部分滤光片子单元1211还包括一种第二颜色空间对应的第二滤光片12112,滤光片单元121的每个滤光片覆盖对应像素单元111的一个感光像素。多个滤光片单元121构成滤光片单元阵列120。Referring to FIG. 1 , each pixel unit 111 of the image sensor 100 includes 2*2 photosensitive pixels 1111 . Each filter subunit 1211 covers 2*2 photosensitive pixels 1111 in the corresponding pixel unit 111 , and each filter ( 12111 or 12112 ) of the filter subunit 1211 covers one photosensitive pixel 1111 . Wherein, each filter subunit 1211 includes a first filter 12111 corresponding to a first color space, and at least part of the filter subunits 1211 also includes a second filter 12112 corresponding to a second color space , each filter of the filter unit 121 covers one photosensitive pixel of the corresponding pixel unit 111 . A plurality of filter units 121 constitute a filter unit array 120 .
本申请的图像传感器100通过在滤光片阵列1200中的部分滤光片子单元1211中,将原先全部是第一滤光片12111替换为部分是第二滤光片12112,可以增加光谱通道数,使得白平衡的参考信息增加,从而大幅提升灰点检测和光源分析的准确度,以实现图像传感器 100更为精准的白平衡判断。In the image sensor 100 of the present application, in some of the filter subunits 1211 in the filter array 1200, the number of spectral channels can be increased by replacing all the first filters 12111 with some of the second filters 12112 , so that the reference information of the white balance is increased, thereby greatly improving the accuracy of gray point detection and light source analysis, so as to realize a more accurate white balance judgment of the image sensor 100 .
滤光片单元阵列120中部分结构具有不同第一颜色空间对应滤光片的多个滤光片单元121呈四像素合一拜耳阵列(quad-bayer)排布(如图2所示),quad-bayer可以将四个像素的正方形组合成一种颜色。本申请可以以quad-bayer阵列排布为基础,将每组2x2的R、G、B中的一半(对角方向)对应替换为M、Y、C(如图3所示)。In the filter unit array 120, some structures have a plurality of filter units 121 corresponding to filters in different first color spaces in a four-pixel-in-one Bayer array (quad-bayer) arrangement (as shown in FIG. 2 ), quad -bayer can combine squares of four pixels into one color. In this application, based on the quad-bayer array arrangement, half of each group of 2x2 R, G, and B (diagonal directions) can be replaced by M, Y, and C (as shown in FIG. 3 ).
请参阅图2或图3,本申请的多个滤光单元121呈矩形阵列排布,且滤光片单元121中的多个滤光片子单元1211呈矩形阵列排布。Referring to FIG. 2 or FIG. 3 , the plurality of filter units 121 of the present application are arranged in a rectangular array, and the plurality of filter subunits 1211 in the filter unit 121 are arranged in a rectangular array.
另外,图像传感器100中的2*2个感光像素1111的排布方式能够适配一些目前已经广泛应用于手机图像传感器上的新技术,包括合成像素(binning mode)、2x2大型微透镜(2x2OCL)、全像素双核对焦(dual PD)和QDOL等技术,提升图像传感器100的白平衡判断精准度的同时,可以提升该图像传感器100对于新技术的适配性。In addition, the arrangement of 2*2 photosensitive pixels 1111 in the image sensor 100 can adapt to some new technologies that have been widely used in mobile phone image sensors, including binning mode, 2x2 large microlens (2x2OCL) , full-pixel dual-core focus (dual PD) and QDOL technologies, while improving the white balance judgment accuracy of the image sensor 100, the adaptability of the image sensor 100 to new technologies can be improved.
本申请的图像传感器100在原本具有第一空间颜色空间的基础上增加了第二颜色空间使得光谱通道数翻倍,光谱通道数翻倍意味着白平衡参考信息翻倍,可以大幅提升灰点检测和光源分析的准确度,实现更为精准的白平衡判断。The image sensor 100 of the present application adds a second color space on the basis of the first space color space to double the number of spectral channels. Doubling the number of spectral channels means doubling the white balance reference information, which can greatly improve gray point detection. And the accuracy of light source analysis, to achieve more accurate white balance judgment.
请参阅图1或图3,在某些实施例中,每个滤光片子单元1211均包括一种颜色对应的至少一个第一滤光片12111和一种颜色对应的至少一个第二滤光片12112。Referring to FIG. 1 or FIG. 3, in some embodiments, each filter subunit 1211 includes at least one first filter 12111 corresponding to one color and at least one second filter 12111 corresponding to one color. Tablet 12112.
也即是,滤光片子单元1211内部的RGB颜色和CMY颜色的分布方式可以包括多种分布方式,例如包括规则(如图3所示的呈对角分布)的方式,还可以为其他不规则的分布方式,只需要满足每个滤光片子单元1211具有包括一种颜色对应的至少一个第一滤光片12111和一种颜色对应的至少一个第二滤光片12112即可,在此不作限制。That is to say, the distribution of the RGB colors and CMY colors inside the filter subunit 1211 may include various distribution methods, such as regular (diagonal distribution as shown in FIG. 3 ), or other different distribution methods. The regular distribution method only needs to satisfy that each filter subunit 1211 has at least one first filter 12111 corresponding to one color and at least one second filter 12112 corresponding to one color. No limit.
另外,每个滤光片子单元1211内的第二滤光片12112的数量也可以相较于第一滤光片12111更多,例如在3*3感光像素的排布方式的情况下,第一滤光片12111和第二滤光片12112的数量可以不相等,相应第一滤光片12111和第二滤光片12112的分布情况也可以有多种情况。In addition, the number of second filters 12112 in each filter subunit 1211 can also be more than that of the first filters 12111, for example, in the case of an arrangement of 3*3 photosensitive pixels, the second The number of the first optical filter 12111 and the second optical filter 12112 may not be equal, and the corresponding distribution of the first optical filter 12111 and the second optical filter 12112 may also have various situations.
请一并参阅图1和图3,在某些实施例中,第一滤光片12111沿滤光片子单元1211的第一对角分布,第二滤光片12112沿滤光片子单元1211的第二对角分布。或者,请参阅图4,第一滤光片12111和第二滤光片12112沿同一方向并排设置。上述排布方式均可以实现图像传感器中的滤光片单元中的第一颜色空间对应的光谱通道与第二颜色空间对应的光谱通道呈均匀分布,有利于滤光片阵列120的规则排布。在本申请的其他实施例中,滤光片阵列120中滤光片的排布方式也可以不规则排布,在此不作限制。Please refer to FIG. 1 and FIG. 3 together. In some embodiments, the first optical filter 12111 is distributed along the first diagonal of the optical filter subunit 1211, and the second optical filter 12112 is distributed along the first diagonal of the optical filter subunit 1211. The second diagonal distribution of . Or, referring to FIG. 4 , the first filter 12111 and the second filter 12112 are arranged side by side along the same direction. The above arrangements can realize uniform distribution of spectral channels corresponding to the first color space and spectral channels corresponding to the second color space in the filter unit in the image sensor, which is beneficial to the regular arrangement of the filter array 120 . In other embodiments of the present application, the arrangement of the filters in the filter array 120 may also be arranged irregularly, which is not limited here.
更具体地,请再次参阅图3,在本申请的某些实施例中,每个滤光片单元121包括2*2个滤光片子单元1211,一个具有红色滤光片(R)的滤光片子单元1211和一个具有蓝色滤 光片(B)的滤光片子单元1211沿滤光片单元1211的第一对角分布,两个具有绿色滤光片(G)的滤光片子单元1211沿滤光片单元1211的第二对角分布。More specifically, please refer to FIG. 3 again. In some embodiments of the present application, each filter unit 121 includes 2*2 filter subunits 1211, one with a red filter (R) The optical filter subunit 1211 and a filter subunit 1211 with a blue filter (B) are distributed along the first diagonal of the filter unit 1211, and two filter subunits with a green filter (G) The subunits 1211 are distributed along the second diagonal of the filter unit 1211 .
需要说明的是,第一对角分布和第二对角分布仅用于说明第一滤光片12111和第二滤光片12112的对角分布方向不一致,并不是指的固定的对角方向。It should be noted that the first diagonal distribution and the second diagonal distribution are only used to illustrate that the diagonal distribution directions of the first optical filter 12111 and the second optical filter 12112 are inconsistent, and do not refer to a fixed diagonal direction.
相较于原先的全部是第一颜色空间对应的光谱通道,本申请将部分滤光片单元中的一半替换为第二颜色空间增加了第二颜色空间对应的光谱通道,可以使得光谱通道数翻倍,光谱通道数翻倍意味着白平衡参考信息翻倍,将大幅提升灰点检测和光源分析的准确度,实现更为精准的白平衡判断。Compared with the original spectral channels corresponding to the first color space, this application replaces half of the filter units with the second color space and increases the spectral channels corresponding to the second color space, which can double the number of spectral channels Doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis, and achieve more accurate white balance judgments.
更具体地,请参阅图3,一个的滤光片子单元1211可以仅包括绿色滤光片(G)和黄色滤光片(Y),或一个滤光片子单元1211还可以仅包括红色滤光片(R)和品红色滤光片(M),或一个滤光片子单元1211还可以仅包括蓝色滤光片(B)和青色滤光片(C)。More specifically, referring to FIG. 3, a filter subunit 1211 may only include a green filter (G) and a yellow filter (Y), or a filter subunit 1211 may also include only a red filter. The light filter (R) and the magenta color filter (M), or one filter subunit 1211 may also include only the blue color filter (B) and the cyan color filter (C).
此时,图像传感器100具有6个色彩通道(RGBCMY),相较于之前的RGB三色,可以大大提高拟合人眼响应曲线的匹配度(如图5所示),这也意味着色彩还原的表现更准确、更贴近人眼实际观感。At this time, the image sensor 100 has 6 color channels (RGBCMY), which can greatly improve the matching degree of fitting the human eye response curve (as shown in FIG. 5 ), which also means that the color reproduction The performance is more accurate and closer to the actual perception of the human eye.
请参阅图15,在本申请的某些实施例中,第一颜色空间包括红色(R)、绿色(G)和蓝色(B)。在滤光片单元121仅包括红色(R)、绿色(G)和蓝色(B)对应的第一滤光片12111时,滤光片单元121呈四合一拜耳阵列排布。在滤光片单元121包括多个第一滤光片12111和一个或多个第二滤光片12112时,第一滤光片子单元1211a与第二滤光片子单元1211b呈第一对角分布,两个第三滤光片子单元1211c呈第二对角分布。Please refer to FIG. 15 , in some embodiments of the present application, the first color space includes red (R), green (G) and blue (B). When the filter unit 121 only includes first filters 12111 corresponding to red (R), green (G) and blue (B), the filter unit 121 is arranged in a four-in-one Bayer array. When the filter unit 121 includes a plurality of first filters 12111 and one or more second filters 12112, the first filter subunit 1211a and the second filter subunit 1211b form a first diagonal distribution, the two third filter subunits 1211c are distributed in a second diagonal.
其中,第一滤光片子单元1211a可以仅包括红色滤光片(R),或第一滤光片子单元1211a包括红色滤光片(R)和第二颜色空间中一种颜色对应的第二滤光片12112,第二滤光片子单元1211b可以仅包括蓝色滤光片(B),或第二滤光片子单元1211b也可以包括蓝色滤光片(B)和第二颜色空间中一种颜色对应的第二滤光片12112。第三滤光片子单元1211c仅包括绿色滤光片(G),和/或,第三滤光片子单元1211c包括绿色滤光片(G)和第二颜色空间中一种颜色对应的第二滤光片12112。可以理解地,这段描述可以包括以下几种情况:Wherein, the first filter subunit 1211a may only include a red filter (R), or the first filter subunit 1211a may include a red filter (R) and a first color corresponding to a color in the second color space Two filters 12112, the second filter subunit 1211b may only include a blue filter (B), or the second filter subunit 1211b may also include a blue filter (B) and a second color A second filter 12112 corresponding to one color in space. The third filter sub-unit 1211c only includes a green filter (G), and/or, the third filter sub-unit 1211c includes a green filter (G) and a first color corresponding to a color in the second color space. Two filters 12112. Understandably, this description may include the following situations:
第一种,第一滤光片子单元1211a仅包括红色滤光片(R),第二滤光片子单元1211b可以仅包括蓝色滤光片(B),第三滤光片子单元1211c仅包括绿色滤光片(G)的情况。此时,该滤光片单元121呈四合一拜耳阵列分布。First, the first filter subunit 1211a only includes a red filter (R), the second filter subunit 1211b may only include a blue filter (B), and the third filter subunit 1211c Only the case of the green filter (G) is included. At this time, the filter units 121 are distributed in a four-in-one Bayer array.
第二种,第一滤光片子单元1211a仅包括红色滤光片(R),第二滤光片子单元1211b包括蓝色滤光片(B)和第二颜色空间中一种颜色对应的第二滤光片12112,第三滤光片子单元1211c仅包括绿色滤光片(G)(如图15所示)。In the second type, the first filter subunit 1211a only includes a red filter (R), and the second filter subunit 1211b includes a blue filter (B) corresponding to a color in the second color space. The second filter 12112 and the third filter subunit 1211c only include a green filter (G) (as shown in FIG. 15 ).
第三种,第一滤光片子单元1211a包括红色滤光片(R)和第二颜色空间中一种颜色对 应的第二滤光片12112,第二滤光片子单元1211b仅包括蓝色滤光片(B),第三滤光片子单元1211c仅包括绿色滤光片(G)。Third, the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space, and the second filter subunit 1211b only includes blue Filter (B), the third filter sub-unit 1211c includes only the green filter (G).
第四种,第一滤光片子单元1211a包括红色滤光片(R)和第二颜色空间中一种颜色对应的第二滤光片12112,第二滤光片子单元1211b包括蓝色滤光片(B)和第二颜色空间中一种颜色对应的第二滤光片12112,第三滤光片子单元1211c仅包括绿色滤光片(G)。Fourth, the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to a color in the second color space, and the second filter subunit 1211b includes a blue filter The light sheet (B) corresponds to a second color filter 12112 in the second color space, and the third filter subunit 1211c only includes a green filter (G).
第五种,第一滤光片子单元1211a仅包括红色滤光片(R),第二滤光片子单元1211b可以仅包括蓝色滤光片(B),第三滤光片子单元1211c包括绿色滤光片(G)和第二颜色空间中一种颜色对应的第二滤光片12112。Fifth, the first filter subunit 1211a only includes a red filter (R), the second filter subunit 1211b may only include a blue filter (B), and the third filter subunit 1211c It includes a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
第六种,第一滤光片子单元1211a仅包括红色滤光片(R),第二滤光片子单元1211b包括蓝色滤光片(B)和第二颜色空间中一种颜色对应的第二滤光片12112,第三滤光片子单元1211c包括绿色滤光片(G)和第二颜色空间中一种颜色对应的第二滤光片12112。Sixth, the first filter subunit 1211a only includes a red filter (R), and the second filter subunit 1211b includes a blue filter (B) corresponding to one color in the second color space The second filter 12112 and the third filter subunit 1211c include a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
第七种,第一滤光片子单元1211a包括红色滤光片(R)和第二颜色空间中一种颜色对应的第二滤光片12112,第二滤光片子单元1211b仅包括蓝色滤光片(B),第三滤光片子单元1211c包括绿色滤光片(G)和第二颜色空间中一种颜色对应的第二滤光片12112。Seventh, the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space, and the second filter subunit 1211b only includes blue The filter (B), the third filter subunit 1211c includes a green filter (G) and a second filter 12112 corresponding to one color in the second color space.
第八种,第一滤光片子单元1211a包括红色滤光片(R)和第二颜色空间中一种颜色对应的第二滤光片12112,第二滤光片子单元1211b包括蓝色滤光片(B)和第二颜色空间中一种颜色对应的第二滤光片12112,第三滤光片子单元1211c包括绿色滤光片(G)和第二颜色空间中一种颜色对应的第二滤光片12112。Eighth, the first filter subunit 1211a includes a red filter (R) and a second filter 12112 corresponding to one color in the second color space, and the second filter subunit 1211b includes a blue filter The light sheet (B) corresponds to a second color filter 12112 in the second color space, and the third filter subunit 1211c includes a green filter (G) corresponding to a color in the second color space. Second filter 12112.
可以理解地,第二颜色空间可以包括青色(C)、品红色(M)和黄色(Y)。不同的颜色排布情况可以得到不同的光谱通道信息,从而可以得到不同性质的光谱通信信息,增强白平衡参考信息的多样性,提供多种多样的方式提升灰点检测和光源分析的准确度,更多选择,实现更为精准的白平衡判断。Understandably, the second color space may include cyan (C), magenta (M) and yellow (Y). Different color arrangements can obtain different spectral channel information, thereby obtaining different spectral communication information, enhancing the diversity of white balance reference information, and providing a variety of ways to improve the accuracy of gray point detection and light source analysis. More options to achieve more accurate white balance judgment.
需要说明的是,图15中仅仅示出了滤光片单元121包括多个第一滤光片12111和一个第二滤光片12112的情况。第一滤光片子单元1211a与第二滤光片子单元1211b的位置可以互换,在此不做限制。It should be noted that, FIG. 15 only shows the situation that the filter unit 121 includes a plurality of first filters 12111 and one second filter 12112 . The positions of the first filter sub-unit 1211a and the second filter sub-unit 1211b can be interchanged, which is not limited here.
请参阅图6,本申请还提供一种图像处理方法。图像处理方法包括:Please refer to FIG. 6 , the present application also provides an image processing method. Image processing methods include:
01:获取图像传感器采集的光线信号以对光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;01: Obtain the light signal collected by the image sensor to process the light signal to generate a first color space image and a second color space image;
03:根据第一颜色空间图像和第二颜色空间图像对第一颜色空间图像进行白平衡处理得到白平衡处理图像。03: Perform white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processed image.
请参阅图7,本申请还提供一种图像采集装置1000。该图像采集装置1000包括图像处理器10和图像传感器100,图像处理器10与图像传感器100之间可以电性连接。本申请 图像采集装置100中的图像传感器100增加了第二颜色空间使得光谱通道数翻倍,光谱通道数翻倍意味着白平衡参考信息翻倍,将大幅提升灰点检测和光源分析的准确度,实现更为精准的白平衡判断。在某些实施例中,图像采集装置100可以为照相机、手机、电脑等采集图像的设备。Referring to FIG. 7 , the present application also provides an image acquisition device 1000 . The image acquisition device 1000 includes an image processor 10 and an image sensor 100 , and the image processor 10 and the image sensor 100 can be electrically connected. The image sensor 100 in the image acquisition device 100 of the present application adds a second color space to double the number of spectral channels. Doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis. , to achieve more accurate white balance judgment. In some embodiments, the image capture device 100 may be a camera, a mobile phone, a computer, and other devices that capture images.
请结合图8,图像处理器10包括获取模块11和白平衡处理模块13。Please refer to FIG. 8 , the image processor 10 includes an acquisition module 11 and a white balance processing module 13 .
步骤01可以由获取模块11实现,步骤03可以由白平衡处理模块13实现。也即是,获取模块11用于获取图像传感器采集的光线信号以对光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;白平衡处理模块13用于根据第一颜色空间图像和第二颜色空间图像对第一颜色空间图像进行白平衡处理得到白平衡处理图像。 Step 01 can be realized by the acquisition module 11 , and step 03 can be realized by the white balance processing module 13 . That is, the obtaining module 11 is used to obtain the light signal collected by the image sensor to process the light signal to generate the first color space image and the second color space image; the white balance processing module 13 is used to obtain the light signal according to the first color space image and the second color space image The second color space image performs white balance processing on the first color space image to obtain a white balance processed image.
具体地,由于图像传感器100具有第一颜色空间对应的第一滤光片12111和第二颜色空间对应的第二滤光片12112,因此,获取模块11获取采集到的光线后,光线信号经过第一滤光片12111可以产生第一颜色空间图像,光线信号经过第二滤光片12112可以产生第二颜色空间图像。Specifically, since the image sensor 100 has a first filter 12111 corresponding to the first color space and a second filter 12112 corresponding to the second color space, after the acquisition module 11 acquires the collected light, the light signal passes through the second A filter 12111 can generate a first color space image, and a light signal passing through a second filter 12112 can generate a second color space image.
其中,请参阅图9,步骤03包括:Wherein, referring to Fig. 9, step 03 includes:
031:对第一颜色空间图像进行预处理得到第一预处理图像,以及通过虚拟通道对第二颜色空间图像进行处理得到第二预处理图像;031: Preprocessing the first color space image to obtain a first preprocessing image, and processing the second color space image through a virtual channel to obtain a second preprocessing image;
032:将第二预处理图像汇总到第一预处理图像以对第一预处理图像进行白平衡处理得到白平衡处理图像。032: Summarize the second pre-processed image to the first pre-processed image to perform white balance processing on the first pre-processed image to obtain a white balance processed image.
请结合图10,白平衡处理模块13包括预处理单元131和白平衡处理单元132。Please refer to FIG. 10 , the white balance processing module 13 includes a preprocessing unit 131 and a white balance processing unit 132 .
步骤031可以由预处理单元131实现,步骤132可以由白平衡处理单元132实现。也即是说,预处理单元131用于对第一颜色空间图像进行预处理得到第一预处理图像,以及通过虚拟通道对第二颜色空间图像进行处理得到第二预处理图像;白平衡处理单元132用于将第二预处理图像汇总到第一预处理图像以对第一预处理图像进行白平衡处理得到白平衡处理图像。Step 031 can be implemented by the preprocessing unit 131 , and step 132 can be implemented by the white balance processing unit 132 . That is to say, the preprocessing unit 131 is used to preprocess the first color space image to obtain a first preprocessed image, and process the second color space image through a virtual channel to obtain a second preprocessed image; the white balance processing unit 132 is configured to aggregate the second pre-processed image into the first pre-processed image to perform white balance processing on the first pre-processed image to obtain a white balance processed image.
也即是,预处理单元131可以对第一颜色空间图像进行预处理得到第一预处理图像,其中,预处理方式包括黑电平补偿处理、镜头矫正处理和/或坏点补偿处理,即预处理方式可以是其中一种、两种或两种以上。在本申请的其他实施例中,预处理方式还可以包括去噪、高动态、镜头矫正等处理过程,可以根据用户需求添加所需要的预处理方式,在此不一一说明。That is to say, the preprocessing unit 131 can preprocess the first color space image to obtain the first preprocessed image, wherein the preprocessing method includes black level compensation processing, lens correction processing and/or dead point compensation processing, that is, preprocessing The treatment methods can be one of them, two or more than two. In other embodiments of the present application, the preprocessing methods may also include processing processes such as denoising, high dynamic range, and lens correction, and required preprocessing methods may be added according to user requirements, which will not be described here.
图像预处理的主要目的是消除图像中无关的信息,恢复有用的真实信息,增强有关信息的可检测性、最大限度地简化数据,从而改进特征提取、图像分割、匹配和识别的可靠性。The main purpose of image preprocessing is to eliminate irrelevant information in the image, restore useful real information, enhance the detectability of relevant information, and simplify data to the greatest extent, thereby improving the reliability of feature extraction, image segmentation, matching and recognition.
预处理流程可以包括灰度化、几何变换和图像增强三个过程。The preprocessing process can include three processes of grayscale, geometric transformation and image enhancement.
具体地,灰度化:例如在RGB模型中,如果R=G=B时,则彩色表示一种灰度颜色,其中R=G=B的值叫灰度值,因此,灰度图像每个像素只需一个字节存放灰度值(又称强度值、亮度值),灰度范围为0-255。一般有分量法最大值法平均值法加权平均法四种方法对彩色图像进行灰度化。对彩色图像进行处理时,我们往往需要对三个通道依次进行处理。Specifically, grayscale: For example, in the RGB model, if R=G=B, the color represents a grayscale color, where the value of R=G=B is called the grayscale value, therefore, each grayscale image A pixel only needs one byte to store the grayscale value (also known as intensity value, brightness value), and the grayscale range is 0-255. Generally, there are four methods: component method, maximum value method, average value method, weighted average method, and four methods to grayscale the color image. When processing color images, we often need to process the three channels sequentially.
几何变换:图像几何变换又称为图像空间变换,通过平移、转置、镜像、旋转、缩放等几何变换对采集的图像进行处理,用于改正图像采集系统的系统误差和仪器位置(成像角度、透视关系乃至镜头自身原因)的随机误差。此外,还需要使用灰度插值算法,因为按照这种变换关系进行计算,输出图像的像素可能被映射到输入图像的非整数坐标上。通常采用的方法有最近邻插值、双线性插值和双三次插值。Geometric transformation: image geometric transformation, also known as image space transformation, processes the collected image through geometric transformations such as translation, transposition, mirroring, rotation, and zooming, and is used to correct the system error of the image acquisition system and the position of the instrument (imaging angle, Perspective relationship and even the random error of the lens itself). In addition, a grayscale interpolation algorithm needs to be used, because the pixels of the output image may be mapped to the non-integer coordinates of the input image for calculation according to this transformation relationship. Commonly used methods are nearest neighbor interpolation, bilinear interpolation and bicubic interpolation.
图像增强:增强图像中的有用信息,它可以是一个失真的过程,其目的是要改善图像的视觉效果,针对给定图像的应用场合,有目的地强调图像的整体或局部特性,将原来不清晰的图像变得清晰或强调某些感兴趣的特征,扩大图像中不同物体特征之间的差别,抑制不感兴趣的特征,使之改善图像质量、丰富信息量,加强图像判读和识别效果,满足某些特殊分析的需要。图像增强算法可分成两大类:空间域法和频率域法。空间域法是一种直接图像增强算法,分为点运算算法和邻域去噪算法。点运算算法即灰度级校正、灰度变换(又叫对比度拉伸)和直方图修正等。邻域增强算法分为图像平滑和锐化两种。平滑常用算法有均值滤波、中值滤波、空域滤波。锐化常用算法有梯度算子法、二阶导数算子法、高通滤波、掩模匹配法等。频率域法是一种间接图像增强算法,常用的频域增强方法有低通滤波器和高通滤波器。低频滤波器有理想低通滤波器、巴特沃斯低通滤波器、高斯低通滤波器、指数滤波器等。高通滤波器有理想高通滤波器、巴特沃斯高通滤波器、高斯高通滤波器、指数滤波器。Image enhancement: enhancing the useful information in the image, it can be a process of distortion, its purpose is to improve the visual effect of the image, for the application of a given image, purposefully emphasize the overall or local characteristics of the image, and transform the original A clear image becomes clear or emphasizes some interesting features, expands the difference between different object features in the image, suppresses uninteresting features, improves image quality, enriches information, strengthens image interpretation and recognition effects, and satisfies Some special analysis needs. Image enhancement algorithms can be divided into two categories: spatial domain methods and frequency domain methods. The spatial domain method is a direct image enhancement algorithm, which is divided into a point operation algorithm and a neighborhood denoising algorithm. The point operation algorithm is gray level correction, gray level transformation (also known as contrast stretching) and histogram correction. Neighborhood enhancement algorithms are divided into image smoothing and sharpening. Common smoothing algorithms include mean filtering, median filtering, and spatial filtering. Common sharpening algorithms include gradient operator method, second derivative operator method, high-pass filter, mask matching method, etc. The frequency domain method is an indirect image enhancement algorithm, and the commonly used frequency domain enhancement methods include low-pass filter and high-pass filter. Low-frequency filters include ideal low-pass filters, Butterworth low-pass filters, Gaussian low-pass filters, and exponential filters. High-pass filters include ideal high-pass filters, Butterworth high-pass filters, Gaussian high-pass filters, and exponential filters.
预处理单元131可以通过RGB通路对第一颜色空间图像(RGB颜色空间图像)进行上述预处理,即对第一颜色空间图像进行图像信号处理(ISP)过程的常规处理,可以得到处理后的第一预处理图像(RGB预处理图像)。The preprocessing unit 131 can perform the above preprocessing on the first color space image (RGB color space image) through the RGB channel, that is, perform the conventional processing of the image signal processing (ISP) process on the first color space image, and the processed first color space image can be obtained A preprocessed image (RGB preprocessed image).
另外,预处理单元131还可以通过虚拟通道对第二颜色空间图像(CMY颜色空间图像)进行处理得到第二预处理图像(CMY预处理图像)。其中,虚拟通道可以如图11所示。In addition, the preprocessing unit 131 may also process the second color space image (CMY color space image) through virtual channels to obtain a second preprocessing image (CMY preprocessing image). Wherein, the virtual channel may be as shown in FIG. 11 .
第二颜色空间图像的预处理方式和第一颜色空间图像的预处理方式一致,同样可以包括黑电平补偿、镜头矫正、坏点矫正其中一种、两种或两种以上等处理过程,可以保证两种预处理图像的处理效果相同,使得汇总后的预处理图像进行白平衡处理时,两种颜色空间图像所得到的白平衡参考信息可以直接汇总。The preprocessing method of the second color space image is consistent with the preprocessing method of the first color space image, and can also include black level compensation, lens correction, dead point correction, one, two or more of the processing processes, which can be It is ensured that the processing effects of the two pre-processed images are the same, so that when the aggregated pre-processed images are subjected to white balance processing, the white balance reference information obtained by the two color space images can be directly aggregated.
具体地,虚拟通道(Virtual channel)可以使得CMY颜色空间图像与RGB颜色空 间图像同时平行处理或分时处理,并在白平衡处理节点汇总到RGB通路,即白平衡处理模块13将第二预处理图像汇总到第一预处理图像以对第一预处理图像进行白平衡处理得到白平衡处理图像。Specifically, the virtual channel (Virtual channel) can make the CMY color space image and the RGB color space image be processed in parallel or time-sharing at the same time, and are aggregated to the RGB channel at the white balance processing node, that is, the white balance processing module 13 performs the second preprocessing The images are aggregated into the first pre-processing image to perform white balance processing on the first pre-processing image to obtain a white balance processing image.
可以理解地,同时平行处理CMY颜色空间图像与RGB颜色空间图像可以加快图像信号处理过程,提升图像信号处理过程效率更高。分时处理CMY颜色空间图像与RGB颜色空间图像可以使得CMY颜色空间图像的处理过程与RGB颜色空间图像的处理过程交叉进行,不容易混淆颜色空间图像的处理信息,保证两种颜色空间图像信息(RGB信息和CMY信息)处理的准确性。It can be understood that processing the CMY color space image and the RGB color space image in parallel at the same time can speed up the image signal processing process and improve the efficiency of the image signal processing process. Time-sharing processing of CMY color space image and RGB color space image can make the processing process of CMY color space image and the processing process of RGB color space image interleaved, it is not easy to confuse the processing information of color space image, and ensure that the two color space image information ( RGB information and CMY information) processing accuracy.
在白平衡处理节点进行汇总预处理后的两种预处理图像所能起到的作用包括:The functions of the two pre-processed images after the summary pre-processing in the white balance processing node include:
a.CMY信息与RGB信息汇总形成6通道信息,能够大幅提升光环境判断的准确性,其中环境判断的方式包括灰点检测和光源分析等方式,从而可以提升灰点检测或光源分析等数据的准确度;a. CMY information and RGB information are summarized to form 6-channel information, which can greatly improve the accuracy of light environment judgment. The methods of environment judgment include gray point detection and light source analysis, which can improve the accuracy of data such as gray point detection or light source analysis. Accuracy;
b.6通道信息可以参与白平衡处理过程的颜色还原(如图11所示)过程,将原有的用于颜色校正(如图11所示)过程的颜色校正矩阵(Color Correction Matrix,CCM)从3x3拓展为6x3,可以更好的贴近人眼响应曲线(如图5所示),进而大幅度提升白平衡处理中颜色还原的准确度。b.6 channel information can participate in the color restoration (as shown in Figure 11) process of the white balance process, and the original color correction matrix (Color Correction Matrix, CCM) used for the color correction (as shown in Figure 11) process Expanding from 3x3 to 6x3 can better fit the response curve of the human eye (as shown in Figure 5), thereby greatly improving the accuracy of color reproduction in white balance processing.
其中,CCM是一个由至少俩矩阵合在一起的矩阵。如图8所示一般的图像信号处理(ISP)流程,在去马赛克(Demosaic)过后进行了CCM处理。以RGB信息为例,CCM可以完成将sensor_RGB空间到XYZ空间的转换,再到线性sRGB空间的转换。CCM处理之后再对图像进行Gamma校正,Gamma之后图像信号处理中的空间就变成了非线性sRGB空间了。Wherein, CCM is a matrix composed of at least two matrices. As shown in FIG. 8 , the general image signal processing (ISP) flow is subjected to CCM processing after demosaicing (Demosaic). Taking RGB information as an example, CCM can complete the conversion from sensor_RGB space to XYZ space, and then to linear sRGB space. After CCM processing, Gamma correction is performed on the image. After Gamma, the space in the image signal processing becomes a nonlinear sRGB space.
请结合图12的空间转换示意图,CCM矩阵M算法过程具体为:由sensor_RGB空间分别经过矩阵M 2和矩阵M 1以及γ校正完成。其中,sensorRGB空间我们称之为“源色彩空间",非线性sRGB空间称之为“目标颜色空间”,目前,我们能够得到源色彩空间(sensorRGB空间)的“不饱和图”对应的24色色块,也有非线性sRGB空间的“饱和图”对应的24色色块,而矩阵M 1和γ的数值是已知的,那么,只需要将非线性sRGB空间的图片经过反γ校正然后再转换到XYZ空间,那时就可以和sensorRGB数值联立从而求得矩阵M 2,继而求得颜色校正矩阵M(M=M 2*M 1)。 Please refer to the space conversion schematic diagram in Figure 12, the CCM matrix M algorithm process is as follows: the sensor_RGB space is completed by matrix M 2 and matrix M 1 and γ correction. Among them, the sensorRGB space is called the "source color space", and the nonlinear sRGB space is called the "target color space". At present, we can get the 24-color color blocks corresponding to the "unsaturated image" of the source color space (sensorRGB space) , there is also a 24-color color block corresponding to the "saturation image" in the nonlinear sRGB space, and the values of the matrix M 1 and γ are known, then it is only necessary to inversely correct the image in the nonlinear sRGB space and then convert it to XYZ space, then the matrix M 2 can be obtained by combining with the sensorRGB value, and then the color correction matrix M (M=M 2 *M 1 ) can be obtained.
请参阅图13,在某些实施例中,步骤01包括:Referring to Figure 13, in some embodiments, step 01 includes:
013:根据图像传感器的像素排列确定第一颜色空间图像和第二颜色空间图像的相关性;013: Determine the correlation between the first color space image and the second color space image according to the pixel arrangement of the image sensor;
015:根据相关性和插值算法对光线信号进行处理得到第一颜色空间图像和第二颜色空间图像。015: Process the light signal according to the correlation and interpolation algorithm to obtain the first color space image and the second color space image.
请结合图14,获取模块11包括确定单元113和处理单元115。Please refer to FIG. 14 , the acquisition module 11 includes a determination unit 113 and a processing unit 115 .
步骤013可以由确定单元113实现,步骤015可以由处理单元115实现。也即是,确定单元111用于根据图像传感器的像素排列确定第一颜色空间图像和第二颜色空间图像的相关性;处理单元112用于根据相关性和插值算法对光线信号进行处理得到第一颜色空间图像和第二颜色空间图像。Step 013 can be implemented by the determining unit 113 , and step 015 can be implemented by the processing unit 115 . That is, the determination unit 111 is used to determine the correlation between the first color space image and the second color space image according to the pixel arrangement of the image sensor; the processing unit 112 is used to process the light signal according to the correlation and interpolation algorithm to obtain the first color space image. A color space image and a second color space image.
可以理解地,青(C)、品红(M)和黄色(Y)是作为红、绿、蓝的互补色而存在,也可以作为颜料的三原色,称为CMY色度模型。C、M、Y与R、G、B之间具有相关性,根据图像传感器100的像素排列情况可以确定第一颜色空间图像(RGB颜色空间图像)和第二颜色空间图像(CMY颜色空间图像)之间的相关性。例如,图像传感器100的像素单元阵列110的像素排布的方式可以为如图3所示的排布方式,也可以为如图15所示的排布方式(部分替换图2中的RGB像素点可得图15中的排布方式),或其他排布方式。当像素排布方式为图3所示的排布方式时,以图3中第三行第一列的红色感光像素点周围分别为黄色感光像素点、青色感光像素点和青色感光像素点。图3中第一行第三列的品红色感光像素点周围分别为黄色感光像素点、蓝色感光像素点和蓝色感光像素点。因此,图3中第一行第三列的品红色感光像素点对应的颜色空间图像通过其周围的感光像素点(黄色感光像素点、蓝色感光像素点和蓝色感光像素点)可以确定与第一颜色空间相关的第二颜色空间图像。It can be understood that cyan (C), magenta (M) and yellow (Y) exist as complementary colors of red, green and blue, and can also be used as the three primary colors of pigments, which is called the CMY chromaticity model. There is a correlation between C, M, Y and R, G, B, and the first color space image (RGB color space image) and the second color space image (CMY color space image) can be determined according to the pixel arrangement of the image sensor 100 correlation between. For example, the arrangement of the pixels of the pixel unit array 110 of the image sensor 100 may be the arrangement shown in FIG. 3 , or the arrangement shown in FIG. The arrangement in Fig. 15 can be obtained), or other arrangements. When the pixel arrangement is as shown in FIG. 3 , the red photosensitive pixels in the third row and first column in FIG. 3 are surrounded by yellow photosensitive pixels, cyan photosensitive pixels and cyan photosensitive pixels respectively. The magenta photosensitive pixels in the first row and the third column in FIG. 3 are surrounded by yellow photosensitive pixels, blue photosensitive pixels and blue photosensitive pixels respectively. Therefore, the color space image corresponding to the magenta photosensitive pixel in the first row and the third column in Fig. An image in the second color space relative to the first color space.
然后,根据相关法和插值算法对光线信号进行处理得到第一颜色空间图像和第二颜色空间图像。实现图像处理的插值算法有很多,包括最近邻域插值、双线性插值、双三次插值等方法,其中,通过速度与质量权衡后,最好的是线性插值补偿算法。Then, the light signal is processed according to the correlation method and the interpolation algorithm to obtain the first color space image and the second color space image. There are many interpolation algorithms for image processing, including nearest neighbor interpolation, bilinear interpolation, bicubic interpolation, etc. Among them, after weighing speed and quality, the best is the linear interpolation compensation algorithm.
本申请利用RGB与CMY的相关性处理得到第一颜色空间图像和第二颜色空间图像,相较于传统RGB图像处理模式,可以保证不引入较多人为影响,保证处理后的图像的准确度。This application uses the correlation processing between RGB and CMY to obtain the first color space image and the second color space image. Compared with the traditional RGB image processing mode, it can ensure that no more human influence is introduced and the accuracy of the processed image is guaranteed.
请参阅图16,在某些实施例中,图像处理方法还包括:Referring to Figure 16, in some embodiments, the image processing method further includes:
05:对白平衡处理图像进行颜色插值处理和颜色矫正处理得到输出图像。05: Perform color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
请结合图17,图像处理器10还包括颜色处理模块15。Please refer to FIG. 17 , the image processor 10 further includes a color processing module 15 .
颜色处理模块15用于对白平衡处理图像进行颜色插值处理和颜色矫正处理得到输出图像。The color processing module 15 is used for performing color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
具体地,例如以Bayer CFA型颜色滤波阵列(如图2所示)为例,在这个图像阵列中,每个像素只有一个颜色的色调值,另外两个颜色的色调必须利用相邻像素之间的相关性通过计算获得,这种计算方法被称为颜色插值算法。Specifically, take the Bayer CFA type color filter array (as shown in Figure 2) as an example. In this image array, each pixel has only one color hue value, and the other two color hues must use the The correlation of is obtained by calculation, and this calculation method is called color interpolation algorithm.
颜色插值处理过程可以采用双线性插值算法来实现RGB彩色图像和Bayer型的颜 色滤波阵列图之间的转换,以及CMY彩色图像与相应的颜色滤波阵列图之间的转换。The color interpolation process can use a bilinear interpolation algorithm to realize the conversion between the RGB color image and the Bayer-type color filter array map, and the conversion between the CMY color image and the corresponding color filter array map.
颜色矫正处理,俗称校色(Color calibration),它可以确保图像的色彩能够被较为精确地再现出拍摄现场人眼看到的情况,使得白平衡处理图像更贴近人眼实际观感。Color correction processing, commonly known as color calibration (Color calibration), it can ensure that the color of the image can be more accurately reproduced what the human eye sees at the shooting scene, making the white balance processed image closer to the actual perception of the human eye.
请参阅图18,本申请还提供一种摄像头模组200。摄像头模组200包括镜头210和图像传感器100。本申请的摄像头模组200中的图像传感器100增加了第二颜色空间使得光谱通道数翻倍,光谱通道数翻倍意味着白平衡参考信息翻倍,将大幅提升灰点检测和光源分析的准确度,可以实现更为精准的白平衡判断。Please refer to FIG. 18 , the present application also provides a camera module 200 . The camera module 200 includes a lens 210 and an image sensor 100 . The image sensor 100 in the camera module 200 of the present application adds a second color space to double the number of spectral channels, and doubling the number of spectral channels means doubling the white balance reference information, which will greatly improve the accuracy of gray point detection and light source analysis To achieve more accurate white balance judgment.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (23)

  1. 一种图像传感器,其中,包括:An image sensor, including:
    像素单元阵列,所述像素单元阵列包括多个像素单元,每个所述像素单元包括多个感光像素;和a pixel unit array, the pixel unit array including a plurality of pixel units, each of which includes a plurality of photosensitive pixels; and
    滤光片单元阵列,所述滤光片单元阵列包括多个滤光片单元,每个所述滤光片单元包括多个滤光片子单元,每个所述滤光片子单元包括第一颜色空间中一种颜色对应的第一滤光片,至少部分所述滤光片单元的至少部分所述滤光片子单元还包括第二颜色空间中一种颜色对应的第二滤光片,所述滤光片单元的每个所述第一滤光片和所述第二滤光片均覆盖对应所述像素单元的一个所述感光像素,每个所述滤光片单元包括第一颜色空间中多种颜色对应的所述第一滤光片,所述滤光片单元阵列包括第二颜色空间中多种颜色对应的所述第二滤光片。An array of filter units, the array of filter units includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a first A first filter corresponding to one color in the color space, at least part of the filter subunits of at least part of the filter unit further includes a second filter corresponding to one color in the second color space, Each of the first filter and the second filter of the filter unit covers one of the photosensitive pixels corresponding to the pixel unit, and each filter unit includes a first color The first optical filters correspond to multiple colors in the space, and the filter unit array includes the second optical filters corresponding to multiple colors in the second color space.
  2. 根据权利要求1所述的图像传感器,其中,多个所述滤光片单元呈矩形阵列排布,所述滤光片单元中的多个所述滤光片子单元呈矩形阵列排布。The image sensor according to claim 1, wherein a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
  3. 根据权利要求1所述的图像传感器,其中,每个所述滤光片子单元均包括一种颜色对应的至少一个所述第一滤光片和一种颜色对应的至少一个所述第二滤光片。The image sensor according to claim 1, wherein each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color. light sheet.
  4. 根据权利要求3所述的图像传感器,其中,每个所述滤光片子单元覆盖对应所述像素单元中的2*2个所述感光像素,所述第一滤光片沿所述滤光片子单元的第一对角分布,所述第二滤光片沿所述滤光片子单元的第二对角分布,或所述第一滤光片和所述第二滤光片沿同一方向并排设置。The image sensor according to claim 3, wherein each of the filter sub-units covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter along the filter The first diagonal distribution of the sheet sub-unit, the second optical filter is distributed along the second diagonal of the optical filter sub-unit, or the first optical filter and the second optical filter are distributed along the same Directions are set side by side.
  5. 根据权利要求1-4任一项所述的图像传感器,其中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色。The image sensor according to any one of claims 1-4, wherein the first color space includes red, green and blue, and the second color space includes cyan, magenta and yellow.
  6. 根据权利要求5所述的图像传感器,其中,每个滤光片单元包括2*2个所述滤光片子单元,一个具有红色滤光片的所述滤光片子单元和一个具有蓝色滤光片的所述滤光片子单元沿所述滤光片单元的第一对角分布,两个具有绿色滤光片的所述滤光片子单元沿所述滤光片单元的第二对角分布。The image sensor according to claim 5, wherein each filter unit comprises 2*2 said filter subunits, one with a red filter and one with a blue filter. The filter subunits of the filter are distributed along the first diagonal of the filter unit, and the two filter subunits with green filters are distributed along the second diagonal of the filter unit. Diagonal distribution.
  7. 根据权利要求3所述的图像传感器,其中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色,一个所述滤光片子单元包括绿色滤光片和黄色滤光片,或一个所述滤光片子单元包括红色滤光片和品红色滤光片,或一个所述滤光片子单元包括蓝色滤光片和青色滤光片。The image sensor according to claim 3, wherein said first color space includes red, green, and blue, said second color space includes cyan, magenta, and yellow, and one of said filter subunits includes green filter and a yellow filter, or one of said filter subunits includes a red filter and a magenta filter, or one of said filter subunits includes a blue filter and a cyan filter .
  8. 根据权利要求1所述的图像传感器,其中,所述第一颜色空间包括红色、绿色和蓝色,The image sensor of claim 1, wherein the first color space includes red, green and blue,
    在所述滤光片单元仅包括所述红色、所述绿色和所述蓝色对应的所述第一滤光片时, 所述滤光片单元呈四合一拜耳阵列排布;或When the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or
    在所述滤光片单元包括多个所述第一滤光片和一个或多个所述第二滤光片时,第一滤光片子单元与第二滤光片子单元呈第一对角分布,两个第三滤光片子单元呈第二对角分布;When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first pair Angular distribution, the two third filter subunits are distributed in the second diagonal;
    其中,所述第一滤光片子单元仅包括红色滤光片,或所述第一滤光片子单元包括所述红色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;Wherein, the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space. second filter;
    所述第二滤光片子单元仅包括蓝色滤光片,或所述第二滤光片子单元包括蓝色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;The second filter subunit only includes a blue filter, or the second filter subunit includes a blue filter and the second color corresponding to one color in the second color space. filter;
    第三滤光片子单元仅包括绿色滤光片,和/或,所述第三滤光片子单元包括绿色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片。The third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second filter corresponding to one color in the second color space light sheet.
  9. 一种摄像头模组,其中,包括镜头和图像传感器,所述图像传感器包括:A camera module, including a lens and an image sensor, and the image sensor includes:
    像素单元阵列,所述像素单元阵列包括多个像素单元,每个所述像素单元包括多个感光像素;和a pixel unit array, the pixel unit array including a plurality of pixel units, each of which includes a plurality of photosensitive pixels; and
    滤光片单元阵列,所述滤光片单元阵列包括多个滤光片单元,每个所述滤光片单元包括多个滤光片子单元,每个所述滤光片子单元包括第一颜色空间中一种颜色对应的第一滤光片,至少部分所述滤光片单元的至少部分所述滤光片子单元还包括第二颜色空间中一种颜色对应的第二滤光片,所述滤光片单元的每个所述第一滤光片和所述第二滤光片均覆盖对应所述像素单元的一个所述感光像素,每个所述滤光片单元包括第一颜色空间中多种颜色对应的所述第一滤光片,所述滤光片单元阵列包括第二颜色空间中多种颜色对应的所述第二滤光片。An array of filter units, the array of filter units includes a plurality of filter units, each of the filter units includes a plurality of filter subunits, and each of the filter subunits includes a first A first filter corresponding to one color in the color space, at least part of the filter subunits of at least part of the filter unit further includes a second filter corresponding to one color in the second color space, Each of the first filter and the second filter of the filter unit covers one of the photosensitive pixels corresponding to the pixel unit, and each filter unit includes a first color The first optical filters correspond to multiple colors in the space, and the filter unit array includes the second optical filters corresponding to multiple colors in the second color space.
  10. 根据权利要求9所述的摄像头模组,其中,多个所述滤光片单元呈矩形阵列排布,所述滤光片单元中的多个所述滤光片子单元呈矩形阵列排布。The camera module according to claim 9, wherein a plurality of the filter units are arranged in a rectangular array, and a plurality of the filter subunits in the filter unit are arranged in a rectangular array.
  11. 根据权利要求9所述的摄像头模组,其中,每个所述滤光片子单元均包括一种颜色对应的至少一个所述第一滤光片和一种颜色对应的至少一个所述第二滤光片。The camera module according to claim 9, wherein each of the filter subunits includes at least one first filter corresponding to one color and at least one second filter corresponding to one color. filter.
  12. 根据权利要求11所述的摄像头模组,其中,个所述滤光片子单元覆盖对应所述像素单元中的2*2个所述感光像素,所述第一滤光片沿所述滤光片子单元的第一对角分布,所述第二滤光片沿所述滤光片子单元的第二对角分布,或所述第一滤光片和所述第二滤光片沿同一方向并排设置。The camera module according to claim 11, wherein each of the filter subunits covers 2*2 of the photosensitive pixels corresponding to the pixel unit, and the first filter is along the filter The first diagonal distribution of the sheet sub-unit, the second optical filter is distributed along the second diagonal of the optical filter sub-unit, or the first optical filter and the second optical filter are distributed along the same Directions are set side by side.
  13. 根据权利要求9-11任一项所述的摄像头模组,其中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色。The camera module according to any one of claims 9-11, wherein the first color space includes red, green and blue, and the second color space includes cyan, magenta and yellow.
  14. 根据权利要求13所述的摄像头模组,其中,每个滤光片单元包括2*2个所述滤光片子单元,一个具有红色滤光片的所述滤光片子单元和一个具有蓝色滤光片的所述滤光片子单元沿所述滤光片单元的第一对角分布,两个具有绿色滤光片的所述滤光片子单元沿所 述滤光片单元的第二对角分布。The camera module according to claim 13, wherein each filter unit includes 2*2 said filter subunits, one with a red filter and one with a blue filter. The filter subunits of the color filter are distributed along the first diagonal of the filter unit, and the two filter subunits with green filters are distributed along the second diagonal of the filter unit Diagonal distribution.
  15. 根据权利要求11所述的摄像头模组,其中,所述第一颜色空间包括红色、绿色和蓝色,所述第二颜色空间包括青色、品红色和黄色,一个所述滤光片子单元包括绿色滤光片和黄色滤光片,或一个所述滤光片子单元包括红色滤光片和品红色滤光片,或一个所述滤光片子单元包括蓝色滤光片和青色滤光片。The camera module according to claim 11, wherein the first color space includes red, green, and blue, the second color space includes cyan, magenta, and yellow, and one filter subunit includes A green filter and a yellow filter, or one of the filter subunits includes a red filter and a magenta filter, or one of the filter subunits includes a blue filter and a cyan filter piece.
  16. 根据权利要求9所述的摄像头模组,其中,所述第一颜色空间包括红色、绿色和蓝色,The camera module according to claim 9, wherein the first color space includes red, green and blue,
    在所述滤光片单元仅包括所述红色、所述绿色和所述蓝色对应的所述第一滤光片时,所述滤光片单元呈四合一拜耳阵列排布;或When the filter unit only includes the first filter corresponding to the red, the green and the blue, the filter unit is arranged in a four-in-one Bayer array; or
    在所述滤光片单元包括多个所述第一滤光片和一个或多个所述第二滤光片时,第一滤光片子单元与第二滤光片子单元呈第一对角分布,两个第三滤光片子单元呈第二对角分布;When the filter unit includes a plurality of first filters and one or more second filters, the first filter subunit and the second filter subunit form a first pair Angular distribution, the two third filter subunits are distributed in the second diagonal;
    其中,所述第一滤光片子单元仅包括红色滤光片,或所述第一滤光片子单元包括所述红色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;Wherein, the first filter subunit only includes a red filter, or the first filter subunit includes the red filter and the color corresponding to one color in the second color space. second filter;
    所述第二滤光片子单元仅包括蓝色滤光片,或所述第二滤光片子单元包括蓝色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片;The second filter subunit only includes a blue filter, or the second filter subunit includes a blue filter and the second color corresponding to one color in the second color space. filter;
    第三滤光片子单元仅包括绿色滤光片,和/或,所述第三滤光片子单元包括绿色滤光片和所述第二颜色空间中一种颜色对应的所述第二滤光片。The third filter subunit only includes a green filter, and/or, the third filter subunit includes a green filter and the second filter corresponding to one color in the second color space light sheet.
  17. 一种图像采集装置,其中,包括图像处理器和权利要求1-8任一项所述的图像传感器。An image acquisition device, comprising an image processor and the image sensor according to any one of claims 1-8.
  18. 一种图像处理方法,其中,所述图像处理方法包括:An image processing method, wherein the image processing method includes:
    获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;Acquiring light signals collected by the image sensor to process the light signals to generate a first color space image and a second color space image;
    根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。Performing white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processed image.
  19. 根据权利要求18所述的图像处理方法,其中,所述获取所述图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像,包括:The image processing method according to claim 18, wherein the acquiring the light signal collected by the image sensor to process the light signal to generate a first color space image and a second color space image comprises:
    根据所述图像传感器的像素排列确定所述第一颜色空间图像和所述第二颜色空间图像的相关性;determining the correlation between the first color space image and the second color space image according to the pixel arrangement of the image sensor;
    根据所述相关性和插值算法对所述光线信号进行处理得到所述第一颜色空间图像和所述第二颜色空间图像。Processing the light signal according to the correlation and interpolation algorithm to obtain the first color space image and the second color space image.
  20. 根据权利要求18所述的图像处理方法,其中,所述根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像,包 括:The image processing method according to claim 18, wherein said performing white balance processing on said first color space image according to said first color space image and said second color space image to obtain a white balance processed image comprises :
    对所述第一颜色空间图像进行预处理得到第一预处理图像,以及通过虚拟通道对所述第二颜色空间图像进行处理得到第二预处理图像;Preprocessing the first color space image to obtain a first preprocessing image, and processing the second color space image through a virtual channel to obtain a second preprocessing image;
    将所述第二预处理图像汇总到所述第一预处理图像以对所述第一预处理图像进行白平衡处理得到白平衡处理图像。Summarizing the second pre-processed image to the first pre-processed image to perform white balance processing on the first pre-processed image to obtain a white balance processed image.
  21. 根据权利要求20所述的图像处理方法,其中,所述预处理包括黑电平补偿处理、镜头矫正处理和/或坏点补偿处理。The image processing method according to claim 20, wherein the preprocessing includes black level compensation processing, lens correction processing and/or dead point compensation processing.
  22. 根据权利要求18所述的图像处理方法,其中,所述图像处理方法还包括:The image processing method according to claim 18, wherein the image processing method further comprises:
    对所述白平衡处理图像进行颜色插值处理和颜色矫正处理得到输出图像。performing color interpolation processing and color correction processing on the white balance processed image to obtain an output image.
  23. 一种图像处理器,其中,所述图像处理器包括:An image processor, wherein the image processor includes:
    获取模块,所述获取模块用于获取图像传感器采集的光线信号以对所述光线信号进行处理生成第一颜色空间图像和第二颜色空间图像;An acquisition module, the acquisition module is used to acquire the light signal collected by the image sensor to process the light signal to generate a first color space image and a second color space image;
    白平衡处理模块,所述白平衡处理模块用于根据所述第一颜色空间图像和所述第二颜色空间图像对所述第一颜色空间图像进行白平衡处理得到白平衡处理图像。A white balance processing module, configured to perform white balance processing on the first color space image according to the first color space image and the second color space image to obtain a white balance processed image.
PCT/CN2022/103957 2021-08-09 2022-07-05 Image sensor, image collection apparatus, image processing method, and image processor WO2023016146A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110907046.1 2021-08-09
CN202110907046.1A CN113676629B (en) 2021-08-09 2021-08-09 Image sensor, image acquisition device, image processing method and image processor

Publications (1)

Publication Number Publication Date
WO2023016146A1 true WO2023016146A1 (en) 2023-02-16

Family

ID=78541801

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103957 WO2023016146A1 (en) 2021-08-09 2022-07-05 Image sensor, image collection apparatus, image processing method, and image processor

Country Status (2)

Country Link
CN (1) CN113676629B (en)
WO (1) WO2023016146A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230127881A1 (en) * 2020-02-26 2023-04-27 Sony Semiconductor Solutions Corporation Solid-state imaging device and electronic equipment

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676629B (en) * 2021-08-09 2024-01-09 Oppo广东移动通信有限公司 Image sensor, image acquisition device, image processing method and image processor
CN114268716A (en) * 2021-11-30 2022-04-01 维沃移动通信有限公司 Image sensor, camera module and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5917556A (en) * 1997-03-19 1999-06-29 Eastman Kodak Company Split white balance processing of a color image
JP2000315784A (en) * 1999-04-30 2000-11-14 Olympus Optical Co Ltd Color image pickup element and image pickup device
US20090115874A1 (en) * 2007-11-05 2009-05-07 Samsung Electronics Co., Ltd. Image sensors, color filter arrays included in the image sensors, and image pickup apparatuses including the image sensors
US20200374493A1 (en) * 2017-11-06 2020-11-26 Samsung Electronics Co., Ltd. Camera module comprising complementary color filter array and electronic device comprising same
CN112995632A (en) * 2021-04-21 2021-06-18 贝壳找房(北京)科技有限公司 Image white balance processing method and device, electronic equipment and storage medium
CN113676629A (en) * 2021-08-09 2021-11-19 Oppo广东移动通信有限公司 Image sensor, image acquisition device, image processing method and image processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7259788B1 (en) * 2002-01-28 2007-08-21 Pixim, Inc. Image sensor and method for implementing optical summing using selectively transmissive filters
SE0402576D0 (en) * 2004-10-25 2004-10-25 Forskarpatent I Uppsala Ab Multispectral and hyperspectral imaging
CN113395497A (en) * 2019-10-18 2021-09-14 华为技术有限公司 Image processing method, image processing apparatus, and imaging apparatus
CN111818314A (en) * 2020-06-23 2020-10-23 北京迈格威科技有限公司 Filter array and image sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5917556A (en) * 1997-03-19 1999-06-29 Eastman Kodak Company Split white balance processing of a color image
JP2000315784A (en) * 1999-04-30 2000-11-14 Olympus Optical Co Ltd Color image pickup element and image pickup device
US20090115874A1 (en) * 2007-11-05 2009-05-07 Samsung Electronics Co., Ltd. Image sensors, color filter arrays included in the image sensors, and image pickup apparatuses including the image sensors
US20200374493A1 (en) * 2017-11-06 2020-11-26 Samsung Electronics Co., Ltd. Camera module comprising complementary color filter array and electronic device comprising same
CN112995632A (en) * 2021-04-21 2021-06-18 贝壳找房(北京)科技有限公司 Image white balance processing method and device, electronic equipment and storage medium
CN113676629A (en) * 2021-08-09 2021-11-19 Oppo广东移动通信有限公司 Image sensor, image acquisition device, image processing method and image processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230127881A1 (en) * 2020-02-26 2023-04-27 Sony Semiconductor Solutions Corporation Solid-state imaging device and electronic equipment
US11889206B2 (en) * 2020-02-26 2024-01-30 Sony Semiconductor Solutions Corporation Solid-state imaging device and electronic equipment

Also Published As

Publication number Publication date
CN113676629A (en) 2021-11-19
CN113676629B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
WO2023016146A1 (en) Image sensor, image collection apparatus, image processing method, and image processor
US10645268B2 (en) Image processing method and apparatus of terminal, and terminal
JP7182907B2 (en) Camera image data processing method and camera
JP4054184B2 (en) Defective pixel correction device
US20070159542A1 (en) Color filter array with neutral elements and color image formation
EP2227898B1 (en) Image sensor apparatus and method for scene illuminant estimation
EP1594321A2 (en) Extended dynamic range in color imagers
US20120287286A1 (en) Image processing device, image processing method, and program
US10521891B2 (en) Image processing apparatus, system, image processing method, and non-transitory recording medium
TW200530949A (en) Image data processing in color spaces
CN111510691B (en) Color interpolation method and device, equipment and storage medium
US8717460B2 (en) Methods and systems for automatic white balance
WO2008067472A2 (en) A new spatio-spectral sampling paradigm for imaging and a novel color filter array design
CN113676628A (en) Multispectral sensor, imaging device and image processing method
JP2006203841A (en) Device for processing image, camera, device for outputting image, method for processing image, color-correction processing program and readable recording medium
CN108122201A (en) A kind of Bayer interpolation slide fastener effect minimizing technology
WO2007082289A2 (en) Color filter array with neutral elements and color image formation
WO2012159586A1 (en) Color distortion correction method and device for imaging systems and image output systems
US20020063899A1 (en) Imaging device connected to processor-based system using high-bandwidth bus
Chung et al. New joint demosaicing and zooming algorithm for color filter array
JP6696596B2 (en) Image processing system, imaging device, image processing method and program
CN113936017A (en) Image processing method and device
Gong et al. Optimal noise-aware imaging with switchable prefilters
CN110324541A (en) The filtration combined denoising interpolation method of one kind and device
WO2022160995A1 (en) Image sensor, camera, electronic device, and control method

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22855130

Country of ref document: EP

Kind code of ref document: A1