Multispectral filter arrays, multispectral imaging components, cameras and electronic devices
By designing a multispectral filter array in electronic equipment and combining single-band and spectrum-sensing filter subunits, the problem of electronic equipment needing to be equipped with both single-band and multi-spectral imaging structural components is solved, achieving lower power consumption and cost imaging capabilities.
Patent Information
- Application Number
- CN202310289731.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-03-16
AI Technical Summary
Existing electronic equipment requires single-band imaging structural components and multi-spectral imaging structural components, resulting in high power consumption and configuration costs.
Design a multispectral filter array, including three primary colors (red, green, blue) single-band filter sub-unit and spectrum-sensing filter sub-unit, which can simultaneously collect single-band and multiple-band spectra to achieve single-band Imaging and multispectral imaging capabilities.
The power consumption and configuration cost of electronic equipment are reduced, and the functions of both single-band imaging and multi-spectral imaging are realized through a multi-spectral filter array, which reduces the power consumption and cost requirements of the equipment.
Smart Images

Figure CN117130082B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a multispectral filter array, a multispectral imaging component, a camera and an electronic device. Background Art
[0002] Color is determined by the wavelength of the light signal. Light signals with different wavelengths cause different color perceptions in the human eye. Specifically, the human eye is sensitive to wavelengths between 400 and 700 nanometers (Nanometer, nm), which is called the visible spectrum. Within this visible spectrum, the human eye can perceive a variety of colors from purple to red. Outside this visible spectrum, the wavelength of light can be shorter (ultraviolet) or longer (infrared) than the human eye can see.
[0003] Multiband, or multispectral, is the spectrum of multiple bands obtained by electronic devices from the light signals reflected by an object in multiple bands (more than three bands). For example, Figure 1 A schematic diagram of a spectrum is shown. Figure 1 As shown in (a) in the figure, taking visible light as an example, from the perspective of a single-band spectrum, the traditional three-primary-color (Red, Green, Blue, RGB) imaging component can detect information in the three optical spectrum bands of red (1), green (2) and blue (3). Figure 1 As shown in (b), taking visible light as an example, from a multi-spectral perspective, a multi-spectral imaging structure can detect spectra of multiple bands (e.g., 1 to 6) corresponding to multiple colors. Spectra of multiple bands can reflect more color characteristics of an object. With the continuous development of imaging technology, the demand for multi-spectral environmental perception is becoming more and more vigorous in imaging applications in the fields of personal mobile terminals, virtual reality (VR) glasses, sweeping robots, industrial, agricultural and medical testing, and security.
[0004] At present, single-band imaging structural components are used to collect the spectrum of a single band corresponding to the three primary colors in the light signal, and multi-spectral imaging structural components are used to collect the spectrum of multiple bands of the light signal. Imaging based on the spectrum of multiple bands is superior to imaging based only on the spectrum of a single band corresponding to the three primary colors in terms of clarity, contrast and other imaging effects. In order to obtain better imaging effects based on the spectrum of multiple bands, both single-band imaging structural components and multi-spectral imaging structural components need to be configured in the electronic device. This will increase the power consumption of the electronic device and the configuration cost of the electronic device. Summary of the invention
[0005] The embodiments of the present application provide a multispectral filter array, a multispectral imaging component, a camera and an electronic device, which are used to solve the problems of high power consumption of electronic devices and high configuration costs of electronic devices caused by the need to configure both single-band imaging structural components and multi-spectral imaging structural components in electronic devices in the prior art.
[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0007] In a first aspect, a multi-spectral filter array is provided, comprising: a plurality of filter sub-arrays, the plurality of filter sub-arrays are arranged in a matrix in the form of rows and columns; each filter sub-array comprises a plurality of first pixel units and a plurality of second pixel units, the plurality of first pixel units and the plurality of second pixel units are arranged in a matrix in the form of rows and columns; each first pixel unit comprises at least one single-band red filter sub-unit, at least one single-band green filter sub-unit and at least one single-band blue filter sub-unit; at least one single-band red filter sub-unit, at least one single-band green filter sub-unit and at least one single-band blue filter sub-unit are arranged in a matrix in the form of rows and columns; each second pixel unit comprises at least one single-band red filter sub-unit, at least one single-band green filter sub-unit, at least one single-band blue filter sub-unit and at least one spectral perception filter sub-unit; at least one single-band red filter sub-unit, at least one single-band green filter sub-unit, at least one single-band blue filter sub-unit and at least one spectral perception filter sub-unit are arranged in a matrix in the form of rows and columns;
[0008] Among them, each filter sub-array includes multiple groups of spectral sensing filter sub-units, each group of spectral sensing filter sub-units includes at least one spectral sensing filter sub-unit, and the multiple groups of spectral sensing filter sub-units are used to collect spectra of multiple bands of light signals, and each group of spectral sensing filter sub-units corresponds one-to-one to each band.
[0009] The multi-spectral filter array provided in the embodiment of the present application includes both single-band filter sub-units corresponding to the three primary colors (red, green and blue) and spectral perception filter sub-units. In this way, the single-band filter sub-units corresponding to the three primary colors (red, green and blue) can be used to collect the spectrum of the single band corresponding to the three primary colors in the light signal, and multiple groups of spectral perception filter sub-units can be used to collect the spectrum of multiple bands of the light signal. In this way, a multi-spectral filter array provided in the embodiment of the present application can simultaneously realize the function of collecting the spectrum of the single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral filter array provided in the embodiment of the present application can simultaneously realize the functions of the single-band imaging structure and the multi-spectral imaging structure. Compared with the electronic device in the prior art that needs to be configured with both the single-band imaging structure and the multi-spectral imaging structure, the embodiment of the present application only needs to configure a multi-spectral filter array to realize the functions of the above two structures, thus reducing the configuration cost of the electronic device. Furthermore, compared with the need for an electronic device to drive both a single-band imaging structure and a multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in the embodiment of the present application, the electronic device can realize the functions of the aforementioned two structures by driving only one multi-spectral filter array, thereby reducing the power consumption of the electronic device.
[0010] In a possible implementation of the first aspect, at least one single-band red filter subunit, at least one single-band green filter subunit and at least one single-band blue filter subunit are arranged in a matrix in the form of rows and columns, including: each first pixel unit includes a single-band red filter subunit, two single-band green filter subunits and one single-band blue filter subunit, the two single-band green filter subunits are arranged in the form of rows and columns on a diagonal line of the matrix, and a single-band red filter subunit and a single-band blue filter subunit are arranged in the form of rows and columns on another diagonal line of the matrix.
[0011] In a possible implementation of the first aspect, at least one single-band red filter subunit, at least one single-band green filter subunit, at least one single-band blue filter subunit, and at least one spectral perception filter subunit are arranged in a matrix in the form of rows and columns, including: each second pixel unit includes a single-band red filter subunit, a single-band green filter subunit, a single-band blue filter subunit, and a spectral perception filter subunit; a single-band green filter subunit and a spectral perception filter subunit are arranged in a row-column form on a diagonal line of the matrix, and a single-band red filter subunit and a single-band blue filter subunit are arranged in a row-column form on another diagonal line of the matrix. This is equivalent to the spectral perception filter replacing any one of the two single-band green filters.
[0012] The number of green filters is larger, twice the number of red filters, and twice the number of blue filters. Sacrificing the green filter will not have a significant impact on the captured color image. Therefore, the spectral sensing filter subunit can replace any of the two single-band green filter subunits. In this way, the same multispectral filter array has both color imaging capabilities and multi-spectral acquisition.
[0013] In a possible implementation of the first aspect, at least one single-band red filter subunit, at least one single-band green filter subunit and at least one single-band blue filter subunit are arranged in a matrix in the form of rows and columns, including: each first pixel unit includes four single-band red filter subunits, eight single-band green filter subunits and four single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns.
[0014] In a possible implementation of the first aspect, at least one single-band red filter subunit, at least one single-band green filter subunit, at least one single-band blue filter subunit, and at least one spectral perception filter subunit are arranged in a matrix in the form of rows and columns, including: each second pixel unit includes four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits, and g spectral perception filter subunits, wherein e is an integer greater than or equal to 1 and less than or equal to 8, f and g are integers greater than or equal to 1 and less than or equal to 4, and the sum of e, f and g is equal to 12; four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits, and g spectral perception filter subunits are arranged in a matrix in the form of rows and columns. This is equivalent to the spectral perception filter replacing any one or both of the single-band green filter and the single-band blue filter.
[0015] The number of green filters is larger, twice the number of red filters, and twice the number of blue filters. Sacrificing the green filter will not have a significant impact on the captured color image. Therefore, the spectral sensing filter subunit can replace any of the four single-band green filter subunits. In this way, the same multispectral filter array has both color imaging capabilities and multi-spectral acquisition.
[0016] In a possible implementation manner of the first aspect, f is 4, which is equivalent to replacing any one or more of the eight single-band green filters with the spectral perception filter.
[0017] The contribution of the blue filter to the color image is relatively low, and sacrificing the blue filter will not have a significant impact on the captured color image. Therefore, the spectral sensing filter subunit replaces any one or more of the four single-band blue filter subunits. In this way, the same multispectral filter array has both color imaging capabilities and multi-spectral acquisition.
[0018] In a possible implementation manner of the first aspect, e is less than 8, and f is less than 4. This is equivalent to the spectral perception filter subunit being able to replace any one or more of the eight single-band green filter subunits, and the spectral perception filter subunit being able to replace any one or more of the four single-band blue filter subunits.
[0019] There are more green filters, which are twice the number of red filters and twice the number of blue filters. Sacrificing green filters will not have a significant impact on the captured color image. And the contribution of blue filters to color images is low, so sacrificing blue filters will not have a significant impact on the captured color image. Therefore, the spectral sensing filter subunit replaces any one or more of the eight single-band green filter subunits, and the spectral sensing filter subunit replaces any one or more of the four single-band blue filter subunits. In this way, the same multi-spectral filter array has both good color imaging capabilities and can obtain multi-spectrum.
[0020] In a possible implementation manner of the first aspect, a ratio of the number of all spectral perception filter sub-units in the filter sub-array to the number of all filters in the filter sub-array is within a preset ratio range, for example, the preset ratio range may be 3%-6%.
[0021] The number of spectral perception filter sub-units in the multi-spectral filter array should not be set too much. In this way, it can be avoided to a certain extent that the number of spectral perception filter sub-units in the multi-spectral filter array is set too much. In the process of shooting color images, the electronic device may be unable to shoot a good quality color image due to the lack of complete color information of more pixels (single-band spectra corresponding to the three primary colors of R, G, and B). In order to solve this problem, the ratio of the number of all spectral perception filter sub-units in the filter sub-array provided in the embodiment of the present application to the number of all filters in the filter sub-array is within a preset ratio range. In this way, the multi-spectral filter array provided in the embodiment of the present application can achieve the purpose of further improving color imaging by reducing the number of missing complete color information of pixels.
[0022] In a second aspect, a multispectral imaging component is provided, which includes: a photosensitive element array; the photosensitive element array is used to collect light and convert the light signal into an electrical signal for representing the intensity of the light signal; and a multispectral filter array in any possible implementation of the first aspect; the multispectral filter array is arranged on the photosensitive element array.
[0023] The multi-spectral imaging component provided in the embodiment of the present application includes both single-band filter subunits corresponding to the three primary colors (red, green and blue) and spectral perception filter subunits. In this way, the single-band filter subunits corresponding to the three primary colors (red, green and blue) can be used to collect the spectrum of the single band corresponding to the three primary colors in the light signal, and multiple groups of spectral perception filter subunits can be used to collect the spectrum of multiple bands of the light signal. In this way, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the function of collecting the spectrum of the single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the functions of the single-band imaging structural component and the multi-spectral imaging structural component. Compared with the electronic device in the prior art that needs to configure both the single-band imaging structural component and the multi-spectral imaging structural component, the embodiment of the present application only needs to configure a multi-spectral imaging component to realize the functions of the above two structural components, thus reducing the configuration cost of the electronic device. Furthermore, compared with the need for an electronic device to drive both a single-band imaging structure and a multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in the embodiment of the present application, the electronic device can drive only one multi-spectral imaging component to realize the functions of the aforementioned two structures, thereby reducing the power consumption of the electronic device.
[0024] In a third aspect, a camera is provided, the camera including any possible implementation method as in the first aspect, or any possible implementation method as in the second aspect.
[0025] In a fourth aspect, an electronic device is provided, including a camera, wherein the camera includes any possible implementation method as in the first aspect, or any possible implementation method as in the second aspect.
[0026] Among them, the technical effects brought about by any design method in the third aspect and the fourth aspect can refer to the technical effects brought about by different design methods in the first aspect and the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of a spectrum is shown;
[0028] Figure 2 A schematic diagram of metamerism is shown;
[0029] Figure 3 A schematic diagram of a mobile phone is shown;
[0030] Figure 4 A schematic diagram of a mobile phone is shown;
[0031] Figure 5a A schematic structural diagram of a mobile phone is shown;
[0032] Figure 5b A schematic cross-sectional view of a camera is shown;
[0033] Figure 6 According to some embodiments of the present application, a schematic diagram of the aforementioned multispectral filter array and photosensitive element array combination structure (multispectral imaging component) provided in a mobile phone is shown;
[0034] Figure 7 A schematic structural diagram of a multi-spectral filter array is shown;
[0035] Figure 8 A schematic structural diagram of a filter sub-array is shown;
[0036] Fig. 9 A schematic diagram of the structure of a filter sub-array provided in an embodiment of the present application is shown;
[0037] Fig.10 A transmission spectrum diagram of a spectral perception filter subunit provided by an embodiment of the present application is shown;
[0038] Fig.11 A transmission spectrum diagram of a spectral perception filter subunit provided by an embodiment of the present application is shown;
[0039] Fig.12 A schematic diagram of the structure of a multi-spectral filter array in the prior art is shown;
[0040] Fig.13 A schematic diagram of the structure of a filter sub-array provided in an embodiment of the present application is shown;
[0041] Fig.14 A transmission spectrum diagram of a spectral perception filter subunit provided by an embodiment of the present application is shown;
[0042] Fig.15 A schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application is shown;
[0043] Fig.16 A schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application is shown;
[0044] Fig.17 A schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application is shown;
[0045] Fig.18 A schematic diagram of a process for adjusting the color temperature of a display screen to match the ambient light according to the multi-spectrum of the ambient light is shown;
[0046] Fig.19 A schematic diagram of a process for optimizing a display screen is shown;
[0047] Fig. 20 A schematic diagram of a UI interface of a camera application displayed on a mobile phone is shown;
[0048] Fig.21 A schematic diagram of the workflow of a multispectral imaging component capable of collecting multiple spectra is shown. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The following terms "first", "second", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features.
[0050] In the embodiments of the present application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0051] In the embodiments of the present application, "and / or" is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0052] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "set", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0053] In order to better illustrate the technical solution of the present application, the following is a brief overview of the terms involved in the present application.
[0054] (1) Spectrum: After the complex light is split by a dispersion system (such as a prism or grating), it is dispersed and separated into monochromatic light. It is projected onto a detector through an imaging system and becomes a pattern arranged in sequence according to wavelength (or frequency), which is called an optical spectrum.
[0055] (2) Multispectral technology: refers to the spectrum detection technology that can simultaneously obtain multiple optical spectrum bands (usually greater than or equal to 3) and can expand to infrared and ultraviolet light based on visible light. Multispectral can reflect richer color detail information. For example, Figure 2 A schematic diagram of metamerism is shown.
[0056] (3) Metamerism: Metamerism refers to the same color but different spectral composition, for example, Figure 2 A schematic diagram of metamerism is shown. Figure 2 As shown in (a) in FIG. 1 , the yellow color is the color of the spectrum response of the yellow band. Figure 2 As shown in (b), the yellow is a mixture of the red and green bands of the spectrum; or metamerism means that different stimuli on the spectrum can produce the same visual response. Specifically, two substances appear the same color under one light source, but different colors under another light source.
[0057] Visually, the human eye cannot see the different spectra of the same color. The electronic device can use the multi-spectral technology introduced above to detect the different spectra of the same color. Moreover, in the embodiment of the present application, the electronic device can use the multi-spectral technology to detect the spectrum of the light signal, use the color image captured by the multi-spectral auxiliary camera to complete the white balance correction function, remove the color cast caused by the ambient color temperature, etc., and restore the original color of the captured object for display, thereby improving the imaging effect of the electronic device. It is understandable that the photosensitive element array can sense the light intensity, but cannot sense the color of the frequency or band response, and can only take black and white photos, that is, grayscale images. If a color image needs to be taken, a filter array capable of sensing color needs to be set on the photosensitive element array. Therefore, in an electronic device capable of taking color images, a filter array is generally set on the photosensitive element array. In general, only a single-band filter subunit is set in the filter array, and each single-band filter subunit includes a filter subunit corresponding to the three primary colors: a single-band red filter subunit, a single-band red filter subunit, and a single-band red filter subunit. These three filter sub-units are filters used to collect spectra of single bands corresponding to the three primary colors in the light signal.
[0058] In order to solve the problem of high power consumption of electronic equipment and high configuration cost of electronic equipment caused by the need to configure both single-band imaging structural parts and multi-spectral imaging structural parts in electronic equipment in the prior art, the multi-spectral filter array provided by the present application is provided with multiple spectral perception filter sub-units in addition to the single-band filter sub-units. The multiple spectral perception filter sub-units can be divided into multiple groups of spectral perception filter sub-units, and the multiple groups of spectral perception filter sub-units are configured to collect the spectra of multiple bands of light signals. This is because the multi-spectral filter array provided by the embodiment of the present application includes both single-band filter sub-units corresponding to the three primary colors (red, green and blue) and spectral perception filter sub-units. In this way, the single-band filter sub-units corresponding to the three primary colors (red, green and blue) can be used to collect the spectra of the single bands corresponding to the three primary colors in the light signal, and the multiple groups of spectral perception filter sub-units can be used to collect the spectra of multiple bands of the light signal. In this way, a multi-spectral filter array provided in an embodiment of the present application can simultaneously realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral filter array provided in an embodiment of the present application can simultaneously realize the functions of a single-band imaging structure and a multi-spectral imaging structure. Compared with the prior art in which both a single-band imaging structure and a multi-spectral imaging structure are required to be configured in an electronic device, the embodiment of the present application only needs to configure a multi-spectral filter array to realize the functions of the aforementioned two structures, thus reducing the configuration cost of the electronic device. Furthermore, compared with the electronic device needing to drive the two structures of the single-band imaging structure and the multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in an embodiment of the present application, the electronic device can only drive a multi-spectral filter array to realize the functions of the aforementioned two structures, thus reducing the power consumption of the electronic device. The multi-spectral filter array provided in an embodiment of the present application can be applied to various electronic devices that can be imaged. Multispectral filter arrays can be used in cameras in electronic devices to convert external light signals into electronic signals that can be recognized by electronic devices, and are used to realize functions such as snapshot photography and video recording.
[0059] Exemplarily, the electronic device in the embodiments of the present application may be a mobile phone, a drone, a car, a wearable device (such as a smart watch, a smart bracelet, smart glasses, a smart helmet, etc.), a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), an augmented reality (AR), a virtual reality (VR), a mixed reality (MR) device, and the like having the above functions. The embodiments of the present application do not impose any special restrictions on the specific form of the electronic device.
[0060] The multi-spectral filter array provided in the embodiment of the present application can be set in the camera of the electronic device. The camera can be the front camera and / or the rear camera in the electronic device. For example, Figure 3 A schematic diagram of a mobile phone is shown. Figure 3 As shown, the mobile phone 100 may include a front camera 1931, and the multi-spectral filter array provided in the embodiment of the present application may be disposed in the front camera 1931 of the mobile phone 100. For another example, Figure 4 A schematic diagram of a mobile phone is shown. Figure 4 As shown, the mobile phone 100 may further include a rear camera 1932 , and the multi-spectral filter array provided in the embodiment of the present application may be disposed in the rear camera 1932 of the mobile phone 100 .
[0061] Please continue reading Figure 4 In order to facilitate the description of the embodiments below, an XYZ coordinate system is established for the mobile phone 100 described in this embodiment and the embodiments below. Specifically, the thickness direction of the mobile phone 100 is defined as the Z-axis direction, and the plane perpendicular to the Z-axis direction is defined as the XY plane; in the XY plane, the width direction of the mobile phone 100 is the X-axis direction, and the length direction of the mobile phone 100 is the Y-axis direction, and the X-axis direction is perpendicular to the Y-axis direction. It can be understood that the coordinate system setting of the mobile phone 100 can be flexibly set according to actual needs, and no specific limitation is made here.
[0062] The embodiment of the present application is described by taking a mobile phone as an example of the electronic device. Figure 5a FIG. 1 shows a schematic diagram of the structure of a mobile phone. Figure 5aAs shown, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen (touch screen) 194, and a subscriber identification module (SIM) card interface 195, etc.
[0063] It is to be understood that the structure shown in this embodiment does not constitute a specific limitation on the mobile phone 100. In other embodiments, the mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0064] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0065] The controller may be the nerve center and command center of the mobile phone 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0066] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0067] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0068] It is understandable that the interface connection relationship between the modules shown in this embodiment is only a schematic illustration and does not constitute a structural limitation on the mobile phone 100. In other embodiments, the mobile phone 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0069] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the mobile phone 100 through the power management module 141.
[0070] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. In some embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0071] The wireless communication function of the mobile phone 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor. In some embodiments, the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
[0072] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0073] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the mobile phone 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
[0074] The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 can be set in the same device as at least some modules of the processor 110.
[0075] The wireless communication module 160 can provide wireless communication solutions for application on the mobile phone 100, including WLAN (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), nearfield communication technology (NFC), infrared technology (IR), etc.
[0076] The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, modulate the signal, amplify the signal, and convert it into an electromagnetic wave for radiation via the antenna 2.
[0077] The mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture a static image or a video. In some embodiments, the mobile phone 100 may include 1 or N cameras 193, where N is a positive integer greater than or equal to 1. Figure 5b A cross-sectional schematic diagram of a camera is shown. Figure 5b As shown, the camera 193 may include a lens 193-1, a holder 193-2, a multi-spectral filter array 193-3, a photosensitive element array 193-4, a printed circuit board (PCB) 193-5, a digital signal processor (DSP) (not shown in the figure), and other components.
[0078] The working principle of the camera 193 is as follows: the scene is photographed through the lens 193-1, and the generated optical image is projected onto the sensor (photosensitive element array 193-4), and then the optical image is converted into an electrical signal, and the electrical signal is converted into a digital signal through analog-to-digital conversion, the digital signal is processed by DSP, and then sent to the processor 110 for processing, and finally converted into an image that can be seen on the display screen 194.
[0079] The functions of the lens 193-1, the holder 193-2, the multi-spectral filter array 193-3, the photosensitive element array 193-4, and the PCB board 193-5 are introduced below.
[0080] Lens 193-1 is a device that images the scene on the sensor, and it is usually composed of several lenses. In terms of material, lens 193-1 of camera 193 can be divided into plastic lens and glass lens. Lens 193-1 has two more important parameters: aperture and focal length. Among them, the aperture is a device installed on lens 193-1 to control the amount of light that reaches the sensor through lens 193-1. In addition to controlling the amount of light passing, the aperture also has the function of controlling the depth of field. The larger the aperture, the smaller the depth of field. The hazy background effect when taking portraits is a manifestation of a small depth of field. The larger the aperture, the smaller the depth of field, and the more blurred the background of the subject; the smaller the aperture, the larger the depth of field, and the clearer the front and back of the subject. The focal length is the distance from the center point of lens 193-1 to the clear image formed on the sensor plane.
[0081] The holder 193-2 is used to fix the lens 193-1.
[0082] The function of the multi-spectral filter array 193-3 is to filter out the color and ensure that the light collected by each photosensitive element (diode) is monochromatic. The reason for filtering into monochromatic light is that the photosensitive diode can only output different levels, that is, it can only represent the intensity of light, but cannot represent color information. For example, yellow light and red light, as long as the corresponding brightness is the same, the diode will output the same level information.
[0083] The photosensitive element array 193-4 is the core of the camera 193. It is a device for receiving light passing through the lens 193-1 and converting these light signals into electrical signals. The type of photosensitive element can be various photodiodes, for example, Charge-coupled Device (CCD) type, Complementary Metal Oxide Semiconductor (CMOS) type.
[0084] The PCB board 193-5 is used to connect the photosensitive element array 193-4 and the DSP.
[0085] The multi-spectral filter array and the photosensitive element array are stacked. For example, Figure 6 According to some embodiments of the present application, a schematic diagram of the aforementioned multi-spectral filter array and photosensitive element array combination structure (multi-spectral imaging component) set in a mobile phone is shown. Figure 6 As shown in the figure, the multispectral imaging component a1 includes a multispectral filter array a11 and a photosensitive element array a12. It can be understood that due to the limitations of the page and drawing, Figure 6 The multi-spectral filter array a11 of 8*8 size is only shown as an example. It should be noted that in actual products, the multi-spectral filter array a11 is generally larger than Figure 6 Medium size and larger structure.
[0086] The photosensitive element array a12 includes a plurality of columns of photosensitive elements arranged in sequence in the X-axis direction, and a plurality of rows of photosensitive elements arranged in sequence in the Y-axis direction, and the photosensitive elements are used to collect light and convert light signals into electrical signals for indicating the intensity of the light signals. That is, the photosensitive element array a12 includes a plurality of photosensitive elements, and the plurality of photosensitive elements are arranged in a matrix in the form of rows and columns.
[0087] The multi-spectral filter array a11 is arranged on the photosensitive element array a12. The multi-spectral filter array a11 includes a plurality of filter sub-units arranged corresponding to each photosensitive element. The multi-spectral filter array a11 includes a plurality of filter sub-arrays a111, and the plurality of filter sub-arrays a111 are arranged in a row and column array. For example, based on Figure 6 The structure, Figure 7FIG. 1 shows a schematic diagram of the structure of a multi-spectral filter array. Figure 7 As shown, the multi-spectral filter array a11 includes a plurality of filter sub-arrays a111 , and the plurality of filter sub-arrays a111 are arranged in a row and column array.
[0088] Each filter sub-array a111 includes a plurality of pixel units a1111, and the plurality of pixel units a1111 are arranged in a row and column array. In order to solve the technical problems in the aforementioned background technology, in addition to setting filter sub-units corresponding to the three primary colors (single-band red filter sub-unit, single-band red filter sub-unit, single-band red filter sub-unit), some pixel units a1111 in the multi-spectral filter array provided by the present application also set a plurality of spectral perception filter sub-units, and the plurality of spectral perception filter sub-units can be divided into a plurality of groups of spectral perception filter sub-units, and the plurality of groups of spectral perception filter sub-units are set to collect spectra of a plurality of bands of light signals.
[0089] The multi-spectral imaging component provided in the embodiment of the present application includes both single-band filter subunits corresponding to the three primary colors (red, green and blue) and spectral perception filter subunits. In this way, the single-band filter subunits corresponding to the three primary colors (red, green and blue) can be used to collect the spectrum of the single band corresponding to the three primary colors in the light signal, and multiple groups of spectral perception filter subunits can be used to collect the spectrum of multiple bands of the light signal. In this way, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the function of collecting the spectrum of the single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the functions of the single-band imaging structural component and the multi-spectral imaging structural component. Compared with the electronic device in the prior art that needs to configure both the single-band imaging structural component and the multi-spectral imaging structural component, the embodiment of the present application only needs to configure a multi-spectral imaging component to realize the functions of the above two structural components, thus reducing the configuration cost of the electronic device. Furthermore, compared with the need for an electronic device to drive both a single-band imaging structure and a multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in the embodiment of the present application, the electronic device can drive only one multi-spectral imaging component to realize the functions of the aforementioned two structures, thereby reducing the power consumption of the electronic device.
[0090] DSP chip is also called digital signal processing chip: its function is to optimize the digital image signal through a series of complex mathematical algorithm operations, and finally transmit the processed signal to the display.
[0091] The DSP chip includes an image signal processing ISP (Image Signal Processing) chip. The function of the ISP chip is to perform calculations on the signals obtained from the multi-spectral imaging component, and finally obtain the results after linear correction, noise removal, bad pixel repair, color interpolation, white balance correction, exposure correction, etc., and present an image with optimized color, tone, contrast, and noise removal on the display screen 194.
[0092] The mobile phone 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0093] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel.
[0094] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0095] The internal memory 121 may be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121 .
[0096] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, a service preemption function, etc.), etc. The data storage area may store data created during the use of the mobile phone 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0097] The mobile phone 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.
[0098] The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be connected to and separated from the mobile phone 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The mobile phone 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than or equal to 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
[0099] The multi-spectral filter array provided in the embodiment of the present application includes both single-band filter sub-units corresponding to the three primary colors (red, green and blue) and spectral perception filter sub-units. In this way, the single-band filter sub-units corresponding to the three primary colors (red, green and blue) can be used to collect the spectrum of the single band corresponding to the three primary colors in the light signal, and multiple groups of spectral perception filter sub-units can be used to collect the spectrum of multiple bands of the light signal. In this way, a multi-spectral filter array provided in the embodiment of the present application can simultaneously realize the function of collecting the spectrum of the single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral filter array provided in the embodiment of the present application can simultaneously realize the functions of the single-band imaging structure and the multi-spectral imaging structure. Compared with the electronic device in the prior art that needs to be configured with both the single-band imaging structure and the multi-spectral imaging structure, the embodiment of the present application only needs to configure a multi-spectral filter array to realize the functions of the above two structures, thus reducing the configuration cost of the electronic device. Furthermore, compared with the electronic device that needs to drive both a single-band imaging structure and a multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in the embodiment of the present application, the electronic device can only drive a multi-spectral filter array to realize the functions of the aforementioned two structures, thus reducing the power consumption of the electronic device. The following specifically introduces the structures of the multi-spectral filter array provided in several embodiments of the present application.
[0100] First, a filter array in which a minimum unit (pixel) has a single-band red filter sub-unit, two single-band green filter sub-units and a single-band blue filter sub-unit is introduced, and based on this structure, the structure of the multi-spectral filter array provided in an embodiment of the present application is introduced.
[0101] Figure 8A schematic diagram of the structure of a filter subarray in the prior art is shown. The filter subarray a111 is a Bayer array. In general, the Bayer array is a structure used when a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) device is used as a light sensor to collect digital images.
[0102] like Figure 8 As shown, the filter subarray a111 is a pixel block structure of 16*32 size. It should be noted that 16*32 is only for illustrating the exemplary size of the filter subarray a111 structure. In other embodiments, the filter subarray a111 can also be a pixel block structure of other sizes, which is not limited here.
[0103] The filter subarray a111 includes a plurality of pixel units a1111, and the plurality of pixel units a1111 are arranged in a row and column array. Each pixel unit a1111 includes a single-band red filter subunit, two single-band green filter subunits and a single-band blue filter subunit, that is, a single-band red filter subunit, two single-band green filter subunits and a single-band blue filter subunit form a group. A single-band red filter subunit is adjacent to a single-band green filter subunit in the X-axis direction, the aforementioned single-band red filter subunit is adjacent to another single-band green filter subunit in the Y-axis direction, the aforementioned single-band green filter subunit is adjacent to a single-band blue filter subunit in the X-axis direction, and the aforementioned another single-band green filter subunit is adjacent to the aforementioned single-band blue filter subunit in the Y-axis direction. A plurality of pixel units a1111 are arranged in an array along rows in the X-axis direction and columns in the Y-axis direction. Adjacent means that the spacing between two filters or two pixel units a1111 is less than a preset value, greater than or equal to 0.
[0104] It should be noted that, in order to facilitate the description of the structure of the filter sub-array a111, the present application defines a spectral sensing channel as long as there is a spectral sensing filter sub-unit in the Y-axis direction, and the spectral sensing filter sub-unit in the Y-axis direction is used to collect the spectrum of the same band of the light signal, then the column can be called a spectral sensing channel. Figure 8 The structure, Fig. 9 FIG. 2 shows a schematic diagram of the structure of a filter subarray provided in an embodiment of the present application. Fig. 9 As shown, the filter sub-array a111 includes 6 spectral sensing channels, and the 6 spectral sensing channels are used to collect spectra of 6 bands (band 1 to band 6) of light signals.
[0105] The six spectral sensing channels of the filter sub-array a111 can collect spectra of six bands of light signals. Fig.10 FIG. 2 shows a transmission spectrum diagram of a spectral sensing filter subunit provided in an embodiment of the present application. Fig.10 As shown, the horizontal axis is mostly wavelength (frequency), the vertical axis is light intensity, and the 6 groups of spectral sensing filter sub-units can collect 6 bands of spectra of light signals, and each of the 6 spectral sensing channels corresponds to a band, and the 6 bands cover wavelengths from 400nm to 800nm. In some other embodiments, the 6 bands can also cover wavelengths from 420nm to 750nm, but are not limited thereto.
[0106] In the above-mentioned embodiment, the filter sub-array a111 has 6 spectral sensing channels. In some other embodiments, the filter sub-array a111 may also include other numbers of spectral sensing channels, such as 12 spectral sensing channels, which is not limited here. For example, Fig.11 FIG. 2 shows a transmission spectrum diagram of a spectral sensing filter subunit provided in an embodiment of the present application. Fig.11 As shown, the 12 spectrum sensing channels can collect the spectrum of 12 bands of the light signal, and the 12 bands cover the wavelength of 400nm to 800nm. In some other embodiments, the 12 bands can also cover the wavelength of 420nm to 750nm, but are not limited thereto.
[0107] In the above description, the spectrum perception filter sub-unit in the Y-axis direction used to collect the spectrum of the same band of the light signal is called a spectrum perception channel, and the spectrum perception filter sub-unit that can collect the spectrum of the same band of the light signal can be a group of spectrum perception filter sub-units. In other embodiments, regardless of the arrangement of the spectrum perception filter sub-units in the filter sub-array, multiple spectrum perception filter sub-units used to collect the spectrum of the same band of the light signal can be called a spectrum perception channel, or a group of spectrum perception filter sub-units. In some embodiments, in order to obtain a multi-spectrum of the light signal, the multiple spectrum perception filter sub-units in the filter sub-array can be divided into multiple groups of spectrum perception filter sub-units, and the multiple groups of spectrum perception filter sub-units are set to collect the spectrum of multiple bands of the light signal, each band covers a preset range of wavelengths, and each group of spectrum perception filter sub-units corresponds to each band one by one, which is not limited here.
[0108] It should be noted that, in general, the number of green filters is larger, twice the number of red filters, and twice the number of blue filters. Sacrificing green filters will not have a significant impact on the captured color image. Figure 8Based on this structure, the spectral sensing filter subunit can replace any one of the two single-band green filter subunits. In this way, the same multi-spectral filter array has both color imaging capabilities and multi-spectral acquisition.
[0109] For example, see Fig. 9 The filter subarray a111 includes a plurality of pixel units a1111 (first pixel units) and a plurality of pixel units A1111 (second pixel units). The plurality of pixel units a1111 and the plurality of pixel units A1111 are arranged in a matrix in the form of rows and columns, and the plurality of pixel units A1111 are arranged at intervals. Each pixel unit a1111 includes a single-band red filter sub-unit, two single-band green filter sub-units and a single-band blue filter sub-unit, the two single-band green filter sub-units are arranged in rows and columns on one diagonal of the matrix, and a single-band red filter sub-unit and a single-band blue filter sub-unit are arranged in rows and columns on another diagonal of the matrix; each pixel unit A1111 includes a single-band red filter sub-unit, a single-band green filter sub-unit, a single-band blue filter sub-unit and a spectral perception filter sub-unit; a single-band green filter sub-unit and a spectral perception filter sub-unit are arranged in rows and columns on one diagonal of the matrix, and a single-band red filter sub-unit and a single-band blue filter sub-unit are arranged in rows and columns on another diagonal of the matrix.
[0110] Specifically, the pixel coordinates corresponding to each filter sub-unit in the filter sub-array a111 can be numbered from (1, 1) to (16, 32). The coordinates of the spectral sensing filter in the filter sub-array a111 are:
[0111] The six spectral sensing filter sub-units in the fourth and eighth rows of the filter sub-array a111 are: (3,4), (7,4), (11,4), (5,8), (9,8), (13,8);
[0112] The coordinates of the six spectral sensing filter sub-units in the twelfth and sixteenth rows of the filter sub-array a111 are: (3, 12), (7, 12), (11, 12), (5, 16), (9, 16), (13, 16);
[0113] The coordinates of the six spectral sensing filter sub-units in the twentieth and twenty-fourth rows of the filter sub-array a111 are: (3, 20), (7, 20), (11, 20), (5, 24), (9, 24), (13, 24);
[0114] The coordinates of the six spectral perception filter sub-units in the twenty-eighth and thirty-second rows of the filter sub-array a111 are: (3, 28), (7, 28), (11, 28), (5, 32), (9, 32), (13, 32).
[0115] The mobile phone 100 can collect the color information of the three bands corresponding to the three channels of RGB for each pixel through the multi-spectral filter array a11, thereby forming a color image. If the number of spectral perception filter sub-units in the multi-spectral filter array a11 is set too much, the mobile phone 100 may be unable to capture a good quality color image due to the lack of complete color information of more pixels (the single-band spectra corresponding to the three primary colors of R, G, and B). Therefore, in order to solve this technical problem, the number of spectral perception filter sub-units in the multi-spectral filter array a11 provided in the embodiment of the present application should not be set too much, and needs to be set within a certain number range. Specifically, the ratio of the number of spectral perception filter sub-units in the multispectral filter array a11 (or filter sub-array a111) to the number of all filter sub-units in the multispectral filter array a11 (or filter sub-array a111) (the sum of the number of all single-band filter sub-units and the number of spectral perception filter sub-units in the multispectral filter array a11) is within a preset ratio range. For example, the preset ratio range can be 3%-6%. In this way, the multispectral filter array provided in the embodiment of the present application can achieve the purpose of further improving color imaging by reducing the number of missing complete color information of pixel points.
[0116] Next, a multispectral filter array is introduced in which four single-band red filter sub-units, eight single-band green filter sub-units and four single-band blue filter sub-units are included in a minimum unit (pixel), and the structure of the multispectral filter array provided in an embodiment of the present application is introduced based on this structure.
[0117] Fig.12 FIG. 2 shows a schematic diagram of the structure of a multi-spectral filter array in the prior art. Fig.12 As shown, the filter subarray a111 is a pixel block structure of 16*32 size. It should be noted that 16*32 is only for illustrating the exemplary size of the filter subarray a111 structure. In other embodiments, the filter subarray a111 can also be a pixel block structure of other sizes, which is not limited here.
[0118] The filter sub-array a111 includes a plurality of pixel units a1111', and the plurality of pixel units a1111' are arranged in a row and column array. The pixel unit a1111' includes four single-band red filter sub-units, eight single-band green filter sub-units, and four single-band blue filter sub-units. The eight single-band green filter sub-units are evenly divided into two groups and are respectively arranged on each sub-array diagonal line, and the four single-band red filter sub-units and the four single-band blue filter sub-units are arranged on the other diagonal line of each sub-array. That is, the four single-band red filter sub-units are arranged in a row and column array, the four single-band green filter sub-units are arranged in a row and column array, the other four single-band green filter sub-units are arranged in a row and column array, and the four single-band blue filter sub-units are arranged in a row and column array. An array of four single-band red filter sub-units, an array of four single-band green filter sub-units, an array of another four single-band green filter sub-units, and an array of four single-band blue filter sub-units are arranged in row and column arrays.
[0119] Specifically, the array composed of the aforementioned four single-band red filter sub-units is adjacent to the array composed of the aforementioned four single-band green filter sub-units in the X-axis direction, the array composed of the aforementioned four single-band red filter sub-units is adjacent to the array composed of the aforementioned four single-band green filter sub-units in the Y-axis direction, the array composed of the aforementioned four single-band green filter sub-units is adjacent to the array composed of the aforementioned four single-band blue filter sub-units in the X-axis direction, and the array composed of the aforementioned another four single-band green filter sub-units is adjacent to the array composed of the aforementioned four single-band blue filter sub-units in the Y-axis direction. Multiple pixel units a1111 are arranged in rows along the X-axis direction and columns along the Y-axis direction. Wherein, adjacent means that the spacing between two filters or two pixel units a1111 is less than a preset value, greater than or equal to 0.
[0120] based on Fig.12 The structure, Fig.13 FIG. 2 shows a schematic diagram of the structure of a filter subarray provided in an embodiment of the present application. Fig.13 As shown, the filter subarray a111 includes 10 spectral sensing channels. It should be noted that, in order to facilitate the description of the structure of the filter subarray a111, the present application defines a spectral sensing channel as long as there is a spectral sensing filter subunit in the Y-axis direction, and the spectral sensing filter subunit in the Y-axis direction is used to collect the spectrum of the same band of the light signal, then the column can be called a spectral sensing channel. If two adjacent spectral sensing channels can identify light of the same band, they are also called a group of spectral sensing channels. Fig.13The spectral bands of the light signals collected by the spectral sensing filter sub-units in every two spectral sensing channels of the 10 spectral sensing channels shown are the same, and the filter sub-array a111 includes 5 groups of spectral sensing channels.
[0121] The five groups of spectral sensing channels of the filter sub-array a111 can collect spectra of five bands of light signals. Fig.14 FIG. 2 shows a transmission spectrum diagram of a spectral sensing filter subunit provided in an embodiment of the present application. Fig.14 As shown, the horizontal axis is mostly wavelength (frequency), and the vertical axis is light intensity. Each of the aforementioned spectral sensing filter subunits includes 5 groups of spectral sensing channels, and the 5 spectral sensing channels can collect spectra of 5 bands of light signals. Each of the 5 spectral sensing channels corresponds to a band, and the 5 bands cover wavelengths from 400nm to 800nm. In some other embodiments, the 5 bands can also cover wavelengths from 420nm to 750nm, but are not limited thereto.
[0122] In the foregoing description of the embodiments of the present application, the spectrum perception filter subunit in the Y-axis direction used to collect the spectrum of the same band of the light signal is called a spectrum perception channel, and the spectrum perception filter subunit that can collect the spectrum of the same band of the light signal can be a group of spectrum perception filter subunits. In other embodiments, regardless of the arrangement of the spectrum perception filter subunits in the filter subarray, multiple spectrum perception filter subunits used to collect the spectrum of the same band of the light signal can be called a spectrum perception channel, or a group of spectrum perception filter subunits. In some embodiments, in order to obtain a multi-spectrum of the light signal, the multiple spectrum perception filter subunits in the filter subarray can be divided into multiple groups of spectrum perception filter subunits, and the multiple groups of spectrum perception filter subunits are set to collect the spectrum of multiple bands of the light signal, each band covers a preset range of wavelengths, and each group of spectrum perception filter subunits corresponds to each band one by one, which is not limited here.
[0123] The number of green filters is relatively large, which is twice the number of red filters, and twice the number of blue filters. Sacrificing green filters will not have a significant impact on the captured color image. The contribution of blue filters to color images is relatively low, and sacrificing blue filters will not have a significant impact on the captured color image. Therefore, specifically, in some embodiments, Fig.12On the basis of this structure, the spectral perception filter subunit can replace any one or more of the eight single-band green filter subunits and / or the spectral perception filter subunit can replace any one or more of the four single-band blue filter subunits. In this way, the same multi-spectral filter array has both color imaging capabilities and can obtain multi-spectrum. Specifically, the pixel unit A1111' may include four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits, and g spectral perception filter subunits, wherein e is an integer greater than or equal to 1 and less than or equal to 8, f and g are integers greater than or equal to 1 and less than or equal to 4, and the sum of e, f and g is equal to 12; the four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits, and g spectral perception filter subunits are arranged in a matrix in the form of rows and columns.
[0124] For example, see Fig.13 The filter subarray a111 includes a plurality of pixel units a1111' (first pixel units) and a plurality of pixel units A1111' (second pixel units), and the plurality of pixel units a1111' and the plurality of pixel units A1111' are arranged in a matrix in the form of rows and columns. The pixel unit a1111' includes four single-band red filter subunits, eight single-band green filter subunits and four single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and the four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns. The pixel unit A1111' includes four single-band red filter sub-units, seven single-band green filter sub-units, four single-band blue filter sub-units and one spectral perception filter sub-unit; the four single-band red filter sub-units, seven single-band green filter sub-units, four single-band blue filter sub-units and one spectral perception filter sub-unit are arranged in a matrix in the form of rows and columns.
[0125] Another example: Fig.15 FIG. 2 shows a schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application. Fig.15As shown, the filter subarray a111 includes a plurality of pixel units a1111' (first pixel units) and a plurality of pixel units A1111' (second pixel units), and the plurality of pixel units a1111' and the plurality of pixel units A1111' are arranged in a matrix in the form of rows and columns, and the pixel unit a1111' includes four single-band red filter subunits, eight single-band green filter subunits and four single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are respectively arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and the four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns. Pixel unit A1111' includes four single-band red filter sub-units, six single-band green filter sub-units, four single-band blue filter sub-units and two spectral perception filter sub-units; the four single-band red filter sub-units, six single-band green filter sub-units, four single-band blue filter sub-units and two spectral perception filter sub-units are arranged in a matrix in the form of rows and columns.
[0126] In some embodiments, the number of spectrum sensing filter sub-units sensing the same band spectrum can be set to multiple, because multiple spectrum sensing filter sub-units can increase the photosensitive area to improve the signal-to-noise ratio. For example, please continue to refer to 15, two adjacent spectrum sensing filter sub-units can be used to sense the spectrum of the same band.
[0127] Understandably, Fig.13 and Fig.15 It is shown respectively that Fig.12 Based on this structure, the spectral perception filter subunit can replace one or two of the eight single-band green filter subunits, but is not limited to this. In other embodiments, f is 4, which means that the spectral perception filter subunit can replace one or two of the eight single-band green filter subunits.
[0128] Another example: Fig.16 FIG. 2 shows a schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application. Fig.16As shown, the filter subarray a111 includes a plurality of pixel units a1111' (first pixel units) and a plurality of pixel units A1111' (second pixel units), and the plurality of pixel units a1111' and the plurality of pixel units A1111' are arranged in a matrix in the form of rows and columns, and the pixel unit a1111' includes four single-band red filter subunits, eight single-band green filter subunits and four single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are respectively arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and the four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns. The pixel unit A1111' includes four single-band red filter sub-units, seven single-band green filter sub-units, three single-band blue filter sub-units and two spectral perception filter sub-units; the four single-band red filter sub-units, seven single-band green filter sub-units, three single-band blue filter sub-units and two spectral perception filter sub-units are arranged in a matrix in the form of rows and columns.
[0129] In some embodiments, the number of spectral sensing filter sub-units sensing the same band spectrum can be set to multiple, because multiple spectral sensing filter sub-units can increase the photosensitive area to improve the signal-to-noise ratio. For example, please continue to refer to Fig.16 , two adjacent spectrum sensing filter sub-units can be used to sense the spectrum of the same band.
[0130] Understandably, Fig.16 It shows that in Fig.12 Based on this structure, the spectral perception filter subunit can replace any one of the eight single-band green filter subunits, and the spectral perception filter subunit can replace any one of the four single-band blue filter subunits, but it is not limited to this. In other embodiments, e is less than 8, f is less than 4, e is less than 8, f is less than 4, which means that the spectral perception filter subunit can replace any one or more of the eight single-band green filter subunits, and the spectral perception filter subunit can replace any one or more of the four single-band blue filter subunits.
[0131] Another example: Fig.17 FIG. 2 shows a schematic diagram of the structure of another filter sub-array provided in an embodiment of the present application. Fig.17As shown, the filter subarray a111 includes a plurality of pixel units a1111' (first pixel units) and a plurality of pixel units A1111' (second pixel units), and the plurality of pixel units a1111' and the plurality of pixel units A1111' are arranged in a matrix in the form of rows and columns, and the pixel unit a1111' includes four single-band red filter subunits, eight single-band green filter subunits and four single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are respectively arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and the four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns. Pixel unit A1111' includes four single-band red filter sub-units, eight single-band green filter sub-units, three single-band blue filter sub-units and one spectral perception filter sub-unit; the four single-band red filter sub-units, eight single-band green filter sub-units, three single-band blue filter sub-units and two spectral perception filter sub-units are arranged in a matrix in the form of rows and columns.
[0132] Understandably, Fig.17 It shows that in Fig.12 Based on this structure, the spectrum perception filter subunit can replace any one of the four single-band blue filter subunits, but is not limited thereto. In other embodiments, the spectrum perception filter subunit can replace any one or more of the four single-band blue filter subunits.
[0133] The mobile phone 100 can collect the color information of the three bands corresponding to the three channels of RGB for each pixel through the multispectral filter array a11, thereby forming a color image. If the number of spectral perception filter sub-units in the multispectral filter array a11 is set too much, the mobile phone 100 may fail to capture a color image of good quality due to the lack of complete color information of more pixels during the process of shooting a color image. Therefore, in order to solve this technical problem, the number of spectral perception filter sub-units in the multispectral filter array a11 provided in the embodiment of the present application should not be set too much, and needs to be set within a certain number range. Specifically, the ratio of the number of spectral perception filter sub-units in the multispectral filter array a11 (or filter sub-array a111) to the number of all filter sub-units in the multispectral filter array a11 (or filter sub-array a111) (the sum of the number of all single-band filter sub-units and the number of spectral perception filter sub-units in the multispectral filter array a11) is within a preset ratio range. For example, the preset ratio range can be 3%-6%.
[0134] In this way, the multispectral filter array provided in the embodiment of the present application can further improve color imaging by reducing the number of missing complete color information of pixel points.
[0135] When the mobile phone 100 is in the screen-on state, it may be in an environment of various color temperatures. If the display screen 194 of the mobile phone 100 is always in one color temperature, the display screen 194 of the mobile phone 100 cannot match the color temperature in the environment. For example, if the color temperature of the display screen 194 of the mobile phone 100 is warmer than the color temperature of the ambient light, the display screen of the mobile phone 100 seen by the user will feel more dazzling; or if the color temperature of the display screen 194 of the mobile phone 100 is cooler than the color temperature of the ambient light, the display screen of the mobile phone 100 seen by the user will feel darker. In this way, the user's visual experience is poor. In an application scenario, the mobile phone 100 can collect the multi-spectrum of ambient light through the camera 193, that is, the camera 193 can sense the ambient light as a color temperature sensor, and adjust the color temperature of the display screen 194 according to the multi-spectrum of the ambient light to match the ambient light and optimize the display effect of the display screen 194.
[0136] For details, see Fig.18 , Fig.18 FIG. 1 is a schematic diagram showing a process of adjusting the color temperature of a display screen to match the ambient light according to the multi-spectrum of the ambient light. Fig.18 As shown, the process includes the following steps:
[0137] 1801 : In response to a first operation by the user, the mobile phone 100 displays a user interface (UI) on the display screen 194 .
[0138] The first operation may be an operation of the user adjusting the mobile phone 100 to a bright screen state, which is a state in which the UI interface is displayed when the mobile phone is working normally. Generally, if the mobile phone 100 is in a locked screen state, the mobile phone 100 may enter the bright screen state in response to the user's digital unlocking, gesture unlocking, fingerprint unlocking, and face recognition unlocking operations.
[0139] 1802: The mobile phone 100 starts the camera 193, wherein the camera 193 includes a multi-spectral filter array.
[0140] In order to solve the problem that the display screen 194 of the mobile phone 100 cannot match the color temperature in the environment, causing the user's poor visual experience, the mobile phone 100 can start the camera 193 with the aforementioned multi-spectral filter array. The camera 193 can function as a color temperature sensor to sense the ambient light and adjust the color temperature of the display screen 194 to match the ambient light.
[0141] 1803: The mobile phone 100 obtains multispectral image data.
[0142] The mobile phone 100 can acquire multi-spectral image data and adjust the color temperature of the display screen 194 to match the ambient light based on the multi-spectral image data.
[0143] 1804: The mobile phone 100 measures the color temperature of the multispectral image data.
[0144] There is a correlation between color temperature and spectrum. Specifically, color temperature is an indicator that characterizes the distribution of spectral energy. When the color temperature is high, the spectral energy is distributed in the short-wave component slightly more, and the color is blue. When the color temperature is low, the spectral energy is distributed in the long-wave component slightly more, and the color is yellow. Therefore, mobile phone 100 can measure the color temperature of ambient light based on multi-spectral image data.
[0145] The color temperature measurement process is as follows:
[0146] The multispectral image data is the ambient light spectrum to be collected, and the ambient light spectrum to be collected can be represented by the symbol spectrum:
[0147] spectrum=[λ1 λ2 … λ n ] (Formula 1)
[0148] The interval of spectrum collection is Δnm, and n is the number of equally spaced samples.
[0149] Color matching function (CMF) of the human eye:
[0150]
[0151] For the m groups of spectral perception channels described in the embodiment of the present application, their response to the spectrum can be expressed as F:
[0152]
[0153] The Moore-Penrose inverse of F is denoted by R.
[0154] The sampling results of the ambient light by the m groups of spectral perception channels are:
[0155] signal=spectrum×F=[S1 S2…S m ] (Formula 4)
[0156] Combining Formula 4 and Formula 2, the color [X, Y, Z] in the XYZ color space can be expressed as:
[0157] [X, Y, Z] = [s1, s2, ... s m ]×R×CMF (Formula 5)
[0158] In order to obtain accurate color temperature values, color temperature is a reference for judging the whiteness of the light source. Projecting the color in the XYZ color space to the xyz chromaticity space can obtain accurate color temperature mapping. The mapping relationship is described by the following formula:
[0159] Chromaticity can be expressed by x=X / (X+Y+Z), y=Y(X+Y+Z), and z=1-xy.
[0160] The color temperature value can be defined by a mapping from (x, y) → CIE1931XYZ color space.
[0161] 1805: The mobile phone 100 performs color temperature matching processing on the display screen 194 based on the color temperature measurement result.
[0162] The mobile phone 100 performs color temperature matching processing on the display screen 194 based on the color temperature measurement result, so that the mobile phone 100 presents the display screen 194 that has undergone color temperature matching processing to the user.
[0163] In some embodiments, the mobile phone 100 may adjust the display screen 194 to a target color temperature based on the color temperature measurement result to implement color temperature matching processing for the display screen 194 .
[0164] 1806: The mobile phone 100 presents the display screen 194 that has been processed for color temperature matching to the user.
[0165] The mobile phone 100 can present the user with a display screen 194 that has been synchronized with the color temperature. In this way, even if the display screen 194 of the mobile phone 100 is always in a certain color temperature, the display screen 194 of the mobile phone 100 can dynamically match the color temperature in the environment. For example, if the color temperature of the display screen 194 of the mobile phone 100 is warmer than the color temperature of the ambient light, the display screen of the mobile phone 100 seen by the user will feel more dazzling, and the mobile phone 100 will lower the color temperature of the display screen 194; or if the color temperature of the display screen 194 of the mobile phone 100 is cooler than the color temperature of the ambient light, the display screen of the mobile phone 100 seen by the user will feel darker, and the mobile phone 100 will increase the color temperature of the display screen 194. In this way, the user's visual experience is improved.
[0166] It should be noted that the English name of white balance is White Balance, and its basic concept is "white objects can be restored to white regardless of the light source". The color cast phenomenon that occurs when shooting under a specific light source is compensated by strengthening the corresponding complementary color. The white balance adjustment of the camera 193 can be achieved by calibrating the color temperature deviation of the image, and adjusting the white balance of the image during shooting to achieve the desired picture effect. In another application scenario, the mobile phone 100 can use multi-spectral data to adjust the white balance of the captured image to achieve a better shooting effect.
[0167] For details, see Fig.19 , Fig.19 FIG. 1 shows a schematic diagram of a process for optimizing a display screen. Fig.19 As shown, the process includes the following steps:
[0168] 1901: The mobile phone 100 displays a UI interface on the display screen 194 in response to the user's first operation.
[0169] The first operation may be an operation of the user adjusting the mobile phone 100 to a bright screen state, which is a state in which the UI interface is displayed when the mobile phone is working normally. Generally, if the mobile phone 100 is in a locked screen state, the mobile phone 100 may enter the bright screen state in response to the user's digital unlocking, gesture unlocking, fingerprint unlocking, and face recognition unlocking operations.
[0170] 1902: In response to a second operation of the user, the mobile phone 100 starts the camera 193, wherein the camera 193 includes a multi-spectral filter array.
[0171] The UI interface of the mobile phone 100 has a camera application. The second operation can be an operation of the user opening the camera application. Specifically, the second operation can be an operation of the user clicking the camera application. The camera application has multiple modes such as preview, photo, and video. In some other embodiments, the second operation can be an operation of the user clicking the icons corresponding to the preview, photo, and video modes in the camera application interface. For example, Fig. 20 FIG. 1 shows a schematic diagram of a UI interface of a camera application displayed on a mobile phone. Fig. 20 As shown, the second operation may be an operation in which the user clicks on the icon corresponding to taking a photo in the camera application interface, and when the user performs the second operation, the camera application has already turned on the spectral imaging mode. If not, the mobile phone 100 may respond to the user turning on the mode in the settings menu of the camera application. Of course, the mobile phone 100 may also turn on the mode in other ways, which is not limited here.
[0172] 1903: The mobile phone 100 obtains single-spectrum image data and multi-spectrum image data.
[0173] In some embodiments, the size of the single-spectrum image data and the multi-spectrum image data may be determined by the resolution. If the resolution is 6528*4896, please continue to refer to Fig. 9 The structure of the multi-spectral filter array shown in the figure has a size of 16*32 for the multi-spectral filter sub-array, including 6 spectral sensing channels. The size of the single-spectral image data and the multi-spectral image data acquired by the mobile phone 100 can be 6528*4896 and 408*612*6, respectively. Among them, 6 is the spectral sensing channel, 408 is 6528 divided by 16, and 612 is 4896 divided by 32 and then multiplied by 4. The reason for multiplication by 4 is that Fig. 9The 6 spectral perception filter sub-units in the fourth and eighth rows of the filter sub-array a111 can be used as the first group of spectral perception filters; the 6 spectral perception filter sub-units in the twelfth and sixteenth rows of the filter sub-array a111 can be used as the second group of spectral perception filters; the 6 spectral perception filter sub-units in the twentieth and twenty-fourth rows of the filter sub-array a111 can be used as the third group of spectral perception filters; the 6 spectral perception filter sub-units in the twenty-eighth and thirty-second rows of the filter sub-array a111 can be used as the fourth group of spectral perception filters. A multi-spectral filter sub-array can output 4 groups of multi-band spectra.
[0174] Similarly, if the resolution is 6528*4896, the size of the multispectral filter subarray is 16*32, and each multispectral filter subarray has two sets of structures repeated on the Y axis, including 12 spectral sensing channels. Then the sizes of the single-spectral image data and multi-spectral image data acquired by the mobile phone 100 can be 6528*4896 and 408*306*12, respectively. Among them, 12 is the spectral sensing channel, 408 is 6528 divided by 16, and 306 is 4896 divided by 32 and then multiplied by 2.
[0175] Similarly, if the resolution is 6528*4896, the size of the multispectral filter subarray is 16*32, and each multispectral filter subarray has a set of structures repeated on the Y axis, including 5 spectral sensing channels. Then the sizes of the single-spectral image data and multispectral image data acquired by the mobile phone 100 can be 6528*4896 and 408*306*12, respectively. Among them, 5 is the spectral sensing channel, 408 is 6528 divided by 16, and 306 is 4896 divided by 32 and then multiplied by 1.
[0176] In some embodiments, the mobile phone 100 can obtain single-spectrum image data and multi-spectrum image data through the following technical solutions. Specifically, Fig.21 FIG. 1 shows a schematic diagram of a workflow of a multispectral imaging component that can collect multiple spectra. Fig.21 As shown, the process includes the following steps:
[0177] 2101: Power on the multi-spectral imaging component.
[0178] Power-on refers to the process from when the power is turned on until the system is stable and ready to work.
[0179] 2102: driving the multi-spectral imaging component to load a one-time programming item (OTP), the loading content including the coordinates of the spectral sensing filter sub-unit and the compensation gain of the spectral sensing filter sub-unit neighboring points.
[0180] OTP (One Time Programmable) is a type of memory in microcontrollers, which means one-time programmable: after the program is burned into the microcontroller, it cannot be changed or cleared again.
[0181] The compensation gain of neighboring points means that the newly added multispectral filter channel affects the nearest neighbor environment of the surrounding RGB channel pixels. Digital gain compensation is required for the neighboring points to improve the fixed noise of the output image and enhance the uniformity of the picture.
[0182] 2103: Drive the multi-spectral imaging component to start flowing.
[0183] The multispectral imaging component flow is the process of the multispectral imaging component collecting single-spectrum image data and multispectral image data.
[0184] 2104: driving all pixels (without distinguishing between imaging pixels and spectral pixels) in the multi-spectral imaging component to be packaged into MIPI Raw from the MIPI channel and sent to the ISP of the mobile phone 100, and the ISP splits the single-spectrum image data and the multi-spectral image data according to the OTP loading content.
[0185] The spectral pixels contained in the single-spectral image data are compensated according to the bad pixel, and the adjacent pixels of the spectral pixel are loaded with the compensation gain in the OTP. The "bad pixel" mentioned in this application is the point where the spectral perception filter subunit is located. Fig. 9 For example, Fig. 9 The four groups of spectral perception filters in can be treated as bad pixels, and the rest of the filter sub-arrays a111 are treated in the same way. When the RGB image is output, these coordinate points need to be treated as bad pixels and corrected using bad pixel compensation algorithms such as median filtering.
[0186] 1904: The mobile phone 100 performs pre-processing on the single-spectrum image data and measures the color temperature of the multi-spectrum image data.
[0187] The purpose of pre-processing is to remove the influence of the hardware environment on the image, in order to obtain a more restored image effect. Pre-processing at least includes: black level calibration, optical lens vignetting calibration, spectral pixel neighbor pixel gain compensation, bad pixel removal and other steps.
[0188] The technical solution for measuring the color temperature of the multispectral image data is the same as that in the previous steps, and will not be repeated here.
[0189] 1905: The mobile phone 100 performs automatic white balance processing on the pre-processed single-spectrum image data based on the color temperature measurement result.
[0190] Compared with multispectral image data, single-spectrum image data provides more accurate color temperature information of light signals, that is, it has a better color-spectrum correspondence. Multispectral image data can be used as a correction item to coordinately input into the automatic white balance processing process of single-spectrum image data to optimize the overall white balance effect of the image.
[0191] 1906: The mobile phone 100 performs de-Bayer array mosaic on the single-spectrum image data that has been processed by automatic white balance.
[0192] Debayering is a digital image process used to reconstruct a full-color image from the raw information output by an image sensor covered with an RGC multispectral filter array. It is also called CFA interpolation or color reconstruction.
[0193] 1907: The mobile phone 100 loads a color matching matrix for the single-spectrum image data after de-Bayer array mosaic processing.
[0194] The method for loading the color matching matrix is as follows:
[0195]
[0196] in, is the target color for output, is the color matching matrix,
[0197] is the automatic white balance parameter matrix, It is the RGB component obtained after the sensor removes the entire mosaic of the Bayer column. γ is the Gamma value, which maps the linear brightness space to the display brightness space.
[0198] 1908: The mobile phone 100 performs color mapping algorithm processing on the multispectral image data.
[0199] Compared with multi-spectral image data, single-spectral image data provides more accurate color temperature information of light signals, that is, it has better color-spectrum correspondence. Mobile phone 100 can use color mapping algorithm to optimize local color information in single-spectral image data, and optimize image color saturation and accuracy.
[0200] The mobile phone 100 can use the multi-spectral image data to map more accurate XYZ color data through Formula 1 to Formula 5.
[0201] 1909: The mobile phone 100 performs local color optimization on the single-spectrum image data loaded by the color matching matrix based on the multi-spectral image data processed by the color mapping algorithm.
[0202] Metamerism is the phenomenon that the same color but different spectral composition, or different spectral stimuli can produce the same visual response. For example, two substances appear the same color under one light source, but different colors under another light source. This phenomenon is called metamerism.
[0203] Multispectral imaging has more spectral channels, which helps to obtain the true spectrum of the object. With the above color mapping results, the mobile phone 100 can more accurately distinguish colors that are difficult to distinguish in RGB color channels under certain specific light sources, thereby alleviating the problem of metamerism in RGB imaging.
[0204] 1910: Mobile phone 100 outputs the processed image.
[0205] In the embodiment of the present application, the mobile phone 100 assists the camera in completing the white balance correction function of the color image captured through the aforementioned steps, removes the color cast caused by the ambient color temperature, etc., can restore the original color of the photographed object for display, and improves the imaging effect of the mobile phone 100.
[0206] Another embodiment of the present application provides a multi-spectral imaging component, which includes: a photosensitive element array; the photosensitive element array is used to collect light and convert the light signal into an electrical signal for indicating the intensity of the light signal; and a multi-spectral filter array; the multi-spectral filter array is arranged on the photosensitive element array, and the multi-spectral filter array includes a plurality of filter sub-arrays, and the plurality of filter sub-arrays are arranged in a matrix in the form of rows and columns; each filter sub-array includes a plurality of first pixel units and a plurality of second pixel units, and the plurality of first pixel units and the plurality of second pixel units are arranged in a matrix in the form of rows and columns; each first pixel unit includes at least one single-band red filter sub-unit, at least one single-band green filter sub-unit and at least one single-band blue filter sub-unit; at least one single-band red filter sub-unit, at least one single-band green filter sub-unit and at least one single-band blue filter sub-unit; The plurality of pixel sub-arrays and at least one single-band blue filter sub-unit are arranged in a matrix in the form of rows and columns; each second pixel unit includes at least one single-band red filter sub-unit, at least one single-band green filter sub-unit, at least one single-band blue filter sub-unit and at least one spectral perception filter sub-unit; at least one single-band red filter sub-unit, at least one single-band green filter sub-unit, at least one single-band blue filter sub-unit and at least one spectral perception filter sub-unit are arranged in a matrix in the form of rows and columns; wherein each filter sub-array includes a plurality of groups of spectral perception filter sub-units, each group of spectral perception filter sub-units includes at least one spectral perception filter sub-unit, and the plurality of groups of spectral perception filter sub-units are used to collect spectra of multiple bands of light signals, and each group of spectral perception filter sub-units corresponds to each band one by one. Moreover, the multi-spectral filter array may also include the structures described in the aforementioned various embodiments, but is not limited thereto.
[0207] The multi-spectral imaging component provided in the embodiment of the present application includes both single-band filter subunits corresponding to the three primary colors (red, green and blue) and spectral perception filter subunits. In this way, the single-band filter subunits corresponding to the three primary colors (red, green and blue) can be used to collect the spectrum of the single band corresponding to the three primary colors in the light signal, and multiple groups of spectral perception filter subunits can be used to collect the spectrum of multiple bands of the light signal. In this way, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the function of collecting the spectrum of the single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, that is, a multi-spectral imaging component provided in the embodiment of the present application can simultaneously realize the functions of the single-band imaging structural component and the multi-spectral imaging structural component. Compared with the electronic device in the prior art that needs to configure both the single-band imaging structural component and the multi-spectral imaging structural component, the embodiment of the present application only needs to configure a multi-spectral imaging component to realize the functions of the above two structural components, thus reducing the configuration cost of the electronic device. Furthermore, compared with the need for an electronic device to drive both a single-band imaging structure and a multi-spectral imaging structure to realize the function of collecting the spectrum of a single band corresponding to the three primary colors in the light signal and the function of collecting the spectrum of multiple bands of the light signal, in an embodiment of the present application, the electronic device can drive only one multi-spectral imaging component to realize the functions of the aforementioned two structures, thereby reducing the power consumption of the electronic device. Another embodiment of the present application provides an electronic device, which includes: a memory and one or more processors. The memory is coupled to the processor. The memory also stores computer program code, which includes computer instructions. When the computer instructions are executed by the processor, the electronic device can execute the various functions or steps executed by the mobile phone 100 in the above method embodiment. The structure of the electronic device can refer to Figure 5a The structure of the mobile phone 100 is shown.
[0208] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the mobile phone 100 in the above-mentioned method embodiment.
[0209] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the functions or steps executed by the mobile phone 100 in the above method embodiment. The computer may be the above electronic device (such as the mobile phone 100).
[0210] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0211] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0212] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0213] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable storage media. Therefore, a machine-readable storage medium may include any mechanism for storing or disseminating information in a machine (e.g., computer) readable form, including but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROM), random access memories (RAM), erasable programmable read-only memories (EPROM), electrically erasable programmable read-only memories (EEPROM), magnetic cards or optical cards, flash memory, or a tangible machine-readable memory for disseminating information (e.g., carrier waves, infrared signal digital signals, etc.) based on the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable storage media include any type of machine-readable storage media suitable for storing or propagating electronic instructions or information in a form readable by a machine (eg, a computer).
[0214] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0215] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A multi-spectral filter array, It is characterized in that include: A plurality of filter sub-arrays, wherein the plurality of filter sub-arrays are arranged in a matrix in the form of rows and columns; each of the filter sub-arrays comprises a plurality of first pixel units and a plurality of second pixel units, wherein the plurality of first pixel units and the plurality of second pixel units are arranged in a matrix in the form of rows and columns; each of the first pixel units comprises at least one single-band red filter sub-unit, at least one single-band green filter sub-unit and at least one single-band blue filter sub-unit; the at least one single-band red filter sub-unit, the at least one single-band green filter sub-unit and the at least one single-band blue filter sub-unit The elements are arranged in a matrix in the form of rows and columns; each of the second pixel units includes at least one single-band red filter subunit, at least one single-band green filter subunit, at least one single-band blue filter subunit and at least one spectral perception filter subunit; the at least one single-band red filter subunit, the at least one single-band green filter subunit, the at least one single-band blue filter subunit and at least one spectral perception filter subunit are arranged in a matrix in the form of rows and columns; one of the spectral perception filter subunits includes a filter of one band for collecting light signals; Among them, each of the filter sub-arrays includes multiple groups of spectral perception filter sub-units, each group of spectral perception filter sub-units includes at least one spectral perception filter sub-unit, and the multiple groups of spectral perception filter sub-units are used to collect spectra of multiple bands of light signals, and each group of spectral perception filter sub-units corresponds one-to-one to each band.
2. The multispectral filter array according to claim 1, It is characterized in that The at least one single-band red filter subunit, the at least one single-band green filter subunit and the at least one single-band blue filter subunit are arranged in a matrix in the form of rows and columns, including: each of the first pixel units includes one single-band red filter subunit, two single-band green filter subunits and one single-band blue filter subunit, the two single-band green filter subunits are arranged in the form of rows and columns on a diagonal line of the matrix, and one single-band red filter subunit and one single-band blue filter subunit are arranged in the form of rows and columns on another diagonal line of the matrix.
3. The multispectral filter array according to claim 2, It is characterized in that The at least one single-band red filter subunit, the at least one single-band green filter subunit, the at least one single-band blue filter subunit and the at least one spectral perception filter subunit are arranged in a matrix in the form of rows and columns, including: each of the second pixel units includes one single-band red filter subunit, one single-band green filter subunit, one single-band blue filter subunit and one spectral perception filter subunit; one single-band green filter subunit and one spectral perception filter subunit are arranged on a diagonal line of the matrix in the form of rows and columns, and one single-band red filter subunit and one single-band blue filter subunit are arranged on another diagonal line of the matrix in the form of rows and columns.
4. The multispectral filter array according to claim 1, It is characterized in that The at least one single-band red filter subunit, the at least one single-band green filter subunit and the at least one single-band blue filter subunit are arranged in a matrix in the form of rows and columns, including: each of the first pixel units includes four of the single-band red filter subunits, eight of the single-band green filter subunits and four of the single-band blue filter subunits; the eight single-band green filter subunits are evenly divided into two groups and are arranged on a diagonal line of the matrix in the form of rows and columns, and the four single-band red filter subunits and the four single-band blue filter subunits are arranged on another diagonal line of the matrix in the form of rows and columns.
5. The multispectral filter array according to claim 4, It is characterized in that The at least one single-band red filter subunit, the at least one single-band green filter subunit, the at least one single-band blue filter subunit and the at least one spectral perception filter subunit are arranged in a matrix in the form of rows and columns, including: each of the second pixel units includes four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits and g spectral perception filter subunits, wherein e is an integer greater than or equal to 1 and less than or equal to 8, f and g are integers greater than or equal to 1 and less than or equal to 4, and the sum of e, f and g is equal to 12; the four single-band red filter subunits, e single-band green filter subunits, f single-band blue filter subunits and g spectral perception filter subunits are arranged in a matrix in the form of rows and columns.
6. The multispectral filter array according to claim 4, It is characterized in that f is 4.
7. The multispectral filter array according to claim 4, It is characterized in that e is less than 8, f is less than 4.
8. The multispectral filter array according to any one of claims 1 to 7, It is characterized in that The ratio of the number of all the spectral perception filter sub-units in the filter sub-array to the number of all filters in the filter sub-array is within a preset ratio range, and the preset ratio range is 3%-6%.
9. A multispectral imaging assembly, It is characterized in that include: Photosensitive element array; The photosensitive element array is used to collect light and convert the light signal into an electrical signal for indicating the intensity of the light signal; and the multispectral filter array according to any one of claims 1 to 8; the multispectral filter array is arranged on the photosensitive element array.
10. A camera, It is characterized in that The camera comprises a multispectral filter array as described in any one of claims 1 to 8, or a multispectral imaging assembly as described in claim 9.
11. An electronic device, It is characterized in that It comprises a camera, wherein the camera comprises the multi-spectral filter array as described in any one of claims 1 to 8, or the multi-spectral imaging assembly as described in claim 9.
Citation Information
Patent Citations
Image sensor and mobile terminal
CN108900750A
Image sensor and mobile terminal
CN108965665A
