Lens assembly, anti-shake shooting method and device, electronic device and storage medium

By setting up a liquid crystal component between the camera's lens and the image sensor, the voltage is used to change the refractive index of the liquid crystal component to move the light spot, the debris problem caused by bumps in the camera is solved, and the debris-free anti-shake function is achieved, which extends the The service life of the camera.

CN116170687BActive Publication Date: 2025-02-21VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211529885.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-02-21
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

Debris generated by bumps in the camera can damage the lens and affect the service life of the camera.

Method used

By setting a liquid crystal assembly between the lens and the image sensor, the voltage is used to change the refractive index of the liquid crystal assembly, thereby moving the light spot on the image sensor to realize the anti-shake function.

Benefits of technology

There is no need to install movable parts in the camera assembly, avoiding debris caused by collision of movable parts, reducing the damage rate of lens and image sensors, and extending the service life of the camera assembly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116170687B_ABST
    Figure CN116170687B_ABST
Patent Text Reader

Abstract

The present application discloses a lens assembly, an anti-shake shooting method and device, an electronic device and a storage medium, which belongs to the field of electronic devices, wherein the lens assembly comprises: a housing, a lens, an image sensor and a liquid crystal assembly. The lens, the image sensor and the liquid crystal assembly are connected to the housing, the image sensor and the lens are arranged correspondingly, and the liquid crystal assembly is located between the lens and the image sensor; a voltage assembly is electrically connected to the image sensor and the liquid crystal assembly, and the voltage assembly changes the refractive index of the liquid crystal assembly according to the image received by the image sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic equipment, and specifically relates to a lens assembly, an anti-shake shooting method, an anti-shake shooting device, an electronic device and a readable storage medium. Background Art

[0002] In order to improve the camera's shooting effect, adding anti-shake function to the camera has become an important research direction.

[0003] At present, the anti-shake function of a camera is usually achieved by a motor, which drives the lens to move or the photosensitive chip to move, so as to achieve the anti-shake function. However, whether it is a moving lens or a moving photosensitive chip, there are moving parts in the camera, and the moving parts may collide with other parts during the movement, resulting in debris after the collision in the camera.

[0004] The debris generated after the collision can easily come into contact with the lens or photosensitive chip, causing damage to the lens or photosensitive chip and affecting the service life of the camera. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a lens assembly, an anti-shake shooting method and device, an electronic device and a storage medium, which can solve the problem that debris generated by collisions of moving parts in a camera may cause damage to the lens.

[0006] In a first aspect, an embodiment of the present application provides a lens assembly, comprising:

[0007] shell;

[0008] A lens is connected to the housing; an image sensor is connected to the housing, and the image sensor and the lens are arranged correspondingly;

[0009] A liquid crystal component is connected to the housing, and the liquid crystal component is located between the lens and the image sensor;

[0010] The voltage component is electrically connected to the image sensor and the liquid crystal component, and the voltage component changes the refractive index of the liquid crystal component according to the image received by the image sensor.

[0011] In a second aspect, an embodiment of the present application provides an electronic device, including:

[0012] As the lens assembly in the first aspect.

[0013] In a third aspect, an embodiment of the present application provides an anti-shake shooting method, which is used in the electronic device in the second aspect. The anti-shake shooting method includes:

[0014] In shooting mode, obtaining a preview image received by the image sensor;

[0015] Determine the jitter offset value corresponding to the preview image;

[0016] Determine a voltage array of a liquid crystal component according to the jitter offset value, the liquid crystal component includes a plurality of liquid crystals, the voltage array includes input voltages of the plurality of liquid crystals, and the voltage array is associated with the offset value;

[0017] applying a voltage array to the liquid crystal component;

[0018] The target image is captured.

[0019] In a fourth aspect, an embodiment of the present application provides an anti-shake shooting device, which is used in the electronic device in the second aspect, and the anti-shake shooting device includes:

