Shooting method, device and electronic equipment

By using a liquid filter in the camera module and adjusting the light transmittance according to the brightness value of the shooting environment, the problem of poor image quality improvement in the existing technology is solved, and better image details and quality are achieved.

CN115052097BActive Publication Date: 2024-08-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210762945.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-08-23
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

When existing camera modules adjust the color combination of the color filter array and use software algorithms to compensate for the effects of light, the effect of improving image quality is poor and the compensation capabilities are limited.

Method used

By using a liquid filter in the camera module, the target voltage is determined based on the brightness value of the shooting environment, and the light transmittance of the liquid filter is controlled to adjust the amount of light entering the camera module, thereby improving image quality and details.

Benefits of technology

It effectively improves the details and quality of images, making the captured images better reflect the real shooting environment, and avoids the adverse effects of overexposure or dark areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115052097B
    Figure CN115052097B
Patent Text Reader

Abstract

The present application discloses a shooting method, device and electronic equipment, belonging to the field of camera technology. The camera module includes a liquid filter, and the shooting method includes: determining a target voltage according to the ambient brightness value of the shooting environment; applying a target voltage to a target filter area in the liquid filter, and controlling the camera module to shoot an image, wherein the target voltage is used to control the transmittance of the target filter area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of camera technology, and specifically relates to a shooting method, device and electronic equipment. Background Art

[0002] With the gradual development of electronic devices, the functions of electronic devices are increasing. In order to meet people's requirements for the camera function of electronic devices, the shooting capabilities of camera modules in electronic devices are getting higher and higher. During the image shooting process, the amount of light entering the lens of the camera module will affect the image quality of the captured image.

[0003] Currently, the color combination in the color filter array (CFA) is often adjusted in the camera module, and then combined with software algorithms to compensate for the impact of light on image quality. However, the compensation capability is limited and the effect of improving image quality is not good. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a shooting method, device and electronic device, which can improve the image quality of the captured image and ensure the image details.

[0005] In a first aspect, an embodiment of the present application provides a shooting method, wherein a shooting device includes a camera module, and the camera module includes a liquid filter. The method includes:

[0006] Determine the target voltage according to the ambient brightness value of the shooting environment;

[0007] A target voltage is applied to the target filtering area in the liquid filter, and the camera module is controlled to capture an image. The target voltage is used to control the transmittance of the target filtering area.

[0008] In a second aspect, an embodiment of the present application provides a photographing device, the photographing device includes a camera module, the camera module includes a liquid filter, and the device includes:

[0009] A processing module, used for determining a target voltage according to an ambient brightness value of a shooting environment;

[0010] The shooting module is used to apply a target voltage to a target filtering area in the liquid filter and control the camera module to shoot an image. The target voltage is used to control the transmittance of the target filtering area.

[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0013] In a fifth 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 method described in the first aspect.

[0014] In a sixth 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 method described in the first aspect.

[0015] In the embodiment of the present application, during the shooting process, a target voltage for controlling the transmittance of the target filter area is determined according to the ambient brightness value of the shooting environment. Since the camera module includes a liquid filter, the transmittance of the target area can be adjusted by applying a target voltage to the target filter area in the liquid filter, which is beneficial to control the amount of light entering the camera module, thereby being able to capture the image quality and ensure image details. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flowchart of a shooting method provided in an embodiment of the present application;

[0017] Figure 2 It is a structural schematic diagram of a liquid optical filter and a circuit layer provided in an embodiment of the present application;

[0018] Figure 3 is a schematic structural diagram of a liquid filter layer provided in an embodiment of the present application;

[0019] Figure 4 is a schematic structural diagram of another liquid filter layer provided in an embodiment of the present application;

[0020] Figure 5 is a structural schematic diagram of a camera module provided in an embodiment of the present application;

[0021] Figure 6 is a structural schematic diagram of a driving component provided in an embodiment of the present application;

[0022] Figure 7 is a structural schematic diagram of a video shooting device provided in an embodiment of the present application;

[0023] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0024] Fig. 9It is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] 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.

[0026] 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.

[0027] With the gradual development of electronic devices, the functions of electronic devices are increasing. In order to meet people's requirements for the camera function of electronic devices, the shooting capabilities of camera modules in electronic devices are getting higher and higher. During the image shooting process, the amount of light entering the lens of the camera module will affect the image quality of the captured image.

