Signal control circuit, image sensor, electronic device and image processing method
By designing signal control circuits in electronic equipment, adjusting the signal voltage and conversion gain of the photosensitive unit, directly optimizing the image sensor output, solving the noise problem during image processing, and improving the shooting effect and image quality in low-light and high-light environments.
Patent Information
- Application Number
- CN202210731452.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-06-24
AI Technical Summary
Existing electronic equipment easily introduces noise during image processing, resulting in poor image quality, especially in low-light and high-light environments with insufficient signal-to-noise ratio and dynamic range.
Design a signal control circuit, including a photosensitive unit, a first control module and a second control module. By adjusting the signal voltage and conversion gain of the photosensitive unit, the output of the image sensor is directly optimized to avoid image processing by the image signal processor (ISP). noise introduced.
It achieves high signal-to-noise ratio in low-light environments and high dynamic range images in high-light environments, improving the shooting effect and image quality and reducing noise interference.
Smart Images

Figure CN115118891B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of camera technology, and specifically relates to a signal control circuit, an image sensor, an electronic device and an image processing method. Background Art
[0002] Typically, an electronic device can output a raw image through an image sensor of the electronic device, and perform image processing (such as vignetting correction, multi-frame image fusion, etc.) on the raw image through an image signal processor (ISP) of the electronic device to obtain a captured image with higher clarity and dynamic range.
[0003] However, since more noise may be introduced when the ISP processes the raw image, the quality of the captured image may be poor, thus resulting in poor shooting effect of the electronic device. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a signal control circuit, an image sensor, an electronic device and an image processing method, which can obtain captured images with a high signal-to-noise ratio in a low-light environment and a high dynamic range in a high-light environment, and can achieve the effect of improving the shooting effect of the electronic device.
[0005] In a first aspect, an embodiment of the present application provides a signal control circuit, the signal control circuit comprising: a photosensitive unit, the first end of the photosensitive unit is grounded; a first control module, the first control module is connected to the second end of the photosensitive unit, the first control module is used to adjust the signal voltage corresponding to the photosensitive unit; a second control module, the second control module is connected to the first control module, the second control module is also connected to the output end of the signal control circuit, the second control module is used to adjust the conversion gain. The above conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module into the output voltage.
[0006] In a second aspect, an embodiment of the present application provides an image sensor, which includes at least one signal control circuit as described in the first aspect.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes the image sensor as described in the second aspect.
[0008] In a fourth aspect, an embodiment of the present application provides an image processing method, the method comprising: acquiring a preview image through an image sensor of an electronic device, the preview image comprising N image areas, each image area having a different brightness parameter, each image area corresponding to a photosensitive area of the image sensor, and N being a positive integer greater than 1; adjusting the output voltage of a signal control circuit corresponding to the N photosensitive areas based on the brightness parameters of the N image areas; acquiring N groups of image data through the signal control circuit corresponding to the adjusted N photosensitive areas, the N groups of image data corresponding one-to-one to the N photosensitive areas; and obtaining a target image based on the N groups of image data.
[0009] In a fifth aspect, an embodiment of the present application provides an image processing device, the image processing device comprising:
[0010] An acquisition module, the acquisition module is used to acquire a preview image through an image sensor of an image processing device, the preview image includes N image areas, each image area has a different brightness parameter, each image area corresponds to a photosensitive area of the image sensor, and N is a positive integer greater than 1. An adjustment module, the adjustment module is used to adjust the output voltage of the signal control circuit corresponding to the N photosensitive areas based on the brightness parameters of the N image areas. The acquisition module is also used to acquire N groups of image data through the signal control circuit corresponding to the N photosensitive areas adjusted by the adjustment module, and the N groups of image data correspond to the N photosensitive areas one by one. A processing module, the processing module is used to obtain a target image based on the N groups of image data acquired by the acquisition module.
[0011] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the fourth aspect are implemented.
[0012] In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the fourth aspect are implemented.
[0013] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described in the fourth aspect.
[0014] In a ninth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the fourth aspect.
[0015] In an embodiment of the present application, the signal control circuit includes a photosensitive unit with a first end grounded, a first control module connected to a second end of the photosensitive unit, and a second control module connected to the first control module and the output end of the signal control circuit, wherein the first control module is used to adjust the signal voltage corresponding to the photosensitive unit, and the second control module is used to adjust the conversion gain, and the conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module into the output voltage, so that the signal control circuit can adjust the signal voltage corresponding to the photosensitive unit, and convert the signal voltage corresponding to the first control module into the output voltage according to the adjusted conversion gain. Since the signal control circuit adjusts the signal voltage corresponding to the photosensitive unit and converts the signal voltage corresponding to the first control module into the output voltage according to the adjusted conversion gain, a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment can be obtained without the need to perform image processing through the ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect.
[0016] In an embodiment of the present application, the electronic device may first collect a preview image including N image areas (each image area has a different brightness parameter, and each image area corresponds to a photosensitive area of the image sensor) through the image sensor of the electronic device, and adjust the output voltage of the signal control circuit corresponding to the N photosensitive areas based on the brightness parameters of the N image areas, and collect N groups of image data (the N groups of image data correspond to the N photosensitive areas one by one) through the signal control circuit corresponding to the adjusted N photosensitive areas, so that the electronic device can obtain the target image according to the N groups of image data. Since the electronic device can determine the different image areas (i.e., N image areas) corresponding to the different brightness parameters of the preview image, and adjust the output voltage of the signal control circuit of the different photosensitive areas corresponding to the different image areas based on the brightness parameters of the different image areas, it can obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment, without the need to perform image processing through the ISP, so that it can avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is one of the structural schematic diagrams of the signal control circuit provided in the embodiment of the present application;
[0018] Figure 2 This is the second structural schematic diagram of the signal control circuit provided in the embodiment of the present application;
[0019] Figure 3 This is the third structural diagram of the signal control circuit provided in the embodiment of the present application;
[0020] Figure 4 This is the fourth structural diagram of the signal control circuit provided in the embodiment of the present application;
[0021] Figure 5 is a schematic diagram of the structure of an image sensor provided in an embodiment of the present application;
[0022] Figure 6 It is one of the structural schematic diagrams of the electronic device provided in the embodiment of the present application;
[0023] Figure 7 This is one of the flowcharts of the image processing method provided in the embodiment of the present application;
[0024] Figure 8 This is the second flowchart of the image processing method provided in the embodiment of the present application;
[0025] Fig. 9 is a structural schematic diagram of an image processing device provided in an embodiment of the present application;
[0026] Fig.10 This is the second structural diagram of the electronic device provided in the embodiment of the present application;
[0027] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0030] The signal control circuit, image sensor, electronic device and image processing method provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0031] Figure 1 A possible structural diagram of a signal control circuit provided in an embodiment of the present application is shown. Figure 1 As shown, the signal control circuit includes: a photosensitive unit PD1, a first end of which is grounded; a first control module 10, which is connected to the second end of the photosensitive unit PD1, and is used to adjust the signal voltage corresponding to the photosensitive unit PD1; a second control module 11, which is connected to the first control module 10, and is also connected to the output end of the signal control circuit, and is used to adjust the conversion gain. The above conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module 10 into the output voltage.
[0032] Optionally, in the embodiment of the present application, the photosensitive unit PD1 may include at least one photosensitive unit, and the photosensitive unit PD1 may specifically be a photodiode.
[0033] It can be understood that when the photosensitive unit PD1 is exposed, the photosensitive unit PD1 can generate electrons and holes according to the light signal, wherein the electrons can move to the N region of the photosensitive unit PD1, and the holes can move to the P region of the photosensitive unit PD1, so that the photosensitive unit PD1 can generate and output charges to output signal voltage.
[0034] Optionally, in the embodiment of the present application, combined with Figure 1 The cathode electrode of the photosensitive unit PD1 can be grounded, and the anode electrode of the photosensitive unit PD1 (ie, the second end of the photosensitive unit PD1) can be connected to the first control module 10 through the switch tube TX1, so that the signal voltage generated by the photosensitive unit PD1 can enter the first control module 10.
[0035] In the embodiment of the present application, the first control module 10 is used to adjust the signal voltage corresponding to the photosensitive unit PD1.
[0036] It should be noted that the above “signal voltage corresponding to the photosensitive unit PD1 ” can be understood as: the signal voltage generated and output by the photosensitive unit PD1 when the photosensitive unit PD1 is exposed.
[0037] Optionally, in an embodiment of the present application, the first control module 10 includes N switching tubes and N capacitors, each of the N capacitors is connected to the photosensitive unit PD1 through one of the N switching tubes, and N is a positive integer greater than 1.
[0038] Further optionally, in the embodiment of the present application, each of the above-mentioned N switch tubes can specifically be a metal-oxide-semiconductor field effect transistor (metal-oxide-semiconductor, MOS) tube.
[0039] Further optionally, in the embodiment of the present application, each of the above-mentioned N capacitors can be regarded as a charge storage capacitor.
[0040] It should be noted that, with respect to the number of at least N capacitors, those skilled in the art may select the number according to the size requirements of the signal control circuit, and the embodiments of the present application do not limit this.
[0041] Optionally, in the embodiment of the present application, the capacitance of each of the N capacitors may be the same or different.
[0042] Exemplarily, assuming that at least N capacitors include capacitor 1, capacitor 2 and capacitor 3, the capacitance of the N capacitors can be the same, for example, the capacitance of capacitor 1 can be a, the capacitance of capacitor 2 can be a and the capacitance of capacitor 3 can be a, and the ratio of the capacitance of capacitor 1, capacitor 2 and capacitor 3 can be 1:1:1.
[0043] As another example, assuming that the N capacitors include capacitor 1, capacitor 2, and capacitor 3, the capacitance of the N capacitors may be different. For example, the capacitance of capacitor 1 may be a, the capacitance of capacitor 2 may be 2a, and the capacitance of capacitor 3 may be 4a. The ratio of the capacitance of capacitor 1, capacitor 2, and capacitor 3 may be 1:2:4.
[0044] Optionally, in an embodiment of the present application, N capacitors can be connected in parallel, and the second end of each of the N capacitors can be grounded, and the first end of each of the N capacitors can be connected to the second end of the photosensitive unit PD1 through a switching tube.
[0045] Optionally, in an embodiment of the present application, the first control module 10 may first determine the target signal voltage, and based on the target signal voltage, determine P target capacitors from N capacitors, and then control the switch tubes connected to the first ends of the P target capacitors to be in an on state, and control the switch tubes connected to the first ends of other capacitors (i.e., capacitors in the N capacitors except the P target capacitors) to be in an off state, so as to adjust the signal voltage corresponding to the photosensitive unit PD1; wherein the P target capacitors may include at least one capacitor, and P is a positive integer.
[0046] It can be understood that the first control module 10 can adjust the signal voltage corresponding to the photosensitive unit PD1 by adjusting the capacitor connected to the second end of the photosensitive unit PD1.
[0047] In an embodiment of the present application, when the shooting environment is a high-brightness environment (i.e., an environment where the brightness value is greater than or equal to a preset brightness value), the target capacitor may include P1 capacitors (i.e., the number of P1 capacitors is greater than or equal to the preset value of capacitors). Therefore, the signal voltage output by the photosensitive unit PD1 can enter the P1 capacitors, thereby increasing the full-well capacity of the photosensitive unit PD1, and further increasing the strong light signal detection capability of the photosensitive unit PD1, thereby improving the dynamic range of the captured image in a high-brightness environment.
[0048] In an embodiment of the present application, when the shooting environment is a low-light environment (i.e., an environment in which the brightness value is less than a preset brightness value), the target capacitor may include P2 capacitors (i.e., the number of P2 capacitors is less than the preset value of capacitors). Therefore, the signal voltage output by the photosensitive unit PD1 can enter the P2 capacitors, thereby improving the signal perception ability (sensitivity) of the photosensitive unit PD1, thereby improving the signal-to-noise ratio of the captured image in a low-light environment.
[0049] In the embodiment of the present application, the value of P1 may be greater than the value of P2.
[0050] It can be understood that since the capacitance of the capacitor is inversely proportional to the voltage when the charge is fixed, the target capacitor can include P1 capacitors, so that after the charge (i.e., signal voltage) output by the photosensitive unit PD1 enters the P1 capacitors, the P1 capacitors can amplify the signal voltage, thereby improving the signal perception capability of the photosensitive unit PD1.
[0051] In the embodiment of the present application, after the first control module 10 adjusts the signal voltage corresponding to the photosensitive unit PD1 , the first control module 10 may output the signal voltage to the second control module 11 , so that the signal voltage may enter the second control module 11 .
[0052] In the embodiment of the present application, the second control module 11 is used to adjust the conversion gain, which is used to indicate the gain of converting the signal voltage corresponding to the first control module 10 into the output voltage.
[0053] It should be noted that the above “signal voltage corresponding to the first control module 10 ” can be understood as: the signal voltage output to the second control module 11 after the first control module 10 adjusts the signal voltage corresponding to the photosensitive unit PD1 .
[0054] Optionally, in an embodiment of the present application, the second control module 11 includes M switch tubes and M target source followers, each of the target source followers is connected to the first control module 10 via one of the M switch tubes, and M is a positive integer greater than 1.
[0055] Further optionally, in the embodiment of the present application, each of the above-mentioned M switch tubes can specifically be a MOS tube.
[0056] Further optionally, in the embodiment of the present application, the M target source followers may include at least two target source followers, wherein each of the M target source followers may be regarded as a voltage signal amplifier.
[0057] It should be noted that, with respect to the number of the M target source followers, those skilled in the art may select the number according to the size requirements of the signal control circuit, and the embodiments of the present application do not limit this.
[0058] Optionally, in an embodiment of the present application, for each target source follower among the M target source followers, an amplification gain (gain) of one target source follower is greater than 1, and the amplification gain of the one target source follower may be the same as or different from the amplification gains of other target source followers, and the other target source followers are: the target source followers among the M target source followers except the one target source follower.
[0059] For each of the M target source followers, a target mode may be adopted for one target source follower, so that the amplification gain of the one target source follower is greater than 1.
[0060] The target method includes at least one of the following: stacked pixel, using a target transistor, improving the quality of the gate oxide layer, and reducing the thickness of the gate oxide layer.
[0061] The above-mentioned “pixel stack” can be understood as: the signal control circuit can be arranged below the photosensitive layer. The above-mentioned “using the target transistor” can be understood as: using the target transistor as a target source follower, wherein the target transistor can be any of the following: a transistor similar to a fin field effect transistor (Fin Field-Effect Transistor; FinFET), a P-type metal-oxide-semiconductor field effect transistor (metal-oxide-semiconductor, MOS) tube.
[0062] Optionally, in an embodiment of the present application, M target source followers may be connected in series.
[0063] Optionally, in the embodiment of the present application, for each of the M target source followers, the third terminal of a target source follower may be connected to a power supply to power the target source follower through the power supply.
[0064] Optionally, in an embodiment of the present application, the first end of each of the M target source followers can be connected to the first control module 10 through a switching tube; the second end of the first target source follower among the M target source followers is connected to the first end of the second target source follower, and the second end of the second target source follower is connected to the first end of the third target source follower, and the second end of the third target source follower is connected to the first end of the fourth target source follower, and so on.
[0065] Optionally, in an embodiment of the present application, the second control module 11 may first determine the target conversion gain, and based on the target conversion gain, determine Q target source followers from M target source followers, and then control the switch tube connected to the first end of the first target source follower among the Q target source followers to be in an on state, and control the switch tube connected to the first end of other target source followers (i.e., the target source followers among the M target source followers except the first target source follower) to be in an off state, so as to adjust the conversion gain; Q is a positive integer.
[0066] It can be understood that the second control module 11 can adjust the conversion gain by adjusting the target source follower connected to the first control module 10 .
[0067] In an embodiment of the present application, when the shooting environment is a high-brightness environment, the Q target source followers may include Q1 target source followers (that is, the number of Q1 target source followers is less than a preset value of target source followers), that is, the signal voltage corresponding to the first control module 10 can be amplified by Q1 target source followers, thereby avoiding overexposure of the captured image, and therefore, the dynamic range of the captured image in a high-brightness environment can be improved.
[0068] In an embodiment of the present application, when the shooting environment is a low-light environment, the Q target source followers may include Q2 target source followers (that is, the number of Q2 target source followers is greater than or equal to a preset value of target source followers), that is, the signal voltage corresponding to the first control module 10 can be amplified by the Q2 target source followers, and therefore, the signal perception ability of the photosensitive unit PD1 can be improved, thereby improving the signal-to-noise ratio of the captured image in a low-light environment.
[0069] In the embodiment of the present application, the value of Q1 may be smaller than the value of Q2.
[0070] In the embodiment of the present application, the noise introduced by the Q target source followers for amplification is less than the noise introduced by the ISP for analog gain, and therefore, the signal-to-noise ratio of the captured image can be further improved.
[0071] In the embodiment of the present application, after the second control module 11 adjusts the conversion gain, the output end of the circuit can output a signal voltage corresponding to the second control module 11 .
[0072] It should be noted that the above “signal voltage corresponding to the second control module 11 ” can be understood as: the signal voltage output to the output end after the second control module 11 adjusts the conversion gain of the signal voltage corresponding to the first control module 11 .
[0073] Optionally, in the embodiment of the present application, combined with Figure 1 The second control module 11 can be connected to the output terminal Vout of the signal control circuit through a switch tube SET. The switch tube SET is also connected to a first terminal of a direct current power source DC, and a second terminal of the direct current power source DC is grounded.
[0074] Of course, in order to further reduce the noise of the signal control circuit, a reset module may be provided to reset the first control module 10 and the second control module 11 through the reset module, which will be described below with examples.
[0075] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 2 As shown, the signal control circuit further includes: a target power supply VDD1; a reset switch RST1, a first end of the reset switch RST1 is connected to the target power supply VDD1, and a second end of the reset switch RST1 is connected to the first control module 10 and the second control module 11 respectively.
[0076] Further optionally, in the embodiment of the present application, the reset switch RST1 may specifically be a MOS tube.
[0077] In the embodiment of the present application, the target power source VDD1 is used to send a reset signal to the first control module 10 and the second control module 11 through the reset switch RST1 to reset the first control module 10 and the second control module 11 .
[0078] Further optionally, in an embodiment of the present application, before the photosensitive unit PD1 is exposed, the target power supply VDD1 can send a reset signal to the first control module 10 and the second control module 11 through the reset switch RST1; or, after the photosensitive unit PD1 is exposed, the switch tube TX1 can be controlled to be in the off state, and the reset switch RST1 can be controlled to be in the on state, and then the target power supply VDD1 can send a reset signal to the first control module 10 and the second control module 11 through the reset switch RST1.
[0079] It can be seen that since the first control module and the second control module can be reset by the target power supply, the noise of the first control module and the second control module can be reduced, thereby reducing the noise of the signal output by the signal control circuit, thereby improving the signal-to-noise ratio of the captured image.
[0080] The signal control circuit provided in the embodiment of the present application includes a photosensitive unit with a first end grounded, a first control module connected to the second end of the photosensitive unit, and a second control module connected to the first control module and the output end of the signal control circuit, wherein the first control module is used to adjust the signal voltage corresponding to the photosensitive unit, and the second control module is used to adjust the conversion gain, and the conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module into the output voltage, so that the signal control circuit can adjust the signal voltage corresponding to the photosensitive unit, and convert the signal voltage corresponding to the first control module into the output voltage according to the adjusted conversion gain. Since the signal control circuit adjusts the signal voltage corresponding to the photosensitive unit and converts the signal voltage corresponding to the first control module into the output voltage according to the adjusted conversion gain, a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment can be obtained without the need to perform image processing through the ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect.
[0081] Furthermore, the signal control circuit can implement the algorithm operation in the ISP in the related technology in the signal control circuit, which can reduce the noise component, suppress image noise, improve the dynamic range of the captured image, and improve the signal-to-noise ratio of the captured image, thereby improving the user experience.
[0082] The specific structures of the first control module 10 and the second control module 11 are respectively described below with examples.
[0083] For the first control module 10:
[0084] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 3 As shown, the above-mentioned first control module 10 includes: a first capacitor FD1, a first end of the first capacitor FD1 is grounded, and a second end of the first capacitor FD1 is connected to the second end of the photosensitive unit PD1 through the first switch tube TG1; a second capacitor FD2, a first end of the second capacitor FD2 is grounded, and a second end of the second capacitor FD2 is connected to the second end of the photosensitive unit PD1 through the second switch tube TG2; a third capacitor FD3, a first end of the third capacitor FD3 is grounded, and a second end of the third capacitor FD3 is connected to the second end of the photosensitive unit PD1 through the third switch tube TG3.
[0085] Further optionally, in the embodiment of the present application, the first switch tube TG1, the second switch tube TG2 and the third switch tube TG3 may all be MOS tubes.
[0086] Further optionally, in the embodiment of the present application, the ratio of the capacitances of the first capacitor FD1 , the second capacitor FD2 , and the third capacitor FD3 may specifically be: 1:2:4.
[0087] It can be understood that the first control module 10 can adjust the signal voltage corresponding to the photosensitive unit PD1 to: 1 to 7 times the first signal voltage. The first signal voltage can specifically be the signal voltage obtained after the first control module 10 adjusts the signal voltage corresponding to the photosensitive unit PD1 when only the first capacitor FD1 is connected to the photosensitive unit PD1.
[0088] Exemplarily, when the first switch tube TG1 is in the on state, and the second switch tube TG2 and the third switch tube TG3 are in the off state, the first control module 10 can adjust the signal voltage corresponding to the photosensitive unit PD1 to: 1 times the first signal voltage.
[0089] When the first switch tube TG1 , the second switch tube TG2 , and the third switch tube TG3 are all in the on state, the first control module 10 can adjust the signal voltage corresponding to the photosensitive unit PD1 to 7 times of the first signal voltage.
[0090] Thus, it can be seen that since the signal voltage corresponding to the photosensitive unit can be adjusted by at least one of the first capacitor, the second capacitor and the third capacitor to obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment without setting more capacitors, the size of the signal control circuit can be reduced, thus saving costs.
[0091] Optionally, in the embodiment of the present application, combined with Figure 3 The second end of the first capacitor FD1 is also connected to the second control module 11 through the first switch tube TG1; the second end of the second capacitor FD2 is also connected to the second control module 11 through the second switch tube TG2; the second end of the third capacitor FD3 is also connected to the second control module 11 through the third switch tube TG3.
[0092] Further optionally, in an embodiment of the present application, after the photosensitive unit PD1 outputs all the signal voltages, the switch tube TX1 can be controlled to be in a cut-off state, so that the first capacitor FD1, and / or the second capacitor FD2, and / or the third capacitor FD3 can output the signal voltage corresponding to the photosensitive unit PD1 to the second control module 11.
[0093] It can be seen that since the second end of the first capacitor, the second end of the second capacitor and the second end of the third capacitor can be directly connected to the second control module without setting up other circuit structures, the size of the signal control circuit can be reduced, thus saving costs.
[0094] For the second control module 11:
[0095] Optionally, in the embodiment of the present application, Figure 4 As shown, the above-mentioned second control module 11 includes: a first target source follower SF1, a first end of the first target source follower SF1 is connected to the first control module 10 through a fourth switch tube TG4; a second target source follower SF2, a first end of the second target source follower SF2 is connected to the first control module 10 through a fifth switch tube TG5, and a first end of the second target source follower SF2 is also connected to a second end of the first target source follower SF1; a third target source follower SF3, a first end of the third target source follower SF3 is connected to the first control module 10 through a sixth switch tube TG6, a first end of the third target source follower SF3 is also connected to a second end of the second target source follower SF2, and a second end of the third target source follower SF3 is connected to the output end Vout of the signal control circuit.
[0096] Further optionally, in the embodiment of the present application, the amplification gains of the first target source follower SF1 , the second target source follower SF2 , and the third target source follower SF3 may be the same.
[0097] Specifically, the amplification gains of the first target source follower SF1 , the second target source follower SF2 , and the third target source follower SF3 may be 1.2.
[0098] It can be understood that the amplification gain of the second control module 11 can be: 1.2-1.73.
[0099] Exemplarily, when the sixth switch tube TG6 is in the on state, and the fourth switch tube TG4 and the fifth switch tube TG5 are in the off state, the amplification gain of the second control module 11 can be 1.2, that is, the signal voltage corresponding to the first control module 10 is amplified by the third target source follower SF3.
[0100] When the fifth switch tube TG5 is in the on state and the fourth switch tube TG4 and the sixth switch tube TG6 are in the off state, the amplification gain of the second control module 11 can be 1.44, that is, the signal voltage corresponding to the first control module 10 is amplified by the second target source follower SF2 and the third target source follower SF3.
[0101] When the fourth switch tube TG4 is in the on state, and the fifth switch tube TG5 and the sixth switch tube TG6 are in the off state, the amplification gain of the second control module 11 can be 1.73, that is, the signal voltage corresponding to the first control module 10 is amplified through the first target source follower SF1, the second target source follower SF2 and the third target source follower SF3.
[0102] It can be seen that since the second control module can adjust the conversion gain to amplify the signal voltage corresponding to the first control module through at least one of the first target source follower, the second target source follower and the third target source follower, so as to obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment without setting up more target source followers, the size of the signal control circuit can be reduced, thereby saving costs.
[0103] Figure 5 A possible structural diagram of an image sensor provided by an embodiment of the present application is shown. Figure 5 As shown, the image sensor 20 includes at least one signal control circuit 21 in the above-mentioned embodiments.
[0104] Optionally, in an embodiment of the present application, the image sensor 20 may include a pixel array, the pixel array includes at least one pixel unit, and each pixel unit in the at least one pixel unit includes a signal control circuit 21 in the above embodiment.
[0105] Optionally, in an embodiment of the present application, the image sensor 20 can send a control signal to the first control module and / or the second control module of a certain (or some) pixel unit among at least one pixel unit, so that the first control module of the certain (or some) pixel unit can adjust the signal voltage corresponding to the photosensitive unit, and / or the second control module of the certain (or some) pixel unit can adjust the conversion gain.
[0106] It should be noted that, for the description of the first control module adjusting the signal voltage corresponding to the photosensitive unit and the second control module adjusting the conversion gain, reference can be made to the specific description in the above embodiment, and the embodiments of the present application will not be repeated here.
[0107] The image sensor provided in the embodiment of the present application includes at least one signal control circuit in the above-mentioned embodiment. Since the signal control circuit of the image sensor adjusts the signal voltage corresponding to the photosensitive unit and converts the signal voltage corresponding to the first control module into an output voltage according to the adjusted conversion gain, a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment can be obtained without the need to perform image processing through the ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect.
[0108] Figure 6 A possible structural diagram of an electronic device provided in an embodiment of the present application is shown. Figure 6 As shown, the electronic device 30 includes the image sensor 31 in the above embodiment.
[0109] Optionally, in an embodiment of the present application, the electronic device 30 may send control information (e.g., a control matrix) to the image sensor 31, so that the image sensor 31 may send a control signal to a first control module and / or a second control module of a certain (or certain) pixel unit among at least one pixel unit of the image sensor 31 according to the control matrix, so that the first control module of the certain (or certain) pixel unit can adjust the signal voltage corresponding to the photosensitive unit, and / or the second control module of the certain (or certain) pixel unit can adjust the conversion gain.
[0110] It should be noted that, for the description of the first control module of the image sensor 31 adjusting the signal voltage corresponding to the photosensitive unit and the second control module adjusting the conversion gain, reference can be made to the specific description in the above embodiment, and the embodiments of the present application will not be repeated here.
[0111] An electronic device provided in an embodiment of the present application includes an image sensor in the above-mentioned embodiment. Since the signal control circuit of the image sensor of the electronic device adjusts the signal voltage corresponding to the photosensitive unit and converts the signal voltage corresponding to the first control module into an output voltage according to the adjusted conversion gain, a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment can be obtained without the need to perform image processing through an ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect.
[0112] Figure 7 FIG. 1 is a flowchart of an image processing method provided by an embodiment of the present application, which is applied to the electronic device in the above embodiment. Figure 7 As shown, the image processing method provided in the embodiment of the present application may include the following steps 101 to 104.
[0113] Step 101: The electronic device collects a preview image through an image sensor of the electronic device.
[0114] Optionally, in an embodiment of the present application, in the case of an electronic device target application, the electronic device may display a shooting preview interface and capture a preview image through an image sensor.
[0115] The target application may be any of the following: a shooting application, a chatting application, a short video interactive application, etc.
[0116] In the embodiment of the present application, the preview image includes N image areas, each of the N image areas has a different brightness parameter, each of the image areas corresponds to a photosensitive area of the image sensor, and N is a positive integer.
[0117] Optionally, in the embodiment of the present application, the above brightness parameter may specifically be a brightness value.
[0118] Optionally, in an embodiment of the present application, after the electronic device captures the preview image, the electronic device may obtain brightness parameters of all pixels of the preview image, and divide the preview image into N image areas according to the brightness parameters of all pixels.
[0119] Optionally, in the embodiment of the present application, combined with Figure 7 ,like Figure 8 As shown, after the above step 101, the image processing method provided in the embodiment of the present application may further include the following steps 201 and 202.
[0120] Step 201: The electronic device performs grayscale processing on the preview image to obtain a first image.
[0121] It should be noted that, for the description of “grayscale processing”, reference may be made to the specific description in the relevant technology, and the embodiments of the present application will not be elaborated here.
[0122] It can be understood that the first image is a grayscale image.
[0123] Step 202: The electronic device determines N image areas based on the brightness parameter of each pixel in the first image.
[0124] Further optionally, in the embodiment of the present application, the first image includes M pixels, where M is a positive integer greater than 1. It can be understood that the M pixels may specifically be all the pixels of the first image.
[0125] Further optionally, in an embodiment of the present application, the electronic device may first divide the M pixels into N groups of pixels according to X preset brightness ranges, and then determine the image areas where the N groups of pixels are located as N areas, and determine N image areas based on the N areas.
[0126] Specifically, the X preset brightness ranges may be continuous brightness ranges; each of the N regions corresponds to an image region where a group of pixels are located; and the N image regions correspond to the N regions one by one.
[0127] It should be noted that the above-mentioned “continuous brightness range” can be understood as: the X preset brightness ranges do not overlap, and the maximum boundary value of any preset brightness range is adjacent to the minimum boundary value of one of the X preset brightness ranges, and the minimum boundary value of any preset brightness range is adjacent to the maximum boundary value of another preset brightness range among the X preset brightness ranges.
[0128] Exemplarily, the X preset brightness ranges include: preset brightness range 1, preset brightness range 2, and preset brightness range 3, wherein the preset brightness range 1 is [20, 50], the preset brightness range 2 is (50, 120], and the preset brightness range 3 is (120, 200], that is, the preset brightness range 1, the preset brightness range 2, and the preset brightness range 3 are continuous brightness ranges.
[0129] Specifically, the brightness value of each group of pixel points in the above N groups of pixel points is respectively within a preset brightness range, and X is a positive integer greater than or equal to N.
[0130] Specifically, the electronic device may obtain brightness values of M pixels, and divide the M pixels into N groups of pixels according to the brightness values of the M pixels and X preset brightness ranges.
[0131] In an example, when X is greater than N, the electronic device may first determine N preset brightness ranges from the X preset brightness ranges based on the brightness values of the M pixels, and then group the brightness values of the M pixels based on the N preset brightness ranges to obtain N groups of pixels.
[0132] It can be understood that the brightness values of the M pixels are within N preset brightness ranges.
[0133] In another example, when X is equal to N, the electronic device can directly group the brightness values of M pixels according to N preset brightness ranges to obtain N groups of pixels.
[0134] Specifically, the electronic device may respectively obtain the position information of the pixels in each group of the N groups of pixels, and then determine a region according to the position information of the pixels in each group of the pixels, so as to determine N regions.
[0135] Specifically, in the embodiment of the present application, the electronic device may map the N regions one by one onto the preview image according to the position information of each region in the N regions to determine the N image regions.
[0136] It can be seen that since the electronic device can first grayscale the preview image to obtain the first image, the brightness parameters of the areas in the first image are different. Therefore, the electronic device can accurately determine the N image areas of the preview image based on the brightness parameters of each pixel in the first image.
[0137] Step 102: The electronic device adjusts the output voltages of the signal control circuits corresponding to the N photosensitive areas based on the brightness parameters of the N image areas.
[0138] Optionally, in an embodiment of the present application, the output voltage can be adjusted by the first control module or the second control module, and the electronic device can use N target signal voltages (obtained by adjusting the first control module) and N target conversion gains (obtained by adjusting the second control module) to respectively adjust the output voltage of the signal control circuit corresponding to the N photosensitive areas, and the N target signal voltages correspond one-to-one to the N photosensitive areas, and the N target conversion gains correspond one-to-one to the N photosensitive areas.
[0139] The N target signal voltages and the N target conversion gains may be determined based on N image areas, the N image areas correspond one-to-one to the N target signal voltages, and the N image areas correspond one-to-one to the N target conversion gains.
[0140] Further optionally, in an embodiment of the present application, for each photosensitive area among the N photosensitive areas, the electronic device can adjust the signal voltage of the signal control circuit corresponding to the one photosensitive area (i.e., the signal voltage corresponding to the photosensitive unit) to the target signal voltage, and adjust the conversion gain of the signal control circuit corresponding to the one photosensitive area to the target conversion gain.
[0141] Optionally, in an embodiment of the present application, the electronic device may send a control matrix to the image sensor, the control matrix including N groups of parameters, each group of parameters being used to adjust the output voltage of a signal control circuit corresponding to a photosensitive area of the image sensor, so that the image sensor can adjust the states of switch tubes of the signal control circuit corresponding to the N photosensitive areas according to the N groups of parameters, so as to adjust the output voltages of the signal control circuit corresponding to the N photosensitive areas.
[0142] Further optionally, in an embodiment of the present application, after the electronic device determines N target signal voltages and N target conversion gains based on N image areas, the electronic device can generate a control matrix based on position information of the N image areas and the N target signal voltages and N target conversion gains, so that the electronic device can send the control matrix to the image sensor.
[0143] Optionally, in an embodiment of the present application, after adjusting the output voltage of the signal control circuit corresponding to the N photosensitive areas, the signal voltage and conversion gain of the signal control circuit corresponding to each of the N photosensitive areas may be different.
[0144] Step 103: The electronic device collects N sets of image data by controlling the circuits through the signals corresponding to the adjusted N photosensitive areas.
[0145] In the embodiment of the present application, the above-mentioned N groups of image data correspond one-to-one to the N photosensitive areas.
[0146] Optionally, in an embodiment of the present application, the electronic device can control the image sensor for exposure so that the photosensitive unit of the signal control circuit corresponding to each of the N photosensitive areas can output a signal voltage, so that the first control module of the signal control circuit corresponding to each photosensitive area can adjust the signal voltage corresponding to the photosensitive unit, so that the second control module of the signal control circuit corresponding to each photosensitive area can adjust the conversion gain and output the signal voltage corresponding to the second control module to obtain N groups of image data.
[0147] Step 104: The electronic device obtains a target image according to the N groups of image data.
[0148] Optionally, in an embodiment of the present application, the electronic device may send N groups of image data to the ISP, so that the ISP may perform algorithm processing on the N groups of image data to obtain a target image.
[0149] Optionally, in the embodiment of the present application, after obtaining the target image, the electronic device may store the target image in a preset storage area, such as a storage area corresponding to a photo album.
[0150] In an embodiment of the present application, since there may be areas with different brightness parameters in the captured image (for example, low-brightness environment areas, high-brightness environment areas, etc.), the electronic device can first capture a preview image through an image sensor to determine different image areas (i.e., N image areas) corresponding to different brightness parameters of the preview image, and then adjust the output voltage of the signal control circuit corresponding to the different photosensitive areas corresponding to the different image areas to adjust the strong light signal detection capability or signal perception capability of the different photosensitive areas, and capture N groups of image data through the signal control circuit corresponding to the adjusted different photosensitive areas, so that the electronic device can obtain the target image based on the N groups of image data.
[0151] In the image processing method provided by the embodiment of the present application, the electronic device can first collect a preview image including N image areas (each image area has a different brightness parameter, and each image area corresponds to a photosensitive area of the image sensor) through the image sensor of the electronic device, and adjust the output voltage of the signal control circuit corresponding to the N photosensitive areas based on the brightness parameters of the N image areas, and collect N groups of image data (the N groups of image data correspond to the N photosensitive areas one by one) through the signal control circuit corresponding to the adjusted N photosensitive areas, so that the electronic device can obtain the target image according to the N groups of image data. Since the electronic device can determine the different image areas (i.e., N image areas) corresponding to the different brightness parameters of the preview image, and adjust the output voltage of the signal control circuit of the different photosensitive areas corresponding to the different image areas based on the brightness parameters of the different image areas, it can obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment, without the need to perform image processing through the ISP, so that it can avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect of the electronic device.
[0152] The following is an example of how an electronic device adjusts the output voltage of a signal control circuit corresponding to N photosensitive areas.
[0153] Optionally, in the embodiment of the present application, the above step 102 can be specifically implemented by the following steps 102a and 102b.
[0154] Step 102a: The electronic device determines a target signal voltage and a target conversion gain of a signal control circuit corresponding to a target photosensitive area among the N photosensitive areas according to a brightness parameter of the target image area among the N image areas.
[0155] It can be understood that the above-mentioned target image region may specifically be: any image region among the N image regions.
[0156] In the embodiment of the present application, the target image area corresponds to the target photosensitive area. It can be understood that the target image area is collected by the signal control circuit corresponding to the target photosensitive area.
[0157] Further optionally, in an embodiment of the present application, the electronic device may determine a target brightness range from the above-mentioned X preset brightness ranges according to the brightness values of the pixels in the target image area, and then determine a target signal voltage and a target conversion gain corresponding to the target brightness range from T corresponding relationships.
[0158] The brightness values of the pixels in the target image area are all within the target brightness range; each of the T corresponding relationships is a corresponding relationship between a brightness range, a signal voltage and a conversion gain.
[0159] Specifically, the electronic device can determine a brightness range that is the same as the target brightness range from the T brightness ranges in the T corresponding relationships, and determine a signal voltage and a conversion gain corresponding to the brightness range as the target signal voltage and the target conversion gain.
[0160] Exemplarily, assuming that the target brightness range is [20, 50], that is, the target image area is a low-brightness environment area, the signal voltage corresponding to the target brightness range is a signal voltage that is 1 times the above-mentioned first signal voltage, and the conversion gain corresponding to the target brightness range is 1.73, then the electronic device can determine the signal voltage that is 1 times the signal voltage as the target signal voltage, and determine 1.73 as the target conversion gain. At this time, the signal perception ability of the photosensitive unit of the signal control circuit corresponding to the target image area is the largest. Therefore, the signal-to-noise ratio and dynamic range of the captured image are both high.
[0161] As another example, assuming that the target brightness range is (50, 120], that is, the target image area is a medium-bright environment area, the signal voltage corresponding to the target brightness range is a signal voltage that is 4 times the first signal voltage, and the conversion gain corresponding to the target brightness range is 1.44, then the electronic device can determine the signal voltage that is 4 times the signal voltage as the target signal voltage, and determine 1.44 as the target conversion gain. At this time, the photosensitive unit of the signal control circuit corresponding to the target image area has a greater ability to detect strong light signals and a greater ability to perceive signals. Therefore, the signal-to-noise ratio and dynamic range of the captured image are both higher.
[0162] As another example, assuming that the target brightness range is (120, 200], that is, the target image area is a high-brightness environment area, the signal voltage corresponding to the target brightness range is a signal voltage that is 7 times the above-mentioned first signal voltage, and the conversion gain corresponding to the target brightness range is 1.2, then the electronic device can determine the signal voltage that is 7 times the signal voltage as the target signal voltage, and determine 1.2 as the target conversion gain. At this time, the strong light signal detection capability of all signal control circuits is the largest, and the signal perception capability is the smallest. Therefore, the signal-to-noise ratio and dynamic range of the captured image are both high.
[0163] Step 102b: The electronic device determines the capacitance of the signal control circuit and the target source follower corresponding to the target photosensitive area based on the target signal voltage and the target conversion gain.
[0164] It can be understood that the electronic device can determine the capacitor connected to the second end of the photosensitive unit among the N capacitors of the signal control circuit corresponding to the target photosensitive area, and the target source follower connected to the first control module among the M target source followers of the signal control circuit corresponding to the target photosensitive area based on the target signal voltage and the target conversion gain.
[0165] Further optionally, in an embodiment of the present application, the electronic device can determine the target capacitance from N capacitors based on the voltage value of the target signal voltage to determine the capacitance of the signal control circuit corresponding to the target photosensitive area, and determine Q target source followers from M target source followers based on the gain value of the target conversion gain to determine the target source followers of the signal control circuit corresponding to the target photosensitive area.
[0166] Further optionally, in an embodiment of the present application, after determining the capacitance and target source follower of the signal control circuit corresponding to the target photosensitive area, the electronic device may control the switch tube connected to the first end of the target capacitance of the signal control circuit corresponding to the target photosensitive area to be in an on state, and control the switch tube connected to the first end of other capacitors (i.e., capacitors among the N capacitors except the target capacitor) to be in an off state, and control the switch tube connected to the first end of the first target source follower among the Q target source followers to be in an on state, and control the switch tube connected to the first end of other target source followers (i.e., target source followers among the Q target source followers except the first target source follower) to be in an off state, so as to adjust the output voltage of the signal control circuit corresponding to the target photosensitive area.
[0167] It can be understood that the electronic device can adjust the signal voltage of the signal control circuit corresponding to the target photosensitive area to the target signal voltage, and adjust the conversion gain of the signal control circuit corresponding to the target photosensitive area to the target conversion gain.
[0168] Thus, it can be known that since the electronic device first determines the target signal voltage and target conversion gain of the signal control circuit corresponding to the photosensitive area corresponding to the target image area according to the brightness parameters of the target image area, and then determines the capacitance and target source follower of the signal control circuit corresponding to the photosensitive area corresponding to the target image area based on the target signal voltage and target conversion gain, the electronic device can adjust the output voltage of the signal control circuit corresponding to the target photosensitive area based on the target signal voltage and target conversion gain to obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment, without the need to perform image processing through the ISP. Therefore, it can avoid introducing more noise when the ISP performs image processing.
[0169] The image processing method provided in the embodiment of the present application can be executed by an image processing device. In the embodiment of the present application, an image processing device executing the image processing method is taken as an example to illustrate the image processing device provided in the embodiment of the present application.
[0170] Fig. 9 A possible structural diagram of an image processing device involved in an embodiment of the present application is shown. Fig. 9 As shown, the image processing device 60 includes: an acquisition module 61, which is used to acquire a preview image through the image sensor of the image processing device 60, and the preview image includes N image areas, each of which has a different brightness parameter, and each image area corresponds to a photosensitive area of the image sensor, and N is a positive integer greater than 1. An adjustment module 62, which is used to adjust the output voltage of the signal control circuit corresponding to the N photosensitive areas based on the brightness parameters of the N image areas. The acquisition module 61 is also used to acquire N groups of image data through the signal control circuit corresponding to the N photosensitive areas adjusted by the adjustment module 62, and the N groups of image data correspond to the N photosensitive areas one by one. A processing module 63, which is used to obtain a target image according to the N groups of image data acquired by the acquisition module 61.
[0171] In a possible implementation, the processing module 63 is further configured to perform grayscale processing on the preview image to obtain a first image; and determine N image regions based on a brightness parameter of each pixel in the first image.
[0172] In one possible implementation, the above-mentioned adjustment module 62 is specifically used to determine the target signal voltage and target conversion gain of the signal control circuit corresponding to the target photosensitive area among the N photosensitive areas based on the brightness parameters of the target image area among the N image areas; and based on the target signal voltage and target conversion gain, determine the capacitance and target source follower of the signal control circuit corresponding to the target photosensitive area.
[0173] The image processing device provided in the embodiment of the present application can obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment without the need to perform image processing through an ISP, because the image processing device can determine different image areas (i.e., N image areas) corresponding to different brightness parameters of the preview image and adjust the output voltages of the signal control circuits of different photosensitive areas corresponding to the different image areas based on the brightness parameters of the different image areas, without the need to perform image processing through an ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image, and thus improving the shooting effect of the image processing device.
[0174] The image processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile internet device (mobile internet device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (network attached storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0175] The image processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0176] The image processing device provided in the embodiment of the present application can achieve Figure 7 and Figure 8 The various processes implemented in the method embodiment achieve the same technical effect and will not be described again here to avoid repetition.
[0177] Optionally, in the embodiment of the present application, Fig.10As shown, an embodiment of the present application further provides an electronic device 80, including a processor 81 and a memory 82, wherein the memory 82 stores programs or instructions that can be executed on the processor 81, and when the program or instructions are executed by the processor 81, the various process steps of the above-mentioned image processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0178] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0179] Fig.11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0180] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0181] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system.
[0182] The electronic device 100 may also include a signal control circuit, which includes: a photosensitive unit, a first end of which is grounded; a first control module, which is connected to the second end of the photosensitive unit, and is used to adjust the signal voltage corresponding to the photosensitive unit; a second control module, which is connected to the first control module and is also connected to the output end of the signal control circuit, and is used to adjust the conversion gain; wherein the conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module into the output voltage.
[0183] Optionally, in an embodiment of the present application, the first control module of the signal control circuit includes N switching tubes and N capacitors, each capacitor is connected to the photosensitive unit through one of the N switching tubes, and N is a positive integer greater than 1; the second control module includes M switching tubes and M target source followers, each target source follower is connected to the first control module through one of the M switching tubes, and M is a positive integer greater than 1.
[0184] Optionally, in an embodiment of the present application, the first control module includes: a first capacitor, a first end of the first capacitor is grounded, and a second end of the first capacitor is connected to the second end of the photosensitive unit through a first switch tube; a second capacitor, a first end of the second capacitor is grounded, and a second end of the second capacitor is connected to the second end of the photosensitive unit through a second switch tube; a third capacitor, a first end of the third capacitor is grounded, and a second end of the third capacitor is connected to the second end of the photosensitive unit through a third switch tube.
[0185] Optionally, in an embodiment of the present application, the second end of the first capacitor is also connected to the second control module through the first switch tube; the second end of the second capacitor is also connected to the second control module through the second switch tube; the second end of the third capacitor is also connected to the second control module through the third switch tube.
[0186] Optionally, in the embodiment of the present application, the second control module includes: a first target source follower, a first end of the first target source follower is connected to the first control module via a fourth switch tube;
[0187] A second target source follower, a first end of the second target source follower is connected to the first control module through a fifth switch tube, and the first end of the second target source follower is also connected to the second end of the first target source follower; a third target source follower, a first end of the third target source follower is connected to the first control module through a sixth switch tube, the first end of the third target source follower is also connected to the second end of the second target source follower, and the second end of the third target source follower is connected to the output end of the signal control circuit.
[0188] Optionally, in an embodiment of the present application, the signal control circuit also includes: a target power supply; a reset switch, a first end of the reset switch being connected to the target power supply, and a second end of the reset switch being connected to the first control module and the second control module, respectively; wherein the target power supply is used to send a reset signal to the first control module and the second control module through the reset switch to reset the first control module and the second control module.
[0189] Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0190] Among them, the processor 110 is used to collect a preview image through an image sensor of the electronic device, and the preview image includes N image areas, each image area has a different brightness parameter, each image area corresponds to a photosensitive area of the image sensor, and N is a positive integer greater than 1; and based on the brightness parameters of the N image areas, the output voltage of the signal control circuit corresponding to the N photosensitive areas is adjusted respectively; then, N groups of image data are collected through the signal control circuit corresponding to the adjusted N photosensitive areas, and the N groups of image data correspond to the N photosensitive areas one by one; and, according to the N groups of image data, a target image is obtained.
[0191] The electronic device provided in the embodiment of the present application can obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment without the need to perform image processing through an ISP. Therefore, it is possible to avoid introducing more noise when the ISP performs image processing, thereby improving the image quality of the captured image. In this way, the shooting effect of the electronic device can be improved.
[0192] Optionally, in an embodiment of the present application, the processor 110 is further used to perform grayscale processing on the preview image to obtain a first image; and determine N image areas based on the brightness parameter of each pixel in the first image.
[0193] It can be seen that since the electronic device can first grayscale the preview image to obtain the first image, the brightness parameters of the areas in the first image are different. Therefore, the electronic device can accurately determine the N image areas of the preview image based on the brightness parameters of each pixel in the first image.
[0194] Optionally, in an embodiment of the present application, the processor 110 is specifically used to determine a target signal voltage and a target conversion gain of a signal control circuit corresponding to a target photosensitive area among N photosensitive areas based on a brightness parameter of a target image area among N image areas, where the target image area corresponds to a target photosensitive area; and based on the target signal voltage and the target conversion gain, determine a capacitance and a target source follower of the signal control circuit corresponding to the target photosensitive area.
[0195] Thus, it can be known that since the electronic device first determines the target signal voltage and target conversion gain of the signal control circuit corresponding to the photosensitive area corresponding to the target image area according to the brightness parameters of the target image area, and then determines the capacitance and target source follower of the signal control circuit corresponding to the photosensitive area corresponding to the target image area based on the target signal voltage and target conversion gain, the electronic device can adjust the output voltage of the signal control circuit corresponding to the target photosensitive area based on the target signal voltage and target conversion gain to obtain a captured image with a high signal-to-noise ratio in a low-brightness environment and a high dynamic range in a high-brightness environment, without the need to perform image processing through the ISP. Therefore, it can avoid introducing more noise when the ISP performs image processing.
[0196] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0197] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0198] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0199] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned image processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0200] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0201] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, which is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-mentioned image processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0202] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0203] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned image processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0204] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the 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, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0205] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0206] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A signal control circuit, characterized in that: include: A photosensitive unit, wherein a first end of the photosensitive unit is grounded; a first control module, the first control module being connected to the second end of the photosensitive unit, the first control module being used to adjust the signal voltage corresponding to the photosensitive unit, the first control module comprising N switch tubes and N capacitors, each of the N capacitors being connected to the photosensitive unit through one of the N switch tubes, and N being a positive integer greater than 1; A second control module, the second control module is connected to the first control module, the second control module is also connected to the output end of the signal control circuit, and the second control module is used to adjust the conversion gain; The conversion gain is used to indicate the gain of converting the signal voltage corresponding to the first control module into the output voltage.
2. The signal control circuit according to claim 1, characterized in that: The second control module includes M switch tubes and M target source followers, each of the target source followers is connected to the first control module via one of the M switch tubes, and M is a positive integer greater than 1.
3. The signal control circuit according to claim 1, characterized in that: The first control module comprises: A first capacitor, wherein a first end of the first capacitor is grounded, and a second end of the first capacitor is connected to a second end of the photosensitive unit through a first switch tube; A second capacitor, wherein a first end of the second capacitor is grounded, and a second end of the second capacitor is connected to a second end of the photosensitive unit through a second switch tube; A third capacitor, wherein a first end of the third capacitor is grounded, and a second end of the third capacitor is connected to a second end of the photosensitive unit through a third switch tube.
4. The signal control circuit according to claim 3, characterized in that: The second end of the first capacitor is also connected to the second control module through the first switch tube; the second end of the second capacitor is also connected to the second control module through the second switch tube; the second end of the third capacitor is also connected to the second control module through the third switch tube.
5. The signal control circuit according to claim 1, characterized in that: The second control module includes: A first target source follower, wherein a first end of the first target source follower is connected to the first control module via a fourth switch tube; A second target source follower, wherein a first end of the second target source follower is connected to the first control module via a fifth switch tube, and the first end of the second target source follower is also connected to a second end of the first target source follower; A third target source follower, wherein the first end of the third target source follower is connected to the first control module via a sixth switch tube, the first end of the third target source follower is also connected to the second end of the second target source follower, and the second end of the third target source follower is connected to the output end of the signal control circuit.
6. The signal control circuit according to claim 1, characterized in that: The signal control circuit further includes: Target power supply; a reset switch, wherein a first end of the reset switch is connected to the target power supply, and a second end of the reset switch is connected to the first control module and the second control module respectively; The target power supply is used to send a reset signal to the first control module and the second control module through the reset switch to reset the first control module and the second control module.
7. An image sensor, characterized in that: The method comprises at least one signal control circuit according to any one of claims 1 to 6.
8. An electronic device, characterized in that: The electronic device comprises the image sensor as claimed in claim 7.
9. An image processing method, characterized in that: Applied to the electronic device as claimed in claim 8, the method comprises: Collecting a preview image through the image sensor of the electronic device, the preview image includes N image areas, each of the image areas has a different brightness parameter, each of the image areas corresponds to a photosensitive area of the image sensor, and N is a positive integer greater than 1; Based on the brightness parameters of the N image areas, respectively adjust the output voltages of the signal control circuits corresponding to the N photosensitive areas; Collecting N groups of image data through the signal control circuits corresponding to the adjusted N photosensitive areas, wherein the N groups of image data correspond to the N photosensitive areas one by one; A target image is obtained according to the N groups of image data.
10. The method according to claim 9, characterized in that After collecting the preview image by the image sensor of the electronic device, the method further includes: Performing grayscale processing on the preview image to obtain a first image; Based on the brightness parameter of each pixel in the first image, N image regions are determined.
11. The method according to claim 9, characterized in that The step of adjusting the output voltages of the signal control circuits corresponding to the N photosensitive areas based on the brightness parameters of the N image areas comprises: Determining a target signal voltage and a target conversion gain of a signal control circuit corresponding to a target photosensitive area in the N photosensitive areas according to a brightness parameter of a target image area in the N image areas, the target image area corresponding to the target photosensitive area; Based on the target signal voltage and the target conversion gain, the capacitance of the signal control circuit and the target source follower corresponding to the target photosensitive area are determined.
12. An image processing device, characterized in that: The image processing device comprises the image sensor according to claim 7, and the image processing device further comprises: An acquisition module, the acquisition module is used to acquire a preview image through the image sensor, the preview image includes N image areas, each of the image areas has a different brightness parameter, each of the image areas corresponds to a photosensitive area of the image sensor, and N is a positive integer greater than 1; An adjustment module, the adjustment module being used to adjust the output voltages of the signal control circuits corresponding to the N photosensitive areas respectively based on the brightness parameters of the N image areas; The acquisition module is further used to acquire N groups of image data through the signal control circuits corresponding to the N photosensitive areas adjusted by the adjustment module, and the N groups of image data correspond to the N photosensitive areas one by one; A processing module, the processing module is used to obtain a target image based on the N groups of image data collected by the collection module.
13. The image processing device according to claim 12, characterized in that: The processing module is further used to perform grayscale processing on the preview image to obtain a first image; and determine N image areas based on the brightness parameter of each pixel in the first image.
14. The image processing device according to claim 12, characterized in that: The adjustment module is specifically used to determine the target signal voltage and target conversion gain of the signal control circuit corresponding to the target photosensitive area among the N photosensitive areas based on the brightness parameters of the target image area among the N image areas; and based on the target signal voltage and the target conversion gain, determine the capacitance and target source follower of the signal control circuit corresponding to the target photosensitive area.
15. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the image processing method according to any one of claims 9 to 11 are implemented.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the image processing method according to any one of claims 9 to 11 are implemented.