[0020] An acquisition module, used to acquire a preview image received by the image sensor in a shooting mode;

[0021] A determination module, used to determine a jitter offset value corresponding to the preview image;

[0022] The determination module is further used to: determine a voltage array of a liquid crystal component according to the jitter offset value, the liquid crystal component includes a plurality of liquid crystals, the voltage array includes input voltages of the plurality of liquid crystals, and the voltage array is associated with the offset value;

[0023] A voltage module, used for applying a voltage array to the liquid crystal component;

[0024] The shooting module is used to shoot and obtain the target image.

[0025] In a fifth 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 executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the second aspect are implemented.

[0026] In a sixth 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 in the second aspect are implemented.

[0027] In the seventh aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the second aspect.

[0028] In an eighth 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 of the second aspect.

[0029] In the embodiment of the present application, when the liquid crystal component is not subjected to voltage, when the light passes through the liquid crystal component, the liquid crystal component will not change the refractive index of the light, or will only change the refractive index of the light at a smaller angle. When the liquid crystal component is subjected to voltage, the liquid crystal component can change the refractive index of the light. Since the liquid crystal component is located between the lens and the image sensor, by changing the refractive index of the liquid crystal component, the refractive angle of the light passing through the liquid crystal component is changed, and the light spot will move on the image sensor. When the image in the light spot is consistent with the image before the shake, the anti-shake function is achieved.

[0030] When the voltage applied to the liquid crystal component is different, the refractive index of the liquid crystal component is also different. Therefore, when the amplitude of camera shake is different, the voltage applied to the liquid crystal component is changed accordingly, so that accurate anti-shake function can be achieved under different shake amplitudes.

[0031] The anti-shake function is achieved by changing the refractive index of the liquid crystal component. There is no need to set up moving parts in the camera component. Therefore, the camera component will not be broken due to collision of moving parts, thereby reducing the damage rate of the lens and image sensor, which is beneficial to increasing the service life of the camera component. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a schematic diagram of the light refraction angle when no voltage is applied to the liquid crystal film of the lens assembly in the embodiment of the present application;

[0033] Figure 2 is a schematic diagram of the light refraction angle when voltage is applied to the liquid crystal film of the lens assembly in the embodiment of the present application;

[0034] Figure 3 is a schematic diagram of the structure of a liquid crystal film in an embodiment of the present application;

[0035] Figure 4 is a schematic diagram of the light refraction angle when no voltage is applied to the liquid crystal in the embodiment of the present application;

[0036] Figure 5 is a schematic diagram of the refraction angle of light when a voltage is applied to a liquid crystal in an embodiment of the present application;

[0037] Figure 6 is a flowchart of an anti-shake shooting method in an embodiment of the present application;

[0038] Figure 7 is a schematic block diagram of an anti-shake shooting device in an embodiment of the present application;

[0039] Figure 8 is one of the schematic block diagrams of the electronic device in the embodiment of the present application;

[0040] Fig. 9This is the second schematic block diagram of the electronic device in the embodiment of the present application.

[0041] Reference numerals:

[0042] 110 housing, 120 lens, 130 image sensor, 140 liquid crystal component, 141 light-transmitting member, 142 liquid crystal film, 143 liquid crystal body, 144 substrate, 145 electrode, 146 liquid crystal layer. DETAILED DESCRIPTION

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

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

[0045] The lens assembly, anti-shake shooting method and device, electronic device and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0046] Combination Figure 1 and Figure 2 As shown, in some embodiments of the present application, a lens assembly is provided, and the lens assembly includes: a housing 110, a lens 120, an image sensor 130, a liquid crystal assembly 140, and a voltage assembly. The lens 120, the image sensor 130, and the liquid crystal assembly 140 are connected to the housing 110, the image sensor 130 is arranged corresponding to the lens 120, and the liquid crystal assembly 140 is located between the lens 120 and the image sensor 130; the voltage assembly is electrically connected to the image sensor and the liquid crystal assembly, and the voltage assembly changes the refractive index of the liquid crystal assembly according to the image received by the image sensor.