[0028] At present, the color combination in the color filter array is often adjusted in the camera module, and then combined with software algorithms to compensate for the impact of light on image quality. However, the compensation ability is limited and the effect of improving image quality is not good.

[0029] In response to the above problems, the embodiments of the present application provide a shooting method, device and electronic device, which can improve the image quality of the captured images and ensure the image details.

[0030] The following is a detailed description of the shooting method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0031] Figure 1 1 is a flow chart of a photographing method provided in an embodiment of the present application. In the embodiment of the present application, the photographing method is applied to a photographing device, the photographing device includes a camera module, and the camera module includes a liquid filter. The photographing method may include steps 110 to 120.

[0032] Step 110, determining a target voltage according to the ambient brightness value of the shooting environment.

[0033] Specifically, in the process of shooting with the shooting device, the shooting device can analyze the current shooting environment, for example, to detect whether the ambient brightness value in the current shooting environment is too low. For example, at night or in rainy weather conditions, the shooting environment is prone to have a brightness value that is too low. For another example, detect whether the ambient brightness is uneven in the current shooting environment. For example, in a shooting environment with lights, due to the lights and light shadows, it is easy for the brightness value of the light part to be too high and the brightness value of the light shadow part to be too low.

[0034] Corresponding to the brightness value of the shooting environment, a target voltage adjustment for adjusting the amount of light entering the camera module lens is determined. Specifically, the camera module includes a liquid filter, which includes multiple liquid filter layers, and each liquid filter layer corresponds to a pixel point in the image. Each liquid filter layer can be controlled by voltage, and corresponding to different voltage values, the liquid filter layer has different light transmittance.

[0035] In some embodiments, the target voltage may be a preset voltage corresponding to the ambient brightness value. For example, when the ambient brightness value is low, the corresponding preset voltage may be a first voltage, wherein the light transmittance of the target filter area may be increased by applying the first voltage to the target filter area, thereby improving the image details of the dark area in the captured image. For another example, when the ambient brightness value is too high, the corresponding preset voltage may be a second voltage, wherein the light transmittance of the target lens sub-area may be reduced by applying the second voltage to the target filter area, thereby avoiding overexposed areas in the captured image.

[0036] Step 120, applying a target voltage to the target filter area in the liquid filter, and controlling the camera module to capture an image.

[0037] The target voltage is used to control the light transmittance of the target filter area.

[0038] Specifically, the target filtering area is the area in the liquid filter to which the target voltage needs to be applied, wherein the target filtering area may be a partial area in the liquid filter, or the target filtering area may also be the entire liquid filter.

[0039] The number of target filter areas may be one or more, and different target filter areas may correspond to different target voltages. As a specific example, when the shooting environment includes light and light shadow, based on the initial state of the liquid filter, if the brightness value of the imaging area where each light shadow part is located in the captured image is low, then the multiple liquid filter layers corresponding to the imaging area where each light shadow part is located constitute the target filter area. At the same time, based on the initial state of the liquid filter, if the brightness value of the imaging area where the light is located is high, then the multiple liquid filter layers corresponding to the imaging area where each light part is located also constitute the target filter area. By adjusting the voltage applied to each target filter area, the transmittance of the target filter area can be adjusted, thereby improving the shooting effect of the captured image.

[0040] In the embodiment of the present application, when the camera module is used for shooting, the target voltage for controlling the transmittance of the target filter area can be determined according to the ambient brightness value of the shooting environment. Among them, since the camera module includes a liquid filter, the transmittance of the target area can be adjusted by applying the target voltage to the target filter area in the liquid filter, which is beneficial to control the amount of light entering the camera module, so that the image quality of the captured image can be improved, the image details can be guaranteed, and the image details in the captured image can better reflect the real shooting environment.

[0041] As a specific example, in order to more accurately determine the target filtering area in the liquid filter, the following steps can be specifically referred to: obtain a preview image captured by the camera module; determine the brightness adjustment area in the preview image according to the brightness value corresponding to each pixel in the preview image, and determine the liquid filter layer corresponding to the brightness adjustment area as the target filtering area in the liquid filter, wherein the brightness value of each pixel in the brightness adjustment area is within a preset brightness value range.

[0042] When the camera module is started to shoot, the camera module acquires an image based on the initial filter to obtain a preview image. For the acquired preview image, the brightness value of each pixel in the preview image can be analyzed to determine the area whose brightness value is within the preset brightness range, thereby determining the area to be adjusted.

