Color filter matrix adjustment method and system
By adjusting the voltage control signals of the upper and lower layers of the color filter matrix according to the target mode type, the problem of fixed color filter matrix type in the prior art is solved, and flexible adjustments are achieved for a variety of scenarios, improving convenience and reducing costs.
Patent Information
- Application Number
- CN202510049913.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-08
AI Technical Summary
In the prior art, the color filter matrix can only be configured with one type, which leads to the need to replace different cameras in different usage scenarios, which is both troublesome and costly.
By determining the voltage control signals for the upper and lower layers of the color filter matrix according to the target mode type, a voltage of corresponding intensity is applied to the filter to adjust the filter characteristics.
The flexible adjustment of the color filter matrix is realized, making it suitable for a variety of scenarios, avoiding the need to replace the camera, improving the convenience of use and reducing costs.
Smart Images

Figure CN119788788A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optics, and in particular to a method and system for adjusting a color filter matrix. Background Art
[0002] The color filter array (CFA) is a layer of filters set up so that the photosensitive imaging unit of the photographic equipment can obtain color images. At present, each photosensitive imaging unit can only be configured with one type of color filter matrix. Depending on the usage scenario, it is often necessary to replace different cameras to shoot, which is not only troublesome but also costly. Therefore, how to adjust the filtering characteristics of the color filter matrix so that the color filter matrix can be used in a variety of scenarios has become a technical problem that needs to be solved urgently by people in this field. Summary of the invention
[0003] In view of the above problems, the present invention provides a method and system for adjusting a color filter matrix that overcomes the above problems or at least partially solves the above problems.
[0004] In a first aspect, a method for adjusting a color filter matrix includes:
[0005] Determine, according to the target mode type, a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units and the filters of the second matrix units have different electro-optical characteristics;
[0006] According to the first voltage control signal, a voltage of corresponding intensity is applied to each filter in the upper layer of the color filter matrix to adjust the filtering characteristics of each filter in the upper layer of the color filter matrix, wherein the voltage applied to filters with the same electro-optical characteristics is the same, and the voltage applied to filters with different electro-optical characteristics is different;
[0007] According to the second voltage control signal, a voltage of corresponding intensity is applied to each filter in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltage applied to filters with the same electro-optical characteristics is the same, and the voltage applied to filters with different electro-optical characteristics is different.
[0008] Optionally, in some optional implementations, determining the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix according to the target mode type includes:
[0009] According to the target mode type, the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix are queried and determined from a pre-calibrated signal correspondence relationship, wherein the signal correspondence relationship records the first voltage control signal and the second voltage control signal corresponding to different target mode types, the first voltage control signal includes N first sub-signals corresponding to the N filters of the first matrix unit, and the second voltage control signal includes N second sub-signals corresponding to the N filters of the second matrix unit.
[0010] Optionally, in some optional embodiments, applying a voltage of corresponding intensity to each filter on the upper layer of the color filter matrix according to the first voltage control signal to adjust the filtering characteristics of each filter on the upper layer of the color filter matrix includes:
[0011] According to the N first sub-signals in the first voltage control signal, a first voltage group is applied to each of the first matrix units on the upper layer of the color filter matrix to adjust the filtering characteristics of each filter of each first matrix unit, wherein the first voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different first matrix units.
[0012] Optionally, in some optional embodiments, applying a voltage of corresponding intensity to each filter in the lower layer of the color filter matrix according to the second voltage control signal to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix includes:
[0013] According to the N second sub-signals in the second voltage control signal, a second voltage group is applied to each second matrix unit in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter of each second matrix unit, wherein the second voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different second matrix units.
[0014] Optionally, in some optional implementations, before determining the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix according to the target mode type, the method further includes:
[0015] Get the current imaging picture;
[0016] According to the imaging picture, a corresponding target mode type is determined.
[0017] Optionally, in some optional implementations, after determining the corresponding target mode type according to the imaging picture, the method further includes:
[0018] The target mode type is adjusted according to the user's adjustment instruction.
[0019] Optionally, in some optional implementations, before determining the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix according to the target mode type, the method further includes:
[0020] Gets the target mode type of the user input.
[0021] In a second aspect, a color filter matrix adjustment system includes: a mode switching unit, a power supply network, and a color filter matrix;
[0022] The power supply network comprises: a first voltage applying unit and a second voltage applying unit;
[0023] The color filter matrix comprises: an upper color filter matrix layer and a lower color filter matrix layer;
[0024] The mode switching unit is used to determine a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix according to a target mode type, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units and the filters of the second matrix units have different electro-optical characteristics;
[0025] The first voltage applying unit is used to apply a voltage of corresponding intensity to each filter on the upper layer of the color filter matrix according to the first voltage control signal, so as to adjust the filtering characteristics of each filter on the upper layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different;
[0026] The second voltage applying unit is used to apply a voltage of corresponding intensity to each filter in the lower layer of the color filter matrix according to the second voltage control signal, so as to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different.
[0027] In a third aspect, a computer-readable storage medium stores a program, wherein the program, when executed by a processor, implements any of the above-mentioned methods for adjusting the color filter matrix.
[0028] In a fourth aspect, an electronic device comprises at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute any one of the color filter matrix adjustment methods described above.
[0029] By means of the above technical scheme, the present invention provides a method and system for adjusting a color filter matrix, which can determine a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix according to a target mode type, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units are arranged in a fixed order with respect to the second matrix units. The electro-optical characteristics of the filters of the array unit are different; according to the first voltage control signal, a voltage of corresponding intensity is applied to each filter in the upper layer of the color filter matrix to adjust the filtering characteristics of each filter in the upper layer of the color filter matrix, wherein the voltage applied to the filters with the same electro-optical characteristics is the same, and the voltage applied to the filters with different electro-optical characteristics is different; according to the second voltage control signal, a voltage of corresponding intensity is applied to each filter in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltage applied to the filters with the same electro-optical characteristics is the same, and the voltage applied to the filters with different electro-optical characteristics is different. It can be seen from this that the present invention can apply a corresponding voltage to the color filter matrix based on the target mode type, change the filtering characteristics of the color filter matrix through the voltage, and then enable the color filter matrix to adapt to the requirements of light in various scenes, which is relatively convenient and fast, and does not require additional hardware costs.
[0030] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0032] Figure 1 A flow chart of a method for adjusting a color filter matrix provided by the present invention is shown;
[0033] Figure 2 A schematic structural diagram of a color filter matrix adjustment system provided by the present invention is shown;
[0034] Figure 3 A schematic diagram of an adjustment interface of a color filter matrix provided by the present invention is shown;
[0035] Figure 4 A schematic diagram of wavelength cutoff-voltage provided by the present invention is shown;
[0036] Figure 5 A schematic structural diagram of a color filter matrix adjustment device provided by the present invention is shown;
[0037] Figure 6 A structural schematic diagram of an electronic device provided by the present invention is shown. DETAILED DESCRIPTION
[0038] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0039] like Figure 1 As shown, the present invention provides a method for adjusting a color filter matrix, comprising: S100, S200 and S300;
[0040] S100, determining a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix according to a target mode type, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units have different electro-optical characteristics from the filters of the second matrix units;
[0041] Optionally, the present invention can be applied to photographic equipment. By executing the present invention, the filtering characteristics of the color filter matrix can be changed according to different scenes, so that the photographic equipment can meet the shooting needs of various scenes without changing the lens. It is relatively convenient and fast, and there is no need to increase the hardware cost. The present invention does not impose any restrictions on this.
[0042] Optionally, the color filter matrix of the present invention can be divided into two layers, such as Figure 2 As shown in the figure, they are the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix. Each layer has multiple units, and each unit has multiple filters (for example Figure 2 4 filters are shown in FIG. 1 ). It should be noted that: for the upper layer up of the color filter matrix or the lower layer bottom of the color filter matrix, each unit thereof is the same, but any unit includes N filters with different electro-optical characteristics, which can be specifically reflected in different materials. That is, the electro-optical characteristics of filters made of different materials are different, and the present invention does not limit this.
[0043] For example, Figure 2 As shown, each unit unit is composed of 4 filters of different materials. The materials of the 4 filters of each unit unit of the upper layer up of the color filter matrix are: A, B, C and D, that is to say, the entire upper layer up of the color filter matrix is composed of filters of four materials A, B, C and D arranged according to a fixed rule. Similarly, the materials of the 4 filters of each unit unit of the bottom layer of the color filter matrix can be: A', B', C' and D'. Therefore, the upper layer up of the color filter matrix and the bottom layer of the color filter matrix are each composed of 4 materials, but the materials are not the same. Specifically, the upper layer up of the color filter matrix can select the "lower wavelength cutoff material", and the bottom layer of the color filter matrix can select the "upper wavelength cutoff material". Therefore, the voltage control signals subsequently received by the upper layer up of the color filter matrix and the bottom layer of the color filter matrix are also different, and the present invention does not limit this.
[0044] Optionally, as described above, the upper layer up of the color filter matrix can select the "lower wavelength cutoff material", and the lower layer bottom of the color filter matrix can select the "upper wavelength cutoff material". Therefore, after the light passes through the filtering of the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix, the light of a certain wavelength range can be filtered out. When necessary, it is only necessary to apply a voltage to change the filtering characteristics of the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix to filter out light of different wavelength ranges to meet the needs of different scenes, and the present invention is not limited to this.
[0045] Optionally, the target mode type of the present invention can be Figure 2 The present invention can pre-set different target mode types for different scenes according to actual needs, such as night scene mode, portrait mode and landscape mode, etc., and the present invention does not limit this.
[0046] Optionally, different filtering effects are required for different scenes, that is, different target mode types need to control the color filter matrix to adjust to the corresponding filtering characteristics. The filtering characteristics of the color filter matrix are directly related to the filtering characteristics of the filter inside it, and a certain voltage needs to be applied to the filter to adjust the filtering characteristics of the filter. Therefore, the present invention needs to determine what kind of voltage to apply to the filter according to the target mode type, that is, determine the first voltage control signal and the second voltage control signal.
[0047] For example, in some optional embodiments, the S100 includes:
[0048] According to the target mode type, the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix are queried and determined from a pre-calibrated signal correspondence relationship, wherein the signal correspondence relationship records the first voltage control signal and the second voltage control signal corresponding to different target mode types, the first voltage control signal includes N first sub-signals corresponding to the N filters of the first matrix unit, and the second voltage control signal includes N second sub-signals corresponding to the N filters of the second matrix unit.
[0049] Optionally, the signal correspondence relationship mentioned in the present invention can be obtained through continuous experiments to determine the first voltage control signal and the second voltage control signal corresponding to various target mode types, and then the corresponding correspondence relationship is calibrated and recorded for direct query when needed. The present invention does not impose any restrictions on this.
[0050] S200, applying a voltage of corresponding intensity to each filter in the upper layer of the color filter matrix according to the first voltage control signal, so as to adjust the filtering characteristics of each filter in the upper layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different;
[0051] Optionally, the first voltage control signal of the present invention matches the corresponding voltage, and after the voltage is applied to the filter, its own filtering characteristics will change, and the present invention does not impose any limitation on this.
[0052] For example, in some optional embodiments, the S200 includes:
[0053] According to the N first sub-signals in the first voltage control signal, a first voltage group is applied to each of the first matrix units on the upper layer of the color filter matrix to adjust the filtering characteristics of each filter of each first matrix unit, wherein the first voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different first matrix units.
[0054] Optionally, from the perspective of each first matrix unit, each first matrix unit is applied with the same first voltage group. However, from the perspective of each filter inside the first matrix unit, the voltage sub-signal applied to each filter is different.
[0055] For example, Figure 2 As shown, after determining the first voltage control signal and the second voltage control signal, the mode switching unit sends the two control signals to the power supply network. The power supply network then applies corresponding voltages to the color filter matrix according to the two control signals. For example, Figure 2 The power supply network in the color filter matrix supplies power to the four filters (assuming they are named as: CF 00 CF 01 CF 10 and CF 11 ) apply V 00 、V 01 、V 10 and V 11 Four voltages. That is, for any unit in the upper layer of the color filter matrix: CF 00 Apply V 00 , C.F. 01 Apply V 01 , C.F. 10 Apply V 10 , C.F. 11Apply V 11 , the present invention does not limit this.
[0056] S300. According to the second voltage control signal, a voltage of corresponding intensity is applied to each filter in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different.
[0057] For example, in some optional implementations, the S300 includes:
[0058] According to the N second sub-signals in the second voltage control signal, a second voltage group is applied to each second matrix unit in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter of each second matrix unit, wherein the second voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different second matrix units.
[0059] Optionally, from the perspective of each second matrix unit, each second matrix unit is applied with the same second voltage group. However, from the perspective of each filter inside the second matrix unit, the voltage sub-signal applied to each filter is different.
[0060] For example, the power supply network provides power to four filters (assuming they are named as: CF 00 `, CF 01 `, CF 10 ` and CF 11 `) Apply V 00 `、V 01 `、V 10 ` and V 11 `Four voltages. That is, for any unit at the bottom of the color filter matrix: CF 00 `Apply V 00 `, CF 01 `Apply V 01 `, CF 10 `Apply V 10 `, CF 11 `Apply V 11 `, the present invention does not limit this.
[0061] Optionally, in some optional embodiments, before S100, the method further includes: step 1.1 and step 1.2;
[0062] Step 1.1, obtain the current imaging picture;
[0063] Step 1.2: Determine the corresponding target mode type according to the imaging picture.
[0064] Optional, such as Figure 2 The photosensitive imaging unit (English name: Sensor) shown can obtain a corresponding imaging picture after obtaining the light filtered by the color filter matrix. The photosensitive imaging unit can feed back the imaging picture to the mode switching unit so that the mode switching unit can determine the corresponding target mode type according to the imaging picture. That is, the mode switching unit can automatically select a suitable target mode type according to the imaging picture fed back by the photosensitive imaging unit, and the present invention does not limit this.
[0065] Optionally, as described above, the mode switching unit may select a suitable target mode type. To improve the applicability of the present invention, the present invention also supports manual adjustment of the target mode type by the user.
[0066] For example, in some optional embodiments, after step 1.2, the method further includes:
[0067] The target mode type is adjusted according to the user's adjustment instruction.
[0068] Optionally, the user can manually adjust the target mode type based on the device's automatic selection of the target mode type according to their own needs and actual scenario requirements until the target mode type reaches the user's goal, and the present invention is not limited to this.
[0069] Of course, the present invention can also support a pure manual mode, that is, the target mode type is completely manually input by the user without an automatic selection process.
[0070] That is, in some optional implementation manners, before S100, the method further includes:
[0071] Gets the target mode type of the user input.
[0072] Optionally, in order to further illustrate the solution of the present invention, the following examples are provided to clearly describe the above embodiments.
[0073] First, use the mode switching unit to select a target mode type, and adjust the power supply mode of the power supply network according to the target mode type. The power supply network is divided into two layers: the upper layer is used to adjust the upper layer up of the color filter matrix, and the lower layer is used to adjust the lower layer bottom of the color filter matrix. Taking the upper layer up of the color filter matrix as an example, the upper layer up of the color filter matrix is composed of multiple repeating units, each unit contains 4 filters (Color Filter, CF). When the color filter matrix needs to be changed, the voltage modulation signal is first input to each unit of the color filter matrix, and four voltage signals need to be output each time: V 00 、V 01 、V 10 and V 11 The 4 CFs are given to each unit respectively. At the same time, the CFs at the corresponding positions in each unit are made of the same material, so when receiving voltage regulation, the electro-optical characteristic response of each unit of the color filter matrix is the same, and the corresponding light filtering effect is also the same. Thus, a CFA up with new optical characteristics is formed. The modulation principle of the bottom layer of the color filter matrix is the same as that of the CFA up, but the response characteristics of the two materials to voltage are different. The material of each unit of the bottom layer of the color filter matrix is an upper wavelength cutoff material, that is, for a certain voltage signal, only light bands below a certain wavelength can pass through, and CFA up can only pass through light bands above a certain wavelength. The combination of the two can only pass through light bands within a certain wavelength range.
[0074] The input of the mode switching unit is the user's instruction or the feedback parameter of the Sensor imaging in the current environment, and the output is the target mode type. The main function is for the user to select the target mode type to be adjusted according to the current scene or Sensor imaging effect. For example, when the vehicle is driving in a night scene, the overall brightness is dim, and there are no more color scenes, using a color filter matrix with a bayer (Bayer array) type of RCCC or RCCB can make the picture brighter; when the picture is in a clear daytime state, the overall brightness and color elements are more, and the use of conventional bayer types, such as RGGB or BGGR, can achieve better picture effects; when only picture brightness and contour information are needed, but no color information is required, mono can be used; when the scene is dark and more contour and color information is required, the bayer type can be used to obtain RGB data and IR data to enhance the picture effect together. It should be noted that the above-mentioned bayer, RCCC, RCCB, RGGB, BGGR, mono, RGBIR, RGB and IR are all well-known concepts in the art, and the present invention does not describe this in detail. Please refer to the relevant description of the art for details.
[0075] The input of the power supply network is the target mode type, and the output is the voltage for the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix. Its main function is to convert the target mode type into the voltage for the unit, so as to modulate the unit to the required bayer type. Users can adjust the bayer type of CFA by themselves, or use the established standard filter block.
[0076] like Figure 3 As shown, there are standard filter blocks between the target mode type and the voltage: R, G, B, C and Y. For example: When the user needs to modulate the bayer type to RGGB (i.e. CF 00 Position is R, CF 01 Position is G, CF 10 Position is G, CF 11 Position B). First select CF 00 , and then click the R button, the CF in the upper layer of the color filter matrix up and the lower layer of the color filter matrix bottom 00 A pre-calibrated voltage will be applied at the same time. Under the action of this voltage: the CF on the upper layer of the color filter matrix 00 The position can only pass the light band above 650nm, the color filter matrix bottom layer CF 00 The position can only pass the light band below 700nm, thus achieving CF in each unit 00 The wavelength passed by the position is limited to 650nm~700nm. Then select CF 01 , click the G button. Similarly, the CF in the upper layer of the color filter matrix up and the lower layer of the color filter matrix bottom 01 The position will be modulated by a pre-calibrated voltage to only pass the 500nm~550nm light band. Similarly, CF 10 Modulated to pass only the 500nm~550nm optical band, CF 11 It is modulated to pass only the 450nm~480nm light band.
[0077] In addition, the present invention can also support the user to manually adjust the CF in the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix.
[0078] The input of the unit is voltage. Different voltages act on the CF in each unit, so that different CFs produce different light filtering effects, which are used for the subsequent sensor imaging. The voltage acts on the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix at the same time, and the unit positions of the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix are completely corresponding. Combined with the above example, the filter unit composed of the first unit in the upper left corner of the upper layer up of the color filter matrix and the lower layer bottom of the color filter matrix is equivalent to: 650nm~700nm (R), 500nm~550nm (G), 500nm~550nm (G), 450nm~480nm (B), that is, the equivalent implementation of the RGGB filter is realized, and the cutoff range adjustment can be adjusted relatively freely according to environmental changes.
[0079] like Figure 4 As shown, the corresponding voltage can control the passable wavelength band of different wavelength cut-off materials, thereby realizing the filtering regulation of CF.
[0080] The input of the sensor is the light regulated by the unit, and the output of the sensor is the image after receiving the light. Its main function is to clearly image the current scene for user viewing, processing and effect feedback.
[0081] The input of the mode switching unit is the sensor imaging effect, and the output is the target mode type. The user adjusts the imaging mode according to the current imaging effect to achieve the most satisfactory imaging effect for the user.
[0082] like Figure 5 As shown, the present invention provides a color filter matrix adjustment system, including: a mode switching unit 100, a power supply network 200 and a color filter matrix 300;
[0083] The power supply network 200 includes: a first voltage applying unit 210 and a second voltage applying unit 220;
[0084] The color filter matrix 300 includes: a color filter matrix upper layer 310 and a color filter matrix lower layer 320;
[0085] The mode switching unit 100 is used to determine a first voltage control signal for the color filter matrix upper layer 310 and a second voltage control signal for the color filter matrix lower layer 320 according to a target mode type, wherein the color filter matrix upper layer 310 includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the color filter matrix lower layer 320 includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units and the filters of the second matrix units have different electro-optical characteristics;
[0086] The first voltage applying unit 210 is used to apply a voltage of corresponding intensity to each filter of the upper layer 310 of the color filter matrix according to the first voltage control signal, so as to adjust the filtering characteristics of each filter of the upper layer 310 of the color filter matrix, wherein the voltage applied to the filters with the same electro-optical characteristics is the same, and the voltage applied to the filters with different electro-optical characteristics is different;
[0087] The second voltage applying unit is used to apply a voltage of corresponding intensity to each filter of the lower layer 320 of the color filter matrix according to the second voltage control signal, so as to adjust the filtering characteristics of each filter of the lower layer 320 of the color filter matrix, wherein the voltage applied to filters with the same electro-optical characteristics is the same, and the voltage applied to filters with different electro-optical characteristics is different.
[0088] Optionally, in some optional implementations, the mode switching unit 100 includes: a control signal determination subunit;
[0089] The control signal determination subunit is used to query and determine the first voltage control signal for the upper layer 310 of the color filter matrix and the second voltage control signal for the lower layer 320 of the color filter matrix from a pre-calibrated signal correspondence relationship according to the target mode type, wherein the signal correspondence relationship records the first voltage control signal and the second voltage control signal corresponding to different target mode types, the first voltage control signal includes N first sub-signals corresponding to the N filters of the first matrix unit, and the second voltage control signal includes N second sub-signals corresponding to the N filters of the second matrix unit.
[0090] Optionally, in some optional embodiments, the first voltage applying unit 210 includes: a first voltage applying subunit;
[0091] The first voltage applying sub-unit is used to apply a first voltage group to each of the first matrix units in the upper layer 310 of the color filter matrix according to the N first sub-signals in the first voltage control signal, so as to adjust the filtering characteristics of each filter of each first matrix unit, wherein the first voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to the filters at the same position in different first matrix units.
[0092] Optionally, in some optional embodiments, the second voltage applying unit 220 includes: a second voltage applying subunit;
[0093] The second voltage applying sub-unit is used to apply a second voltage group to each of the second matrix units in the lower layer 320 of the color filter matrix according to the N second sub-signals in the second voltage control signal, so as to adjust the filtering characteristics of each filter of each second matrix unit, wherein the second voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to the filters at the same position in different second matrix units.
[0094] Optionally, in some optional implementations, the system further comprises: a picture obtaining unit and a type determining unit;
[0095] The picture acquisition unit is used to obtain the current imaging picture before determining the first voltage control signal for the upper layer 310 of the color filter matrix and the second voltage control signal for the lower layer 320 of the color filter matrix according to the target mode type;
[0096] The type determination unit is used to determine the corresponding target mode type according to the imaging picture.
[0097] Optionally, in certain optional embodiments, the system further comprises: a type adjustment unit;
[0098] The type adjustment unit is used to adjust the target mode type according to the user's adjustment instruction after determining the corresponding target mode type according to the imaging picture.
[0099] Optionally, in some optional embodiments, the system further comprises: a type obtaining unit;
[0100] The type obtaining unit is used to obtain the target mode type input by the user before determining the first voltage control signal for the color filter matrix upper layer 310 and the second voltage control signal for the color filter matrix lower layer 320 according to the target mode type.
[0101] The present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for adjusting the color filter matrix described in any one of the above items is implemented.
[0102] like Figure 6 As shown, the present invention provides an electronic device 70, which includes at least one processor 701, and at least one memory 702 and a bus 703 connected to the processor 701; wherein the processor 701 and the memory 702 communicate with each other through the bus 703; the processor 701 is used to call the program instructions in the memory 702 to execute any of the above-mentioned color filter matrix adjustment methods.
[0103] In the present invention, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" 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 other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0104] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0105] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined in the present invention may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown in the present invention, but will conform to the widest scope consistent with the principles and novel features disclosed in the present invention.
[0106] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for adjusting a color filter matrix, characterized in that: include: Determine, according to the target mode type, a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units and the filters of the second matrix units have different electro-optical characteristics; According to the first voltage control signal, a voltage of corresponding intensity is applied to each filter in the upper layer of the color filter matrix to adjust the filtering characteristics of each filter in the upper layer of the color filter matrix, wherein the voltage applied to filters with the same electro-optical characteristics is the same, and the voltage applied to filters with different electro-optical characteristics is different; According to the second voltage control signal, a voltage of corresponding intensity is applied to each filter in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltage applied to filters with the same electro-optical characteristics is the same, and the voltage applied to filters with different electro-optical characteristics is different.
2. The method according to claim 1, characterized in that The step of determining a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix according to a target mode type includes: According to the target mode type, the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix are queried and determined from a pre-calibrated signal correspondence relationship, wherein the signal correspondence relationship records the first voltage control signal and the second voltage control signal corresponding to different target mode types, the first voltage control signal includes N first sub-signals corresponding to the N filters of the first matrix unit, and the second voltage control signal includes N second sub-signals corresponding to the N filters of the second matrix unit.
3. The method according to claim 2, characterized in that The step of applying a voltage of corresponding intensity to each filter on the upper layer of the color filter matrix according to the first voltage control signal to adjust the filtering characteristics of each filter on the upper layer of the color filter matrix comprises: According to the N first sub-signals in the first voltage control signal, a first voltage group is applied to each of the first matrix units on the upper layer of the color filter matrix to adjust the filtering characteristics of each filter of each first matrix unit, wherein the first voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different first matrix units.
4. The method according to claim 2, characterized in that: The step of applying a voltage of corresponding intensity to each filter in the lower layer of the color filter matrix according to the second voltage control signal to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix comprises: According to the N second sub-signals in the second voltage control signal, a second voltage group is applied to each second matrix unit in the lower layer of the color filter matrix to adjust the filtering characteristics of each filter of each second matrix unit, wherein the second voltage group includes N voltage sub-signals with different intensities, one voltage sub-signal is applied to each filter, and the same voltage sub-signal is applied to filters at the same position in different second matrix units.
5. The method according to claim 1, characterized in that Before determining the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix according to the target mode type, the method further includes: Get the current imaging picture; According to the imaging picture, a corresponding target mode type is determined.
6. The method according to claim 5, characterized in that After determining the corresponding target mode type according to the imaging picture, the method further includes: The target mode type is adjusted according to the user's adjustment instruction.
7. The method according to claim 1, characterized in that Before determining the first voltage control signal for the upper layer of the color filter matrix and the second voltage control signal for the lower layer of the color filter matrix according to the target mode type, the method further includes: Gets the target mode type of the user input.
8. A color filter matrix adjustment system, characterized in that: include: Mode switching unit, power supply network and color filter matrix; The power supply network comprises: a first voltage applying unit and a second voltage applying unit; The color filter matrix comprises: an upper color filter matrix layer and a lower color filter matrix layer; The mode switching unit is used to determine a first voltage control signal for an upper layer of a color filter matrix and a second voltage control signal for a lower layer of a color filter matrix according to a target mode type, wherein the upper layer of the color filter matrix includes a plurality of identical first matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the lower layer of the color filter matrix includes a plurality of identical second matrix units, any of which is obtained by arranging N filters with different electro-optical characteristics in a fixed order, and the filters of the first matrix units and the filters of the second matrix units have different electro-optical characteristics; The first voltage applying unit is used to apply a voltage of corresponding intensity to each filter on the upper layer of the color filter matrix according to the first voltage control signal, so as to adjust the filtering characteristics of each filter on the upper layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different; The second voltage applying unit is used to apply a voltage of corresponding intensity to each filter in the lower layer of the color filter matrix according to the second voltage control signal, so as to adjust the filtering characteristics of each filter in the lower layer of the color filter matrix, wherein the voltages applied to filters with the same electro-optical characteristics are the same, and the voltages applied to filters with different electro-optical characteristics are different.
9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the method for adjusting the color filter matrix according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the color filter matrix adjustment method as described in any one of claims 1 to 7.