[0047] The lens 120, the image sensor 130 and the liquid crystal assembly 140 are all connected to the housing 110, so the relative positions of the lens 120, the image sensor 130 and the liquid crystal assembly 140 are not easily changed. The liquid crystal assembly 140 is located between the lens 120 and the image sensor 130. After the light passes through the lens 120 and the liquid crystal assembly 140 in sequence, the light is irradiated onto the image sensor 130, and the image sensor 130 can collect an image.

[0048] When external light shines on the image sensor 130, the external light forms a light spot on the image sensor 130. The image sensor 130 can intercept the part within the light spot for imaging. When the user's hand shakes when holding the electronic device, the position of the light spot and the photosensitive chip remains unchanged, while the picture inside the light spot changes, so the imaging picture of the image sensor 130 also changes. Therefore, by moving the light spot so that the picture inside the light spot does not change, the anti-shake function can be achieved.

[0049] When no voltage is applied to the liquid crystal component 140, the refractive index of the liquid crystal component 140 for the light is fixed when the light passes through the liquid crystal component 140. When a voltage is applied to the liquid crystal component 140, the liquid crystal component 140 can change the refractive index of the light. Since the liquid crystal component 140 is located between the lens 120 and the image sensor 130, the refractive angle of the light passing through the liquid crystal component 140 is changed by changing the refractive index of the liquid crystal component 140, and the light spot moves on the image sensor 130. When the image in the light spot is consistent with the image before the shake, the anti-shake function is achieved.

[0050] When the voltage applied to the liquid crystal component 140 is different, the refractive index of the liquid crystal component 140 is also different. Therefore, when the amplitude of camera shake is different, the voltage applied to the liquid crystal component 140 is changed accordingly, so that a precise anti-shake function can be achieved under different shake amplitudes.

[0051] The anti-shake function is achieved by changing the refractive index of the liquid crystal component 140, and there is no need to set up moving parts in the camera component. Therefore, the camera component will not be broken due to collision of moving parts, thereby reducing the damage rate of the lens 120 and the image sensor 130, which is beneficial to improving the service life of the camera component.

[0052] The voltage component is electrically connected to the image sensor 130 , and the voltage component is electrically connected to the liquid crystal component 140 , so the voltage component can determine the input voltage to the liquid crystal component 140 according to the degree of image jitter.

[0053] In a possible application, the voltage component is a voltage input circuit, and the voltage input circuit can change the input voltage of the liquid crystal component 140 .

[0054] Moreover, this anti-shake solution does not require moving parts, avoiding the resonance problems, magnetic interference problems, and low anti-shake frequency problems of traditional cameras.

[0055] In a possible application, the image sensor 130 is a photosensitive chip.

[0056] Combination Figure 1 and Figure 2 As shown, in a possible embodiment, the liquid crystal assembly 140 includes: a light-transmitting member 141 and a liquid crystal film 142, the light-transmitting member 141 is connected to the housing 110, the liquid crystal film 142 is arranged on the light-transmitting member 141, and the refractive index of the light-transmitting member 141 is associated with the input voltage of the light-transmitting member 141.

[0057] The light-transmitting member 141 is mounted on the housing 110 , so the relative positions of the light-transmitting member 141 and the housing 110 are not easily changed. The liquid crystal film 142 is disposed on the light-transmitting member 141 , and the light-transmitting member 141 supports the liquid crystal film 142 .

[0058] The thickness of the liquid crystal film 142 is usually set to be relatively thin, so the liquid crystal film 142 is prone to deformation, resulting in a change in the refraction angle of light even when no voltage is applied to the liquid crystal film 142. The liquid crystal film 142 is supported by the light-transmitting component 141, and the liquid crystal film 142 is attached to the light-transmitting component 141, so the shape of the liquid crystal film 142 is not easy to change. When no voltage is applied to the liquid crystal film 142, the refractive index of the liquid crystal film 142 will not change, thereby improving the stability of the anti-shake function.