[0043] Exemplarily, the preset brightness value range may include multiple different brightness value sub-ranges. Taking the dark light shooting environment as an example, the shooting object includes lights and light shadows. For example, when the brightness value corresponding to the light shadow area in the preview image is in the first brightness sub-range, the light shadow area in the preview image can be used as a brightness adjustment area. For another example, when the brightness of the light area in the preview image is too strong and the brightness value corresponding to the light area is in the second brightness sub-range, the light area can also be used as a brightness adjustment area. These are not listed here one by one.

[0044] Optionally, the preview image can be displayed on a display screen of an electronic device so that the user can understand the initial shooting effect. After being displayed based on the brightness value of each pixel of the preview image, the brightness adjustment area can also be an area selected by the user from the preview image by input. At this time, the brightness sub-range can be determined according to the brightness value range manually input by the user, and is not specifically limited here.

[0045] The liquid filter includes a liquid filter layer corresponding to each pixel point. After the brightness adjustment area is determined, the target filter area corresponding to the brightness adjustment area can be directly and quickly determined.

[0046] It is understandable that the number of brightness adjustment areas may include one or more. Accordingly, if there are multiple brightness adjustment areas in the preview image, there are multiple target filtering areas, which is not specifically limited here.

[0047] According to the embodiment of the present application, by analyzing the brightness value of each pixel in the preview image, the brightness adjustment area in the preview image whose brightness value is within the preset brightness range can be quickly determined. Next, based on the brightness adjustment area, the target filtering area of ​​the liquid filter can be more accurately determined. By targetedly adjusting the amount of light entering the local area of ​​the liquid filter, the image details of the captured image can be enhanced.

[0048] As another specific example, the liquid filter layer corresponding to each pixel in the liquid filter corresponds to a photoelectric conversion circuit, and the photoelectric conversion circuit is used to convert the light passing through the liquid filter layer into an electrical signal.

[0049] Figure 2 Schematic diagram of the structure of a liquid filter and a circuit layer provided in an embodiment of the present application. Figure 2 As shown, the liquid filter 210 includes a plurality of liquid filter layers, and the circuit layer 220 includes a light conversion circuit corresponding to each liquid filter layer. For example, the structural relationship between each liquid filter layer 211 and the photoelectric conversion circuit 221 is as follows: Figure 2 As shown. Corresponding to each photoelectric conversion circuit, the light 201 passes through the liquid filter layer 211 and enters the photoelectric conversion circuit 221, and the photoelectric conversion circuit 221 converts the received light into an electrical signal for output. The color of each liquid filter layer 211 can be set according to actual use requirements, and no specific limitation is made here.

[0050] Specifically, the target filtering area in the liquid filter can also be determined by referring to the following steps: obtaining the electrical signal output by each photoelectric conversion circuit; determining the target filtering area in the liquid filter according to the preset light adjustment condition and the electrical signal corresponding to each liquid filter layer, wherein the electrical signal corresponding to the liquid filter layer in the target filtering area meets the preset light adjustment condition.

[0051] Exemplarily, the electrical signal output by the photoelectric conversion circuit may be a voltage, current or other signal, which may be set according to actual application requirements and is not specifically limited here.

[0052] Taking the case where the electrical signal output by the photoelectric conversion circuit is current, the preset light adjustment condition can set multiple current ranges. For example, the first preset current range is set to indicate that the light in the shooting environment is too weak and the amount of light entering needs to be increased; the second preset current range is set to indicate that the light in the shooting environment is too strong and the amount of light entering needs to be reduced. For each photoelectric conversion circuit, the current output is compared with each of the multiple preset current ranges to determine the current range in which the current is located, thereby determining whether the liquid filter layer corresponding to the photoelectric conversion circuit needs to adjust the light.

[0053] Continuing with the example that the electrical signal is current, the relationship between the electrical signal output by each photoelectric conversion circuit and the preset light adjustment condition is determined. For example, the liquid filter layer corresponding to the electrical signal in the first preset current range is determined as the first target filtering area; and the liquid filter layer corresponding to the electrical signal in the second preset current range is determined as the second target filtering area.

[0054] According to the embodiment of the present application, the target filter area is determined by analyzing the electrical signal output by the photoelectric conversion circuit corresponding to each liquid filter layer. Since each liquid filter layer corresponds to a pixel point one by one, the light adjustment range can be accurate to each pixel point, and the image details of the captured image can be effectively enhanced by targeted adjustment of the amount of light entering the local area of ​​the liquid filter.