[0059] like Figure 3 As shown, in a possible application, the liquid crystal film 142 is composed of a substrate 144, an electrode 145 and a liquid crystal layer 146, all of which are made of light-transmitting materials. By applying voltage to the two electrodes 145, the orientation of the liquid crystal molecules changes, causing the refractive index of the liquid crystal component 140 to change.

[0060] like Figure 2 As shown, in a possible embodiment, the light-transmitting element 141 includes: a lens, the lens is provided with a mounting curved surface, and the liquid crystal film 142 is provided on the mounting curved surface.

[0061] The lens is provided with a mounting curved surface. When the liquid crystal film 142 is attached to the mounting curved surface, the liquid crystal film 142 is also curved.

[0062] If the liquid crystal film 142 is a flat plate structure, the travel of the moving light spot will be very effective. Therefore, the light-transmitting element 141 is set as a lens, and the liquid crystal film 142 can be fixed in a curved shape, thereby improving the moving travel of the liquid crystal film 142 for the light spot.

[0063] In one possible application, the lens may be a convex lens or a concave lens.

[0064] Combination Figure 4 and Figure 5 As shown, in a possible embodiment, the liquid crystal film 142 includes: a plurality of liquid crystals 143, the input voltages of the plurality of liquid crystals 143 form a voltage array, and the voltage component changes the input voltage of the liquid crystal film 142 according to the voltage array.

[0065] The multiple liquid crystals 143 in the liquid crystal film 142 are independent of each other, so each liquid crystal 143 has its own upper electrode 145 and lower electrode 145, so that each liquid crystal 143 can be independently applied with a voltage to change the refractive index.

[0066] The combination of input voltages of multiple liquid crystals 143 is called a voltage array. The input voltages of different liquid crystals 143 may be different, which makes the multiple liquid crystals 143 have a combination of multiple input voltages, which can more flexibly and accurately adjust the position of the light spot, which is conducive to improving the anti-shake effect.

[0067] In an embodiment of the present application, an electronic device is provided, comprising: a lens assembly as in any of the above embodiments. Therefore, the electronic device provided in this embodiment can achieve the technical effects in any of the above embodiments, which will not be described in detail here.

[0068] like Figure 6 As shown, in some embodiments of the present application, a method for anti-shake shooting is provided, which is used in the electronic device in the above embodiment, and the method for anti-shake shooting includes:

[0069] Step 202, in shooting mode, obtaining a preview image received by an image sensor;

[0070] Step 204, determining a jitter offset value corresponding to the preview image;

[0071] Step 206, determining a voltage array of a liquid crystal component according to the jitter offset value, the liquid crystal component including a plurality of liquid crystals, the voltage array including input voltages of the plurality of liquid crystals, and the voltage array being associated with the offset value;

[0072] Step 208, applying a voltage array to the liquid crystal component;

[0073] Step 210: photograph and obtain a target image.

[0074] When no voltage is applied to the liquid crystal component, when light passes through the liquid crystal component, the liquid crystal component will not change the refractive index of the light, or will only change the refractive index of the light at a smaller angle. When voltage is applied to the liquid crystal component, the liquid crystal component can change the refractive index of the light. Since the liquid crystal component is located between the lens and the image sensor, by changing the refractive index of the liquid crystal component, the refractive angle of the light passing through the liquid crystal component is changed, and the light spot will move on the image sensor. When the image in the light spot is consistent with the image before the shake, the anti-shake function is achieved.

[0075] The combination of voltages of multiple liquid crystals is called a voltage array. The input voltages of different liquid crystals may be different, which allows multiple liquid crystals to have multiple input voltage combinations, which can more flexibly and accurately adjust the position of the light spot, which is conducive to improving the anti-shake effect.