[0055] In some embodiments, step 110 is involved. When determining the target voltage, specifically: obtaining the ambient brightness value of the shooting environment; determining the target light transmittance corresponding to the ambient brightness value based on a first mapping relationship between preset brightness and light transmittance; and determining the target voltage corresponding to the target light transmittance based on a second mapping relationship between preset light transmittance and voltage.

[0056] Exemplarily, the first mapping relationship between the preset brightness and the light transmittance is, for example, that the lower the ambient brightness value, the greater the required light transmittance; for another example, the higher the ambient brightness value, the lower the required light transmittance.

[0057] The light transmittance in the liquid filter layer can be changed according to the change of voltage. According to the second mapping relationship between the preset light transmittance and the voltage, the target voltage can be directly determined according to the target light transmittance.

[0058] According to the embodiment of the present application, by pre-establishing the first mapping relationship and the second mapping relationship, during the shooting process, the target voltage can be quickly and accurately determined, so that the target light transmittance of the target filtering area can meet the shooting requirements, and the image details in the captured image can effectively reflect the real shooting scene.

[0059] In some embodiments, the liquid filter layer corresponding to each pixel in the liquid filter includes a liquid and dye particles, the dye particles can move in the liquid, electrodes are provided at the edge of the liquid filter layer, and the dye particles move to the target position in the liquid filter block in response to the target voltage.

[0060] Involving step 120, applying a target voltage to a target filter area in the liquid filter may specifically include: corresponding to each target liquid filter layer in the target filter area, applying a target voltage to an electrode corresponding to the target liquid filter layer.

[0061] Figure 3 is a schematic diagram of the structure of a liquid filter layer provided in an embodiment of the present application, wherein the front view of the liquid filter layer 211 is as shown in FIG. Figure 3 (a) shows a side view of the liquid filter layer 211. Figure 3 (b) is shown. An electrode 301 is provided at the edge of the liquid filter layer 211, and liquid and dye particles 302 are sealed in the liquid filter layer 211. The dye particles 302 can move in the liquid. Exemplarily, the dye particles 302 can have positive or negative polarity, and the transmittance of the liquid filter layer can be adjusted by applying a voltage to the electrode 301.

[0062] Exemplarily, when the electrode 301 is at a low voltage, the Figure 3 (a) and Figure 3 As shown in (b), the dye particles 302 in the liquid filter layer are fully mixed with the liquid. At this time, the liquid filter layer 211 has the strongest light filtering effect, the purest color, and the smallest amount of light is finally transmitted.

[0063] When the electrode 301 is at a high voltage, the dye particles in the liquid filter layer are adsorbed by the electrodes with opposite polarity to the dye particles on the surrounding sides, and the concentration of the dye particles in the liquid decreases. When the voltage applied to the electrode 301 is increased, the number of dye particles 302 adsorbed on the edge of the liquid filter layer 211 can be increased. When the voltage applied to the electrode 301 reaches a certain threshold, the dye particles 302 can be completely adsorbed. In the process of increasing the voltage applied to the electrode 301, the light filtering effect of the liquid filter layer 211 continues to decrease.

[0064] Combination Figure 4 2 is a schematic diagram of the structure of another liquid filter layer provided in an embodiment of the present application, wherein the front view of the liquid filter layer 211 is as shown in FIG. Figure 4 (a) shows a side view of the liquid filter layer 211. Figure 4 (b) as shown.

[0065] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0066] In some embodiments, the camera module includes a microlens corresponding to each pixel, a driving component and a liquid storage chamber. Corresponding to each pixel, a liquid filter layer is formed between the microlens and the liquid storage chamber, the liquid filter layer is connected to the liquid storage chamber, the microlens is slidably connected to the inner wall of the liquid storage chamber, and the driving component drives the microlens to move back and forth on the inner wall of the liquid storage chamber in response to a target voltage to control the thickness of the liquid filter layer.

[0067] Involving step 120, applying a target voltage to a target filter area in the liquid filter may specifically include: corresponding to each target liquid filter layer in the target filter area, applying a target voltage to a driving component of the target liquid filter layer.

[0068] Figure 5 is a structural diagram of a camera module provided in an embodiment of the present application, combined with Figure 5 As shown, a liquid filter layer 403 is formed between the microlens 401 and the liquid storage chamber 402, the liquid filter layer 403 is in communication with the liquid storage chamber, the microlens 401 is slidably connected to the inner wall of the liquid storage chamber 402, and the driving component drives the microlens 401 to move back and forth on the inner wall of the liquid storage chamber 402 in response to the target voltage to control the thickness of the liquid filter layer 403.

[0069] When the micro lens rises, the liquid in the liquid storage chamber 402 rushes into the liquid filter layer 403. At this time, the thickness of the liquid filter layer 403 increases. Figure 5 (a) As shown in FIG. 1 , the light filtering effect of the liquid filter layer 403 increases with the thickness, and the light transmitted through the liquid filter layer 403 decreases.

[0070] When the micro lens descends, the liquid in the liquid filter layer 403 rushes into the liquid storage chamber 402. At this time, the thickness of the liquid filter layer 403 decreases. Figure 5 (b) As shown in FIG. 8 , the light filtering effect of the liquid filter layer 403 decreases as the thickness decreases, and more light is transmitted.

[0071] In some embodiments, the driving component can drive the microlens 401 to move back and forth on the inner wall of the liquid storage chamber 402. For example, electrodes capable of generating a magnetic field can be disposed above and below the liquid filter layer 403 as the driving component. Figure 5 As shown in (a), the electrode 405 is fixed below the liquid filter layer 403, and the electrode 405 is fixed below the microlens 401. Applying target voltages to the electrodes 404 and 405 respectively, the electrodes 404 and 405 generate magnetic fields with opposite polarities, thereby controlling the microlens 401 to move downward. Applying target voltages to the electrodes 404 and 405 respectively, the electrodes 404 and 405 generate magnetic fields with the same polarity, thereby controlling the microlens 401 to move upward.

[0072] In another example, Figure 5 As shown in (b), electrodes capable of generating a magnetic field may be provided as driving components at the contact portion 406 of the microlens 401 with the inner wall of the liquid storage chamber 402 and at the inner wall 407 of the liquid storage chamber 402. Figure 6 Schematic diagram of a driving component provided in an embodiment of the present application. Figure 6 The motor 407 on the inner wall of the liquid storage chamber 402 includes two coils. The target voltage is applied to the electrode 406 and the electrode 407 respectively, and the electrode 407 generates a magnetic field to control the movement of the electrode 406, thereby controlling the movement of the microlens 401 on the inner wall of the liquid storage chamber 402, thereby achieving the control of the thickness of the liquid filter layer 403.

[0073] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0074] The shooting method provided in the embodiment of the present application can be executed by a shooting device. In the embodiment of the present application, a shooting method performed by a shooting device is taken as an example to illustrate the shooting device provided in the embodiment of the present application.

[0075] Specifically, the shooting device includes a camera module, the camera module includes a liquid filter, and the device includes:

[0076] The processing module 710 is used to determine the target voltage according to the ambient brightness value of the shooting environment;

[0077] The shooting module 720 is used to apply a target voltage to a target filtering area in the liquid filter and control the camera module to shoot an image. The target voltage is used to control the transmittance of the target filtering area.

[0078] According to the embodiment of the present application, during the shooting process, the target voltage for controlling the transmittance of the target filter area is determined according to the ambient brightness value of the shooting environment. Among them, since the camera module includes a liquid filter, the transmittance of the target area can be adjusted by applying the target voltage to the target filter area in the liquid filter, which is beneficial to control the amount of light entering the camera module, so that the image quality of the captured image can be improved and the image details can be guaranteed.

[0079] In some embodiments, the liquid filter layer corresponding to each pixel in the liquid filter comprises liquid and dye particles, the dye particles can move in the liquid, electrodes are arranged at the edge of the liquid filter layer, and the dye particles move to the target position in the liquid filter block in response to the target voltage;

[0080] The device also includes:

[0081] The control module is used for applying a target voltage to the electrode corresponding to each target liquid filter layer in the target filter area.

[0082] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0083] In some embodiments, the camera module includes a microlens corresponding to each pixel, a driving component and a liquid storage cavity. Corresponding to each pixel, a liquid filter layer is formed between the microlens and the liquid storage cavity, the liquid filter layer is connected to the liquid storage cavity, the microlens is slidably connected to the inner wall of the liquid storage cavity, and the driving component drives the microlens to reciprocate on the inner wall of the liquid storage cavity in response to a target voltage to control the thickness of the liquid filter layer;

[0084] The control module is also used to apply a target voltage to a driving component of the target liquid filter layer corresponding to each target liquid filter layer in the target filter area.