[0076] In shooting mode, it is necessary to determine whether the camera component has shaken. If the camera component has shaken, the position of the image received by the image sensor will change. At this time, it is necessary to determine the jitter offset value of the image before and after the shake. Different jitter offset values ​​correspond to different voltage arrays. Therefore, when the offset value corresponding to the image is determined, the voltage array that needs to be input to the liquid crystal component is determined. After the liquid crystal component is input with this voltage array, the position of the light spot can be adjusted to achieve the anti-shake function, so that the captured target image has a better shooting effect.

[0077] The voltage array corresponding to the jitter offset value means that, under the current jitter offset value, the corresponding voltage array is input into the liquid crystal component, so that the image in the light spot can be adjusted to be consistent with the image before the jitter.

[0078] When the voltage applied to the liquid crystal component is different, the refractive index of the liquid crystal component is also different. Therefore, when the amplitude of camera shake is different, the voltage applied to the liquid crystal component is changed accordingly, so that accurate anti-shake function can be achieved under different shake amplitudes.

[0079] The anti-shake function is achieved by changing the refractive index of the liquid crystal component. There is no need to set up moving parts in the camera component. Therefore, the camera component will not be broken due to collision of moving parts, thereby reducing the damage rate of the lens and image sensor, which is beneficial to increasing the service life of the camera component.

[0080] In a possible embodiment, before obtaining the jitter offset value of the image received by the image sensor within a set time length, the anti-shake shooting method also includes: obtaining a first calibration image received by the image sensor; determining a second calibration image of the first calibration image under the jitter offset value; applying a voltage array to the liquid crystal component to adjust the imaging position of the second calibration image on the image sensor; updating the jitter offset value according to the first calibration image and the second calibration image; and updating the voltage array according to the updated jitter offset value until the offset of the first calibration image and the second calibration image on the image sensor is zero.

[0081] In order to accurately adjust the light spot position, the corresponding relationship between the jitter offset value and the voltage array needs to be calibrated, that is, the voltage array corresponding to different jitter offset values ​​needs to be determined.

[0082] During the calibration process, the first calibration image is first obtained. The first calibration image is the image before the camera component is shaken. A jitter offset value is set for the camera component, and then a voltage array is randomly applied to the liquid crystal component. This voltage array causes the refractive index of the liquid crystal component to change, thereby generating different images on the image sensor. This image can be defined as: the image after the spot displacement, that is, the second calibration image, and then the first calibration image and the second calibration image are subtracted to determine the offset degree of the first calibration image and the second calibration image. At this time, it is necessary to update the jitter offset value of the first calibration image and the second calibration image to determine whether the offset of the first calibration image and the second calibration image increases or decreases, so as to update the voltage array again to continuously reduce the difference between the first calibration image and the second calibration image. By adjusting the voltage array multiple times, when the difference between the first calibration image and the second calibration image is zero, that is, the offset of the first calibration image and the second calibration image is zero, the voltage array corresponding to the jitter offset value set at the beginning is obtained. By setting different jitter offset values, voltage arrays corresponding to different jitter offset values ​​can be obtained. When used on a camera component, if a jitter offset value is detected, the corresponding voltage array is directly called, and the corresponding voltage array is input to the liquid crystal component to achieve the anti-shake function.

[0083] The anti-shake shooting method provided in the embodiment of the present application can be executed by an anti-shake shooting device. In the embodiment of the present application, an anti-shake shooting device executing the anti-shake shooting method is taken as an example to illustrate the anti-shake shooting device provided in the embodiment of the present application.

[0084] like Figure 7 As shown, in an embodiment of the present application, an anti-shake shooting device 300 is proposed, and the anti-shake shooting device includes:

[0085] The acquisition module 310 is used to acquire the preview image received by the image sensor in the shooting mode;