[0085] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0086] In some embodiments, the apparatus further comprises:

[0087] An acquisition module is used to obtain the ambient brightness value of the shooting environment;

[0088] A processing module 710 is used to determine a target light transmittance corresponding to an ambient brightness value according to a first mapping relationship between a preset brightness and a light transmittance;

[0089] The processing module 710 is further configured to determine a target voltage corresponding to a target light transmittance according to a second mapping relationship between a preset light transmittance and a voltage.

[0090] According to the embodiment of the present application, by pre-establishing the first mapping relationship and the second mapping relationship, during the shooting process, the target voltage can be quickly and accurately determined, so that the target light transmittance of the target filtering area can meet the shooting requirements, and the image details in the captured image can effectively reflect the real shooting scene.

[0091] In some embodiments, the acquisition module is further used to acquire a preview image captured by the camera module;

[0092] The processing module 710 is further used to determine a brightness adjustment area in the preview image according to a brightness value corresponding to each pixel in the preview image, and determine the liquid filter layer corresponding to the brightness adjustment area as a target filtering area in the liquid filter, wherein the brightness value of each pixel in the brightness adjustment area is within a preset brightness value range.

[0093] According to the embodiment of the present application, by analyzing the brightness value of each pixel in the preview image, the brightness adjustment area in the preview image whose brightness value is within the preset brightness range can be quickly determined. Next, based on the brightness adjustment area, the target filtering area of ​​the liquid filter can be more accurately determined. By targetedly adjusting the amount of light entering the local area of ​​the liquid filter, the image details of the captured image can be enhanced.

[0094] In some embodiments, the liquid filter layer corresponding to each pixel in the liquid filter corresponds to a photoelectric conversion circuit, and the photoelectric conversion circuit is used to convert the light passing through the liquid filter layer into an electrical signal;

[0095] The device also includes:

[0096] The acquisition module is also used to acquire the electrical signal output by each photoelectric conversion circuit;

[0097] The processing module 710 is further used to determine a target filtering area in the liquid filter according to a preset light adjustment condition and an electrical signal corresponding to each liquid filter layer, wherein the electrical signal corresponding to the liquid filter layer in the target filtering area meets the preset light adjustment condition.

[0098] According to the embodiment of the present application, the target filter area is determined by analyzing the electrical signal output by the photoelectric conversion circuit corresponding to each liquid filter layer. Since each liquid filter layer corresponds to a pixel point one by one, the light adjustment range can be accurate to each pixel point, and the image details of the captured image can be effectively enhanced by targeted adjustment of the amount of light entering the local area of ​​the liquid filter.

[0099] The shooting 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 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 does not make specific limitations.

[0100] The shooting 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.

[0101] The shooting device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0102] Alternatively, if Figure 8 As shown, an embodiment of the present application further provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned shooting method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described again here.

[0103] 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.

[0104] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0105] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0106] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 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.

[0107] The processor 910 is used to determine the target voltage according to the ambient brightness value of the shooting environment;

[0108] The input unit 904 is used to apply a target voltage to a target filtering area in the liquid filter and control the camera module to capture an image. The target voltage is used to control the transmittance of the target filtering area.

[0109] According to the embodiment of the present application, during the shooting process, the target voltage for controlling the transmittance of the target filter area is determined according to the ambient brightness value of the shooting environment. Among them, since the camera module includes a liquid filter, the transmittance of the target area can be adjusted by applying the target voltage to the target filter area in the liquid filter, which is beneficial to control the amount of light entering the camera module, so that the image quality of the captured image can be improved and the image details can be guaranteed.

[0110] In some embodiments, the liquid filter layer corresponding to each pixel in the liquid filter comprises liquid and dye particles, the dye particles can move in the liquid, electrodes are arranged at the edge of the liquid filter layer, and the dye particles move to the target position in the liquid filter block in response to the target voltage;

[0111] Electronic equipment also includes:

[0112] The control module is used for applying a target voltage to the electrode corresponding to each target liquid filter layer in the target filter area.

[0113] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0114] In some embodiments, the camera module includes a microlens corresponding to each pixel, a driving component and a liquid storage cavity. Corresponding to each pixel, a liquid filter layer is formed between the microlens and the liquid storage cavity, the liquid filter layer is connected to the liquid storage cavity, the microlens is slidably connected to the inner wall of the liquid storage cavity, and the driving component drives the microlens to reciprocate on the inner wall of the liquid storage cavity in response to a target voltage to control the thickness of the liquid filter layer;