[0086] A determination module 320, configured to determine a jitter offset value corresponding to the preview image;

[0087] The determination module is further used to: determine a voltage array of a liquid crystal component according to the jitter offset value, the liquid crystal component includes a plurality of liquid crystals, the voltage array includes input voltages of the plurality of liquid crystals, and the voltage array is associated with the offset value;

[0088] A voltage module 330, used to apply a voltage array to the liquid crystal component;

[0089] The shooting module 340 is used to shoot and obtain a target image.

[0090] When the voltage applied to the liquid crystal component is different, the refractive index of the liquid crystal component is also different. Therefore, when the amplitude of camera shake is different, the voltage applied to the liquid crystal component is changed accordingly, so that accurate anti-shake function can be achieved under different shake amplitudes.

[0091] The anti-shake function is achieved by changing the refractive index of the liquid crystal component. There is no need to set up moving parts in the camera component. Therefore, the camera component will not be broken due to collision of moving parts, thereby reducing the damage rate of the lens and image sensor, which is beneficial to increasing the service life of the camera component.

[0092] In a possible embodiment, the anti-shake shooting device also includes: an updating module; before obtaining the jitter offset value of the image received by the image sensor within a set time length: the obtaining module is also used to: obtain the first calibration image received by the image sensor; the determining module is also used to: determine the second calibration image of the first calibration image under the jitter offset value; the voltage module is also used to: apply a voltage array to the liquid crystal component to adjust the imaging position of the second calibration image on the image sensor; the updating module is used to: update the jitter offset value according to the first calibration image and the second calibration image; the updating module is also used to: update the voltage array according to the updated jitter offset value until the offset of the first calibration image and the second calibration image on the image sensor is zero.

[0093] The anti-shake 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 specifically limit it.

[0094] The anti-shake 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.

[0095] The anti-shake shooting device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

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

[0097] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0098] Fig. 9 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0099] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510.

[0100] Those skilled in the art will appreciate that the electronic device 500 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 510 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.

[0101] Among them, the processor 510 is used to obtain an image received by the image sensor in a shooting mode; determine a jitter offset value corresponding to the image; determine a voltage array of a liquid crystal component according to the jitter offset value, the liquid crystal component includes a plurality of liquid crystals, the voltage array includes input voltages of the plurality of liquid crystals, and the voltage array is associated with the offset value; apply the voltage array to the liquid crystal component; and capture a target image.

[0102] When the voltage applied to the liquid crystal component is different, the refractive index of the liquid crystal component is also different. Therefore, when the amplitude of camera shake is different, the voltage applied to the liquid crystal component is changed accordingly, so that accurate anti-shake function can be achieved under different shake amplitudes.

[0103] The anti-shake function is achieved by changing the refractive index of the liquid crystal component. There is no need to set up moving parts in the camera component. Therefore, the camera component will not be broken due to collision of moving parts, thereby reducing the damage rate of the lens and image sensor, which is beneficial to increasing the service life of the camera component.

[0104] Optionally, before obtaining the jitter offset value of the image received by the image sensor within a set time length, the processor 510 is also used to: determine a second calibration image of the first calibration image under the jitter offset value; apply a voltage array to the liquid crystal component to adjust the imaging position of the second calibration image on the image sensor; update the jitter offset value according to the first calibration image and the second calibration image; update the voltage array according to the updated jitter offset value until the offset of the first calibration image and the second calibration image on the image sensor is zero.

[0105] By setting different jitter offset values, voltage arrays corresponding to different jitter offset values ​​can be obtained. When used on a camera component, if a jitter offset value is detected, the corresponding voltage array is directly called, and the corresponding voltage array is input to the liquid crystal component to achieve the anti-shake function.

[0106] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042, and the graphics processor 5041 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 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 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.

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

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

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

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

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

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

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

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

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