[0115] The control module is also used to apply a target voltage to a driving component of the target liquid filter layer corresponding to each target liquid filter layer in the target filter area.

[0116] According to the embodiment of the present application, by applying a target voltage to the liquid filter layer in the target filter area, the filtering effect of the target filter area can be quickly adjusted, thereby achieving the purpose of adjusting the amount of light entering the target filter area, and conveniently capturing images with optimal details and tolerance.

[0117] In some embodiments, the electronic device further comprises:

[0118] Processor 910, used to obtain the ambient brightness value of the shooting environment;

[0119] Processor 910, used to determine the target light transmittance corresponding to the ambient brightness value according to a first mapping relationship between a preset brightness and light transmittance;

[0120] The processor 910 is further configured to determine a target voltage corresponding to a target light transmittance according to a second mapping relationship between a preset light transmittance and a voltage.

[0121] According to the embodiment of the present application, by pre-establishing the first mapping relationship and the second mapping relationship, during the shooting process, the target voltage can be quickly and accurately determined, so that the target light transmittance of the target filtering area can meet the shooting requirements, and the image details in the captured image can effectively reflect the real shooting scene.

[0122] In some embodiments, the processor 910 is further configured to obtain a preview image captured by the camera module;

[0123] The processor 910 is further configured to determine a brightness adjustment region in the preview image according to a brightness value corresponding to each pixel in the preview image, and to determine the liquid filter layer corresponding to the brightness adjustment region as a target filter region in the liquid filter, wherein the brightness value of each pixel in the brightness adjustment region is within a preset brightness value range.

[0124] According to the embodiment of the present application, by analyzing the brightness value of each pixel in the preview image, the brightness adjustment area in the preview image whose brightness value is within the preset brightness range can be quickly determined. Next, based on the brightness adjustment area, the target filtering area of ​​the liquid filter can be more accurately determined. By targetedly adjusting the amount of light entering the local area of ​​the liquid filter, the image details of the captured image can be enhanced.

[0125] In some embodiments, the liquid filter layer corresponding to each pixel in the liquid filter corresponds to a photoelectric conversion circuit, and the photoelectric conversion circuit is used to convert the light passing through the liquid filter layer into an electrical signal; the electronic device also includes:

[0126] The processor 910 is further used to obtain the electrical signal output by each photoelectric conversion circuit;

[0127] The processor 910 is further configured to determine a target filtering area in the liquid filter according to a preset light adjustment condition and an electrical signal corresponding to each liquid filter layer, wherein the electrical signal corresponding to the liquid filter layer in the target filtering area satisfies the preset light adjustment condition.

[0128] According to the embodiment of the present application, the target filter area is determined by analyzing the electrical signal output by the photoelectric conversion circuit corresponding to each liquid filter layer. Since each liquid filter layer corresponds to a pixel point one by one, the light adjustment range can be accurate to each pixel point, and the image details of the captured image can be effectively enhanced by targeted adjustment of the amount of light entering the local area of ​​the liquid filter.

[0129] The shooting device in the embodiment of the present application may be an electronic device, or a part in the electronic device. It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices N072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0130] The memory 909 can be used to store software programs and various data. The memory 909 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 909 may include a volatile memory or a non-volatile memory, or the memory 909 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 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0131] The processor 910 may include one or more processing units; optionally, the processor 910 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 910.

[0132] 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 shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0133] The processor is the processor in the electronic device described 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.

[0134] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0135] 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.

[0136] 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 shooting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0137] 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.

[0138] 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 described in each embodiment of the present application.

[0139] The embodiments of the present application are described above in conjunction with the attachments, 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 shooting method, applied to a shooting device, characterized in that: The shooting device comprises a camera module, the camera module comprises a liquid filter, the camera module comprises a microlens corresponding to each pixel, a driving component and a liquid storage cavity, corresponding to each pixel, a liquid filter layer is formed between the microlens and the liquid storage cavity, the liquid filter layer is in communication with the liquid storage cavity, the microlens is slidably connected to the inner wall of the liquid storage cavity, and the method comprises: Determine the target voltage according to the ambient brightness value of the shooting environment; Corresponding to each target liquid filter layer in the target filter area of ​​the liquid filter, the target voltage is applied to the driving component of the target liquid filter layer, so that the driving component drives the microlens to move back and forth on the inner wall of the liquid storage cavity in response to the target voltage to control the thickness of the liquid filter layer, the thickness of the liquid filter layer is associated with the transmittance, the driving component includes electrodes capable of generating a magnetic field respectively arranged above and below the target liquid filter layer, and controls the camera module to capture an image, and the target voltage is used to control the transmittance of the target filter area.

2. The method according to claim 1, characterized in that The liquid filter layer corresponding to each pixel in the liquid filter comprises liquid and dye particles, the dye particles can move in the liquid, electrodes are arranged at the edge of the liquid filter layer, and the dye particles move to the target position in the liquid filter layer in response to the target voltage; The method further comprises: Corresponding to each target liquid filter layer in the target filter area, the target voltage is applied to the electrode corresponding to the target liquid filter layer.

3. The method according to claim 1, characterized in that The step of determining the target voltage according to the ambient brightness value of the shooting environment includes: Obtaining an ambient brightness value of the shooting environment; Determining a target light transmittance corresponding to the ambient brightness value according to a first mapping relationship between a preset brightness and a light transmittance; According to a second mapping relationship between preset light transmittance and voltage, a target voltage corresponding to the target light transmittance is determined.

4. The method according to claim 1, characterized in that: Before determining the target voltage according to the ambient brightness value of the shooting environment, the method further includes: Obtaining a preview image captured by the camera module; According to the brightness value corresponding to each pixel in the preview image, a brightness adjustment area in the preview image is determined, and the liquid filter layer corresponding to the brightness adjustment area is determined as the target filtering area in the liquid filter, wherein the brightness value of each pixel in the brightness adjustment area is within a preset brightness value range.

5. The method according to claim 1, characterized in that The liquid filter layer corresponding to each pixel in the liquid filter corresponds to a photoelectric conversion circuit, and the photoelectric conversion circuit is used to convert the light passing through the liquid filter layer into an electrical signal; Before determining the target voltage according to the ambient brightness value of the shooting environment, the method further includes: Acquiring the electrical signal output by each photoelectric conversion circuit; The target filter area in the liquid filter is determined according to the preset light adjustment condition and the electrical signal corresponding to each of the liquid filter layers, wherein the electrical signal corresponding to the liquid filter layer in the target filter area satisfies the preset light adjustment condition.

6. A photographing device, characterized in that: The shooting device comprises a camera module, the camera module comprises a liquid filter, the camera module comprises a microlens corresponding to each pixel, a driving component and a liquid storage cavity, corresponding to each pixel, a liquid filter layer is formed between the microlens and the liquid storage cavity, the liquid filter layer is connected to the liquid storage cavity, the microlens is slidably connected to the inner wall of the liquid storage cavity, and the device comprises: A processing module, used for determining a target voltage according to an ambient brightness value of a shooting environment; The shooting module is used for corresponding to each target liquid filter layer in the target filter area of ​​the liquid filter, applying the target voltage to the driving component of the target liquid filter layer, so that the driving component drives the microlens to move back and forth on the inner wall of the liquid storage cavity in response to the target voltage to control the thickness of the liquid filter layer, the thickness of the liquid filter layer is associated with the magnitude of the transmittance, the driving component includes electrodes capable of generating a magnetic field respectively arranged above and below the target liquid filter layer, and controls the camera module to shoot an image, and the target voltage is used to control the transmittance of the target filter area.

7. The device according to claim 6, characterized in that The liquid filter layer corresponding to each pixel in the liquid filter comprises liquid and dye particles, the dye particles can move in the liquid, electrodes are arranged at the edge of the liquid filter layer, and the dye particles move to the target position in the liquid filter layer in response to the target voltage; The device also includes: The control module is used for applying the target voltage to the electrode corresponding to each target liquid filter layer in the target filter area.

8. The device according to claim 6, characterized in that The liquid filter layer corresponding to each pixel in the liquid filter corresponds to a photoelectric conversion circuit, and the photoelectric conversion circuit is used to convert the light passing through the liquid filter layer into an electrical signal; the device also includes: The acquisition module is also used to acquire the electrical signal output by each photoelectric conversion circuit; The processing module is further used to determine a target filtering area in the liquid filter according to a preset light adjustment condition and an electrical signal corresponding to each of the liquid filter layers, wherein the electrical signal corresponding to the liquid filter layer in the target filtering area satisfies the preset light adjustment condition.

9. 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 shooting method according to any one of claims 1 to 5 are implemented.