[0116] 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 lens assembly, characterized in that: include: shell; A lens connected to the housing; An image sensor connected to the housing, wherein the image sensor is arranged corresponding to the lens; A liquid crystal component connected to the housing, wherein the liquid crystal component is located between the lens and the image sensor; a voltage component, electrically connected to the image sensor and the liquid crystal component, wherein the voltage component changes the refractive index of the liquid crystal component according to the image received by the image sensor; The liquid crystal assembly includes a light-transmitting member and a liquid crystal film; The light-transmitting member is connected to the housing; The liquid crystal film is arranged on the light-transmitting member; The light-transmitting member comprises: a lens, the lens is provided with a mounting curved surface, and the liquid crystal film is provided on the mounting curved surface; The liquid crystal film comprises a plurality of liquid crystals, the input voltages of the plurality of liquid crystals form a voltage array, and the voltage component changes the input voltage of the liquid crystal film according to the voltage array; The plurality of liquid crystals in the liquid crystal film are independent of each other, and each of the liquid crystals has an upper electrode and a lower electrode, so that a voltage is applied independently to each of the liquid crystals to change the refractive index.

2. The lens assembly according to claim 1, characterized in that: The refractive index of the light-transmitting element is associated with an input voltage of the light-transmitting element.

3. An electronic device, characterized in that: include: The lens assembly as claimed in claim 1 or 2.

4. An anti-shake shooting method, used in the electronic device as claimed in claim 3, characterized in that: The anti-shake shooting method comprises: In shooting mode, obtaining a preview image received by the image sensor; Determining a jitter offset value corresponding to the preview image; Determining a voltage array of the liquid crystal component according to the jitter offset value, wherein the liquid crystal component includes a plurality of liquid crystals, and the voltage array includes input voltages of the plurality of liquid crystals; applying the voltage array to the liquid crystal component; The target image is captured.

5. The anti-shake shooting method according to claim 4, characterized in that: Before determining the jitter offset value corresponding to the preview image, the anti-shake shooting method further includes: Acquire a first calibration image received by the image sensor; Determine a second calibration image of the first calibration image at the jitter offset value; Applying the voltage array to the liquid crystal component to adjust the imaging position of the second calibration image on the image sensor; updating the jitter offset value according to the first calibration image and the second calibration image; The voltage array is updated according to the updated jitter offset value until the offset between the first calibration image and the second calibration image on the image sensor is zero.

6. An anti-shake shooting device, used in the electronic device as claimed in claim 3, characterized in that: The anti-shake shooting device comprises: An acquisition module, used for acquiring a preview image received by the image sensor in a shooting mode; A determination module, used to determine a jitter offset value corresponding to the preview image; The determination module is further used to: determine a voltage array of the liquid crystal component according to the jitter offset value, the liquid crystal component includes a plurality of liquid crystals, and the voltage array includes input voltages of the plurality of liquid crystals; A voltage module, used for applying the voltage array to the liquid crystal component; The shooting module is used to shoot and obtain the target image.

7. The anti-shake shooting device according to claim 6, characterized in that: The anti-shake shooting device further includes: an updating module; Before determining the jitter offset value corresponding to the preview image: The acquisition module is also used to: acquire a first calibration image received by the image sensor; The determination module is further used to: determine a second calibration image of the first calibration image at the jitter offset value; The voltage module is further used to: apply the voltage array to the liquid crystal component to adjust the imaging position of the second calibration image on the image sensor; The updating module is used to: update the jitter offset value according to the first calibration image and the second calibration image; The updating module is further used for updating the voltage array according to the updated jitter offset value until the offset between the first calibration image and the second calibration image on the image sensor is zero.

8. An electronic device, characterized in that: The device 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 anti-shake shooting method as claimed in claim 4 or 5 are implemented.

9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the anti-shake shooting method according to claim 4 or 5 are implemented.

Citation Information

Patent Citations

  • Camera module and terminal equipment

    CN110602370A