Camera module, shooting control method, device, electronic equipment and storage medium
By introducing a second lens component into the camera module of the mobile phone camera and adjusting its position through the driver, the problem of low image clarity caused by lens aberration is solved, and a higher image clarity and user experience are achieved.
Patent Information
- Application Number
- CN202210727003.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2042-06-24
AI Technical Summary
During the shooting process, due to lens aberration problems, the sharpness of the captured images is lower.
An imaging module is designed, including a first lens assembly, an image sensor and a second lens assembly, which is located between the image sensor and the first lens assembly, and whose position is adjusted by a driving member to compensate for the inclination angle and field curve of the first lens assembly.
By adjusting the position of the second lens component, the lens aberration can be effectively eliminated, the clarity of the captured image can be improved, and the user's shooting experience can be improved.
Smart Images

Figure CN115118857B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of camera technology, and specifically relates to a camera module, a shooting control method, a device, an electronic device and a storage medium. Background Art
[0002] Currently, mobile phone cameras have more and more photo-taking functions, and consumers have higher and higher requirements for the mobile phone photo-taking experience.
[0003] Affected by the inherent properties of the lens in the shooting component and assembly errors, there are aberrations in the shooting process, resulting in lower clarity of the captured image. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a camera module, a shooting control method, a device, an electronic device and a storage medium, which achieve the effect of eliminating lens aberrations and improve the clarity of captured images.
[0005] In a first aspect, an embodiment of the present application provides a camera module, comprising: a first lens assembly; an image sensor, arranged corresponding to the first lens assembly; a second lens assembly, arranged corresponding to the first lens assembly, and the second lens assembly is located between the image sensor and the first lens assembly; a driving member, connected to the second lens assembly, the driving member being able to adjust the posture of the second lens assembly to change the positional relationship of the second lens assembly relative to the first lens assembly.
[0006] In a second aspect, an embodiment of the present application provides an electronic device, including: the camera module in the first aspect.
[0007] In a third aspect, an embodiment of the present application provides a shooting control method for the electronic device in the second aspect, comprising: obtaining parameter information and posture information of a first lens assembly in the electronic device; determining target posture information of a second lens assembly in the electronic device based on the parameter information and posture information of the first lens assembly; controlling the second lens assembly to move to a target position through a driving member in the electronic device, the posture information of the second lens assembly at the target position being the target posture information; and controlling a camera module in the electronic device to capture an image to obtain a target image.
[0008] In a fourth aspect, an embodiment of the present application provides a shooting control device, which is used for the electronic device in the second aspect, including: an acquisition module, used to acquire parameter information and posture information of a first lens assembly in the electronic device; a determination module, used to determine the target posture information of a second lens assembly in the electronic device based on the parameter information and posture information of the first lens assembly; a control module, used to control the second lens assembly to move to a target position through a driving member in the electronic device, and the posture information of the second lens assembly at the target position is the target posture information; the control module is also used to control the camera module in the electronic device to capture an image to obtain a target image.
[0009] In a fifth aspect, an embodiment of the present application provides an electronic device, including 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 third aspect are implemented.
[0010] 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 of the third aspect are implemented.
[0011] In a seventh 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 programs or instructions to implement the steps of the method of the third aspect.
[0012] 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 third aspect.
[0013] The camera module in the embodiment of the present application includes two lens assemblies, a first lens assembly and a second lens assembly. In the process of light sensing and imaging by the image sensor, light needs to pass through the first lens assembly and the second lens assembly in sequence, that is, the light is refracted by the two lens assemblies and then collected by the image sensor. The second lens assembly is connected to the driving member, and the operation of the driving member can drive the second lens assembly to adjust the posture, that is, adjust the posture of the second lens assembly, thereby changing the positional relationship of the second lens assembly relative to the first lens assembly, and realizing shooting compensation of the first lens assembly through the second lens assembly, which can achieve the effect of eliminating lens aberrations and improve the clarity of the captured image.
[0014] In the embodiment of the present application, a second lens assembly is arranged between the image sensor and the first lens assembly, and the position of the second lens assembly can be changed under the drive of the driving member. Before the image is captured by the camera module, the position of the second lens assembly is adjusted to compensate for the tilt angle of the first lens assembly and the field curvature of the first lens assembly, thereby achieving the effect of eliminating the aberration of the lens assembly and improving the clarity of the captured image. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of the structure of a camera module provided in an embodiment of the present application is shown;
[0016] Figure 2 A circuit diagram of a signal processing circuit provided in an embodiment of the present application is shown;
[0017] Figure 3 One of the schematic diagrams of the positions and postures of the first lens assembly and the second lens assembly provided in an embodiment of the present application is shown;
[0018] Figure 4 The second schematic diagram of the positions and postures of the first lens assembly and the second lens assembly provided in the embodiment of the present application is shown;
[0019] Figure 5 A schematic diagram of the structure of a piezoelectric driver provided in an embodiment of the present application is shown;
[0020] Figure 6 One of the structural block diagrams of the electronic device provided in the embodiment of the present application is shown;
[0021] Figure 7 A schematic diagram showing a flow chart of a shooting control method provided in an embodiment of the present application is shown;
[0022] Figure 8 One of the imaging schematic diagrams of the first lens assembly provided in an embodiment of the present application is shown;
[0023] Fig. 9 The second imaging schematic diagram of the first lens assembly provided in the embodiment of the present application is shown;
[0024] Fig.10 A structural block diagram of a shooting control device provided in an embodiment of the present application is shown;
[0025] Fig.11 The second structural block diagram of the electronic device provided in the embodiment of the present application is shown;
[0026] Fig.12 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application is shown.
[0027] in, Figures 1 to 5The corresponding relationship between the reference numerals and the component names is as follows:
[0028] 100 camera module, 110 first lens assembly, 120 second lens assembly, 130 image sensor, 132 signal processing circuit, 1321 photosensitive element, 1322 first capacitive element, 1323 first switch element, 1324 second switch element, 1325 signal amplifier, 140 driving element, 142 piezoelectric driving element, 150 infrared filter element. DETAILED DESCRIPTION
[0029] 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.
[0030] 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.
[0031] The following is combined with Figures 1 to 12 , the camera module, shooting control method, shooting control device, electronic device and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0032] In some embodiments of the present application, a camera module is provided. Figure 1 FIG. 1 shows a schematic diagram of the structure of a camera module provided in an embodiment of the present application. Figure 1 As shown, the camera module 100 includes: a first lens assembly 110, a second lens assembly 120, an image sensor 130 and a driving member 140.
[0033] Among them, the image sensor 130 is arranged corresponding to the first lens assembly 110, and the second lens assembly 120 is located between the image sensor 130 and the first lens assembly 110; the driving member 140 is connected to the second lens assembly 120, and the driving member 140 is used to adjust the posture of the second lens assembly 120 to change the positional relationship of the second lens assembly 120 relative to the first lens assembly 110.
[0034] The camera module 100 in the embodiment of the present application includes two lens assemblies, a first lens assembly 110 and a second lens assembly 120. When the image sensor 130 is performing photosensitivity imaging, light needs to pass through the first lens assembly 110 and the second lens assembly 120 in sequence, that is, the light is refracted by the two lens assemblies and then collected by the image sensor 130. The second lens assembly 120 is connected to the driving member 140, and the operation of the driving member 140 can drive the second lens assembly 120 to adjust its posture, thereby changing the positional relationship of the second lens assembly 120 relative to the first lens assembly 110.
[0035] In the related art, only one fixed lens is provided in the shooting device. During the shooting process, the meridian image and the sagittal image are not necessarily on the same image plane. In fact, the plane where the meridian image and the sagittal image are located is not even a plane. This aberration is called field curvature, which makes it impossible to fully focus the entire image. As a result, the center of the image is clear, while the edges are severely defocused.
[0036] In the embodiment of the present application, the focus parameters during shooting can be adjusted by adjusting the distance between the first lens assembly 110 and the second lens assembly 120. Specifically, during the process of shooting an image through the camera module 100, the distance between the first lens assembly 110 and the second lens assembly 120 is adjusted to make a partial area in the image clear, and the partial area is partially exposed. Through the above-mentioned partial exposure form, each area in the image is clearly imaged, solving the problem of unclear captured images due to field curvature.
[0037] In the related art, during the assembly process of the shooting device, the fixed lens assembly has an inclination error due to the influence of the assembly accuracy. When the lens assembly is tilted, the clarity of the image in the shooting is easily affected.
[0038] In the embodiment of the present application, even if the first lens assembly 110 is tilted, the tilt angle of the second lens assembly 120 relative to the first lens assembly 110 can be adjusted by adjusting the posture of the second lens assembly 120, thereby avoiding the problem of unclear images caused by the tilt of the first lens assembly 110 during shooting.
[0039] The image sensor 130 in the present application is an image sensor 130 capable of performing exposure in different regions. The image sensor 130 is provided with a plurality of signal processing circuits 132 . Figure 2 : shows a circuit diagram of a signal processing circuit provided in an embodiment of the present application, such as Figure 2As shown, the signal processing circuit 132 includes a photosensitive element 1321 (PD), a first capacitive element 1322 (FD), a first switch element 1323 (RST), a second switch element 1324 (TX) and a signal amplifier 1325 (SF). The first end of the first switch element 1323 is used to receive an electrical signal, and the second switch element 1324 and the photosensitive element 1321 are connected in series between the second end of the first switch element 1323 and the ground end. The first capacitive element 1322 is connected between the second end of the first switch element 1323 and the ground end. One end of the signal amplifier 1325 is connected to the second end of the first switch element 1323, and the other end of the signal amplifier 1325 is connected to the row selector (SET). There are multiple signal processing circuits 132, and multiple signal processing circuits 132 are connected to the row selector (SET). In the exposure stage of the signal processing circuit 132, the first switch 1323 and the second switch 1324 are opened at the same time to clear the electrons in the first capacitive element 1322, and then the two are disconnected to start exposure. The electron-hole pairs generated by light irradiation will be separated due to the existence of the electric field of the first capacitive element 1322, and the electrons will move to the n region and the holes will move to the p region. At the end of exposure, the first switch 1323 is activated to reset the first capacitive element 1322 to a high level. After the reset is completed, the reset level of the first capacitive element 1322 is read out, which contains a noise signal, and the electrons corresponding to the signal are stored in the first capacitive element 1322. The second switch 1324 is activated to completely transfer the electrons from the photosensitive area to the first capacitive element 1322 for reading. The signal processing circuit 132 also includes a second capacitive element, and then the voltage signal of the first capacitive element 1322 is read out to the second capacitive element. The signals here include: signals generated by photoelectric conversion and noise signals generated by operational amplifiers. The voltage signals stored in the first capacitive element 1322 and the second capacitive element are subtracted to eliminate noise. The signal after noise elimination is analog amplified and then sampled to output a digital signal.
[0040] In the embodiment of the present application, the second lens assembly 120 is disposed between the image sensor 130 and the first lens assembly 110, and the posture of the second lens assembly 120 can be changed under the drive of the driving member 140. Before shooting an image through the camera module 100, by adjusting the posture of the second lens assembly 120 and coordinating with a corresponding exposure method, the effect of eliminating the aberration of the lens assembly can be achieved, the clarity of the shot image can be improved, and the user experience can be improved.
[0041] In some embodiments of the present application, the positional relationship includes at least one of the following: a distance between the second lens assembly 120 and the first lens assembly 110 , and a tilt angle between the second lens assembly 120 and the first lens assembly 110 .
[0042] In the embodiment of the present application, the driving member 140 can adjust the posture of the second lens assembly 120 to adjust the positional relationship of the second lens assembly 120 relative to the first lens assembly 110, wherein the posture of the second lens assembly 120 includes the position of the second lens assembly 120 and the posture of the second lens assembly 120.
[0043] Figure 3 One of the schematic diagrams of the positions of the first lens assembly and the second lens assembly provided in an embodiment of the present application is shown, Figure 3 As shown, the first lens assembly 110 and the second lens assembly 120 are coaxially arranged, and the driving member 140 can drive the second lens assembly 120 to move along the axis direction, thereby changing the distance between the second lens assembly 120 and the first lens assembly 110 .
[0044] Figure 4 FIG. 2 shows a second schematic diagram of the positions of the first lens assembly and the second lens assembly provided in an embodiment of the present application. Figure 4 As shown, the driving member 140 can also drive the second lens assembly 120 to rotate about the axis, thereby adjusting the corresponding positions of the first lens assembly 110 and the second lens assembly 120. The driving member 140 can also adjust the tilt angle of the second lens assembly 120 itself, thereby adjusting the angle between the second lens assembly 120 and the first lens assembly 110.
[0045] For example, when an image is captured by the image sensor 130, the image sensor 130 focuses on the captured scene and then captures a portion of the image area. After adjusting the distance between the second lens assembly 120 and the first lens assembly 110, the other portion of the image area is captured. If the image includes multiple imaging areas, the distance between the second lens assembly 120 and the first lens assembly 110 is also multiple, and the distances correspond to the imaging areas one by one. By capturing the image in different areas, the effect of eliminating the aberration of the lens assembly is achieved.
[0046] For example, during the process of capturing an image through the image sensor 130, it is detected that the first lens assembly 110 has a tilt angle. By controlling the driving member 140 to adjust the tilt angle of the second lens assembly 120 relative to the first lens assembly 110, the tilt angle of the first lens assembly 110 is compensated to ensure the clarity of the captured image.
[0047] In the embodiment of the present application, not only the distance of the second lens assembly 120 relative to the first lens assembly 110 can be adjusted, but also the inclination angle of the second lens assembly 120 relative to the first lens assembly 110 can be adjusted. Before shooting, the clarity of the captured image can be improved by adjusting the posture of the second lens assembly 120.
[0048] In some embodiments of the present application, the camera module 100 further includes: an infrared filter 150 , which is arranged corresponding to the image sensor 130 .
[0049] The infrared filter 150 is located between the first lens assembly 110 and the second lens assembly 120 , or the infrared filter 150 is located between the second lens assembly 120 and the image sensor 130 .
[0050] In the embodiment of the present application, the camera module 100 further includes an infrared filter 150 disposed corresponding to the first lens assembly 110. The infrared filter 150 may be located between the first lens assembly 110 and the second lens assembly 120, or between the second lens assembly 120 and the image sensor 130.
[0051] When the infrared filter 150 is located between the first lens assembly 110 and the second lens assembly 120, the light passes through the first lens assembly 110, the infrared filter 150, and the second lens assembly 120 in sequence before being collected by the image sensor 130. When the infrared filter 150 is located between the second lens assembly 120 and the image sensor 130, the light passes through the first lens assembly 110, the second lens assembly, and the infrared filter 150 in sequence before being collected by the image sensor 130.
[0052] In the embodiment of the present application, no matter the infrared filter 150 is located at any of the above two positions, the infrared filter 150 will not move with the second lens assembly 120 .
[0053] Specifically, the infrared filter 150 may be an infrared filter (IR Filter) for filtering out infrared light that interferes with imaging quality and ensuring high transmittance of visible light.
[0054] In the embodiment of the present application, by setting an infrared filter 150 between the first lens assembly 110 and the second lens assembly 120, the light that affects the imaging quality can be effectively filtered, thereby further improving the imaging effect of the camera module 100 when taking images.
[0055] In some embodiments of the present application, the driver 140 is a piezoelectric driver 140 , and the driver 140 adjusts the posture of the second lens assembly 120 by adjusting the voltage input to the driver 140 .
[0056] In the embodiment of the present application, the driving element 140 may be a micro-electromechanical system (MEMS), and specifically may be a piezoelectric driving element 140 , that is, the driving element 140 is made of a piezoelectric material.
[0057] Figure 5FIG. 1 shows one of the structural schematic diagrams of the piezoelectric drive element provided in the embodiment of the present application, such as Figure 5 As shown, by applying voltage to the piezoelectric driving element 142 , the piezoelectric driving element 142 is deformed, and the deformation amount is related to the voltage value.
[0058] In the embodiments of the present application, the piezoelectric material includes single crystal piezoelectric material, ceramic piezoelectric material, and thin film piezoelectric material.
[0059] In the embodiment of the present application, the driving element is configured as a piezoelectric driving element 142, which not only ensures that the driving element can drive the second lens assembly, but also reduces the size of the driving element.
[0060] The present application embodiment provides an electronic device, Figure 6 One of the structural block diagrams of the electronic device provided in the embodiment of the present application is shown, such as Figure 6 As shown, the electronic device 600 includes the camera module 100 in any of the above embodiments, and thus has all the beneficial effects of the camera module 100 in any of the above embodiments.
[0061] The electronic device 600 further includes a display screen, and during the shooting process, a preview image shot by the camera module 100 is displayed on the display screen.
[0062] In some embodiments of the present application, a shooting control method is provided, and the shooting control method is applied to the electronic device in any of the above embodiments. Figure 7 FIG. 1 shows a flow chart of a shooting control method provided in an embodiment of the present application. Figure 7 As shown, the shooting control method includes:
[0063] Step 702, obtaining parameter information and position information of a first lens assembly in the electronic device;
[0064] Step 704, determining target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly;
[0065] In the embodiment of the present application, the parameter information includes lens parameters of the first lens assembly, such as: the radius of curvature and the front and rear focal lengths of the first lens assembly. The posture information includes the position and posture of the first lens assembly.
[0066] Step 706, controlling the second lens assembly to move to a target position through a driving member in the electronic device, and the position and posture information of the second lens assembly at the target position is the target position and posture information;
[0067] Step 708, controlling the camera module in the electronic device to capture images to obtain a target image.
[0068] In the embodiment of the present application, when the electronic device receives a user's shooting input, the camera module is controlled to start the shooting operation. Before the camera module performs the shooting operation, the position information of the first lens assembly in the camera module is obtained, and the parameter information of the first lens assembly is obtained.
[0069] In the process of performing a shooting operation through the camera module, according to the posture information and parameter information of the first lens assembly, the driving member is controlled to drive the second lens assembly to move to the target position, and the first lens assembly is compensated by the second lens assembly. After the second lens assembly moves to the target position, shooting begins to obtain a target image.
[0070] In the related art, the camera of the electronic device is only provided with a fixed lens, and there is field curvature in the process of capturing images, and the captured images have unclear areas. The lens may be tilted due to assembly errors during the assembly process, and the images captured by the lens with tilt problems will also have unclear areas.
[0071] In the embodiment of the present application, when the electronic device is shooting through the shooting module, it is necessary to adjust the positional relationship of the second lens assembly relative to the first lens assembly to compensate for the first lens assembly, thereby reducing the field curvature of the first lens assembly and the image blur caused by the tilt of the first lens assembly. Therefore, before starting to shoot through the camera module, it is necessary to determine the target posture information of the second lens assembly, and adjusting the posture of the second lens assembly is to compensate for the first lens assembly, so the target posture information of the second lens is determined according to the posture information and parameter information of the first lens assembly.
[0072] In some possible implementations, before the electronic device leaves the factory, the parameter information and posture information of the first lens assembly are calibrated with the target posture information of the second lens assembly, and the calibrated correspondence is stored in the electronic device. During the shooting process of the electronic device, the parameter information and posture information of the first lens assembly in the camera module are obtained, and the target posture information of the second lens assembly is found according to the pre-stored correspondence.
[0073] In some possible implementations, the position and posture information of the first lens assembly is detected before the electronic device leaves the factory, so as to detect the position and posture information of the first lens assembly under different parameter information. For example, when the camera module takes an image at a first focal length, the position and posture of the first lens assembly, and when the camera module takes an image at a second focal length, the position and posture of the first lens assembly. During the shooting process of the electronic device, the current position and posture information of the first lens assembly can be determined according to the focal length of the captured image.
[0074] In some possible implementations, the parameter information of the first lens assembly is a hardware characteristic of the first lens assembly, and the parameter information is stored in the electronic device before the electronic device leaves the factory.
[0075] In the embodiment of the present application, before the camera module executes the shooting action, the position and posture of the second lens assembly are adjusted according to the posture information and parameter information of the first lens assembly, so that the shooting compensation of the first lens assembly is performed by the second lens assembly, which can achieve the effect of eliminating lens aberrations, improve the clarity of the captured image, and enhance the user experience.
[0076] In some embodiments of the present application, the target posture information includes at least one of the following: distance information of the second lens assembly relative to the first lens assembly, and tilt angle information of the second lens assembly relative to the first lens assembly.
[0077] In the embodiment of the present application, the driving member can adjust the posture of the second lens assembly to achieve the target posture corresponding to the target posture information.
[0078] Specifically, the first lens assembly is coaxially arranged with the second lens assembly, and the driving member can drive the second lens assembly to move along the axis direction, adjust the position of the second lens assembly, and make the distance of the second lens assembly relative to the first lens assembly reach the target distance. The driving member can also adjust the tilt angle of the second lens assembly itself, so that the angle between the second lens assembly and the first lens assembly is the target tilt angle.
[0079] Before shooting with the camera module (before the device leaves the factory), the camera module needs to perform aberration calibration on the first lens assembly. The aberration calibration includes field curvature calibration and tilt calibration of the first lens assembly. The preset position of the second lens assembly can be determined by field curvature calibration, and the preset tilt angle of the second lens assembly can be determined by tilt calibration.
[0080] Figure 8 FIG. 1 shows one of the imaging schematic diagrams of the first lens assembly provided in an embodiment of the present application, such as Figure 8As shown, the light reflected by the object is imaged after passing through the first lens assembly 802. Because the first lens assembly has field curvature, a curved image plane 804 is formed. The target image corresponding to the image plane includes a first imaging area 806, a second imaging area 808, and a third imaging area 810, wherein the first imaging area 806 is circular, the second imaging area 808 and the third imaging area 810 are both annular, the first imaging area 806 is located in the second imaging area 808, and the second imaging area 808 is located in the third imaging area 810. If the image sensor is sensitive to light and images at the image plane, the third imaging area 810 is clear, the second imaging area 808 is slightly blurred, and the first imaging area 806 is the most blurred. In the calibration process, the first imaging area 806, the second imaging area 808, and the third imaging area 810 are calibrated respectively to obtain the target posture information of the second lens assembly.
[0081] The step of calibrating the field curvature includes: controlling the driving member to drive the second lens assembly to move so that the image of the first imaging area 806 is clear, recording the position of the second lens assembly at this time, setting it as the first preset position, and then controlling the driving member to drive the second lens assembly to move so that the image of the second imaging area 808 is clear, recording the position of the second lens assembly at this time, setting it as the second preset position, and similarly recording the position of the second lens assembly when the third imaging area 810 is clear as the third preset position. When calibrating the field curvature of the second lens under different parameter information, the shooting module is operated with different parameter information, and the above steps are repeated.
[0082] Fig. 9 FIG. 2 shows a second imaging schematic diagram of the first lens assembly provided in an embodiment of the present application. Fig. 9 As shown, the light reflected by the object passes through the first lens assembly 902 and forms an image. Because the first lens assembly 902 is tilted, the image plane 904 is also tilted. At this time, when the image is formed by the image sensor, only the first imaging area 906 is clear, and the second imaging area 908 and the third imaging area 910 are blurred. During the calibration process, the control driving member drives the second lens assembly to adjust the tilt angle so that the imaging of the first imaging area 906, the second imaging area 908 and the third imaging area 910 are respectively in a clear state, and the tilt angle of the second lens assembly in which the first imaging area 906, the second imaging area 908 and the third imaging area 910 are in a clear state is recorded as the target posture information. In the embodiment of the present application, the target posture information includes not only the distance information of the second lens assembly relative to the first lens assembly, that is, the position information of the second lens assembly, but also the tilt angle information of the second lens assembly relative to the first lens assembly. Before the camera module starts shooting, the second lens assembly can be driven by the control driving member to move to the position and tilt angle corresponding to the target posture information to improve the clarity of the captured image.
[0083] In some embodiments of the present application, target posture information of a second lens assembly in an electronic device is determined based on parameter information and posture information of the first lens assembly, including: determining a first central imaging area and N annular imaging areas of an image sensor based on the parameter information of the first lens assembly, where N is a positive integer; determining M target distance information of the second lens assembly based on the first central imaging area and the N annular imaging areas, where the target distance information is the distance information of the second lens assembly relative to the first lens assembly, where M=N+1.
[0084] In the embodiment of the present application, since the first lens assembly has field curvature, there is a blurred area in the captured image. Therefore, before shooting begins, it is necessary to determine the current parameter information of the first lens assembly, and based on the parameter information, determine multiple imaging areas and the distance information of the second lens assembly corresponding to the multiple imaging areas relative to the first lens assembly, that is, the first target position.
[0085] In an embodiment of the present application, the number of multiple imaging areas is M, and the M imaging areas include 1 first central imaging area and M-1(N) annular imaging areas, wherein the first central imaging area is located in the middle of the N annular imaging areas, and the N annular imaging areas are distributed in an annular manner outside the first central imaging area.
[0086] Due to the field curvature of the first lens assembly, during the shooting process, if the first central imaging area is ensured to be clear, the N annular imaging areas distributed around the first central imaging area will be blurred to varying degrees. By setting different first target positions of the second lens assembly for the first central imaging area and the N annular imaging areas, the image blur caused by the field curvature can be compensated, ensuring that each area of the captured target image has good clarity.
[0087] In some possible implementations, before the electronic device leaves the factory, the M target distance information of the second lens assembly corresponding to the M imaging areas is calibrated, so that the corresponding M target distance information can be directly obtained according to the M imaging areas. By determining the correspondence between the target distance information obtained by pre-calibration and the imaging area, the M target distance information of the second lens assembly relative to the first lens assembly is determined, thereby improving the shooting efficiency while ensuring the shooting effect.
[0088] In some other possible implementations, before shooting begins, the electronic device divides M imaging areas and calibrates the corresponding target distance information for the M imaging areas. The calibration process is the same as the calibration method before leaving the factory, and will not be described in detail here. At the beginning of each shooting stage, the first central imaging area and N annular imaging areas are re-divided according to the current parameter information, and the corresponding target distance information is calibrated for each of the M imaging areas. Before each shooting begins, the imaging area is re-divided and the target distance information is calibrated, which can further improve the shooting effect.
[0089] Controlling the second lens assembly to move to the target position through a driving member in the electronic device includes: based on the M target distance information, controlling the second lens assembly to move to the M first target positions through the driving member;
[0090] The camera module in the electronic device is controlled to capture images to obtain a target image, including: respectively capturing first center image data and N ring image data at M first target positions; and obtaining the target image based on the first center image data and the N ring image data.
[0091] In the embodiment of the present application, after determining the first central imaging area and the N annular imaging areas, the first central imaging area and the N annular imaging areas are exposed respectively, and before exposure, the second lens assembly is adjusted to a position corresponding to the corresponding target distance information.
[0092] Specifically, during the shooting process, the control driving member drives the second lens assembly to move to M first target positions respectively, and the M first target positions correspond to M target distance information and M imaging areas one by one, wherein the M imaging areas include 1 first center imaging area and N annular imaging areas. When the second lens assembly is at each of the M first target positions, the corresponding image data is shot, wherein when the first target position corresponds to the first center imaging area, the first center image data is collected, and when the first target position corresponds to N annular imaging areas, N annular image data are collected respectively. After collecting 1 first center image data and N annular image data, the target image can be obtained by synthesizing the first center image data and the N annular image data.
[0093] In the embodiment of the present application, by setting different first target positions of the second lens assembly for the first central imaging area and the N annular imaging areas respectively during the process of shooting the first central imaging area and the N annular imaging areas, and separately collecting corresponding first central image data and N annular image data for the first central imaging area and the N annular imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, and the problem of poor clarity caused by the field curvature of the first lens is avoided.
[0094] In some embodiments of the present application, determining target pose information of a second lens assembly in an electronic device based on parameter information and pose information of a first lens assembly includes: determining a second central imaging area and P strip imaging areas of an image sensor based on the pose information of the lens assembly, where P is a positive integer; determining Q target pose information of the second lens assembly based on the second central imaging area and the P strip imaging areas, where Q=P+1;
[0095] In the embodiment of the present application, since the first lens assembly has an inclination angle due to the influence of assembly accuracy, there is a blurred area in the captured image. Before shooting begins, it is necessary to determine the current posture information of the first lens assembly, and based on the posture information, determine the multiple imaging areas obtained by calibration, as well as the target posture information of the second lens assembly relative to the first lens assembly corresponding to the multiple imaging areas, that is, the second target position, wherein the target posture information includes but is not limited to the inclination angle information of the second lens assembly relative to the first lens assembly, and the distance information of the second lens assembly relative to the first lens assembly.
[0096] In the embodiment of the present application, the number of multiple imaging areas is Q, the Q imaging areas include 1 second central imaging area and Q-1(P) strip imaging areas, and the P strip imaging areas are distributed on both sides of the second central imaging area.
[0097] Since the first lens assembly is tilted, during the shooting process, if the second central imaging area is ensured to be clear, the P strip-shaped imaging areas distributed on both sides of the second central imaging area are blurred to varying degrees. By setting different first target positions of the second lens assembly for the second central imaging area and the P strip-shaped imaging areas, the blur caused by the tilt of the first lens can be compensated, ensuring that each area of the captured target image has good clarity.
[0098] In some possible implementations, before the electronic device leaves the factory, the Q target pose information of the second lens assembly corresponding to the Q imaging areas is calibrated, so that the corresponding Q target pose information can be directly obtained according to the Q imaging areas. By determining the correspondence between the target pose information obtained by pre-calibration and the imaging area, the Q target pose information of the second lens assembly relative to the first lens assembly is determined, thereby improving the shooting efficiency while ensuring the shooting effect.
[0099] In some other possible implementations, before shooting begins, the electronic device divides the Q imaging areas and calibrates the corresponding target posture information for the Q imaging areas. The calibration process is the same as the calibration method before leaving the factory, and will not be described in detail here. At the beginning of each shooting stage, the second central imaging area and the P strip imaging areas are re-divided according to the current parameter information, and the corresponding target posture information is calibrated for the Q imaging areas. Before each shooting begins, the imaging area is re-divided and the target posture information is calibrated, which can further improve the shooting effect.
[0100] Controlling the second lens assembly to move to a target position by a driving member in the electronic device includes:
[0101] Based on the Q target position information, controlling the second lens assembly to move to Q second target positions through a driving member;
[0102] Controlling the camera module in the electronic device to collect images and obtain the target image includes:
[0103] At Q second target positions, second central image data and P strip image data are respectively acquired;
[0104] Based on the second central image data and the P strip image data, a target image is obtained.
[0105] In the embodiment of the present application, after determining the second central imaging area and the P strip-shaped imaging areas, the second central imaging area and the P strip-shaped imaging areas are exposed respectively, and before exposure, the second lens assembly is adjusted to a position corresponding to the corresponding target distance information.
[0106] Specifically, during the shooting process, the control driving member drives the second lens assembly to move to Q second target positions respectively, and the Q second target positions correspond to the Q target distance information and Q imaging areas one by one, wherein the Q imaging areas include 1 second center imaging area and P strip imaging areas. When the second lens assembly is at each of the Q second target positions, the corresponding image data is shot, wherein when the second target position corresponds to the second center imaging area, the second center image data is collected, and when the second target position corresponds to the P strip imaging areas, the P strip image data are collected respectively. After collecting 1 second center image data and P strip image data, the target image can be obtained by synthesizing the second center image data and the P strip image data.
[0107] In the embodiment of the present application, during the process of the second lens assembly moving to the second target position, at least one of the following items needs to be adjusted: the distance of the second lens assembly relative to the first lens assembly, and the tilt angle of the second lens assembly relative to the first lens assembly.
[0108] In the embodiment of the present application, by setting different second target positions of the second lens assembly for the second central imaging area and the P strip-shaped imaging areas respectively during the process of shooting the second central imaging area and the P strip-shaped imaging areas, and separately collecting corresponding second central image data and P strip-shaped image data for the second central imaging area and the P strip-shaped imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, avoiding the problem of poor clarity caused by the tilt angle of the first lens.
[0109] In some embodiments of the present application, during the shooting process, the tilt angle of the second lens assembly relative to the first lens assembly and the distance of the second lens assembly relative to the first lens assembly, that is, the target position of the second lens assembly can be determined according to the field curvature and the tilt angle of the first lens assembly, and the second lens assembly can be controlled to move to the target position, while compensating for the field curvature and the tilt angle of the first lens assembly.
[0110] The shooting control method provided in the embodiment of the present application can be executed by a shooting control device. In the embodiment of the present application, the shooting control device provided in the embodiment of the present application is described by taking the shooting control method performed by the shooting control device as an example.
[0111] In some embodiments of the present application, a shooting control device is provided, and the shooting control device is applied to the electronic device in any of the above embodiments. Fig.10 The structural block diagram of the shooting control device provided in the embodiment of the present application is shown as follows: Fig.10 As shown, the shooting control device 1000 includes:
[0112] An acquisition module 1002 is used to acquire parameter information and position information of a first lens assembly in an electronic device;
[0113] A determination module 1004 is used to determine target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly;
[0114] The control module 1006 is used to control the second lens assembly to move to a target position through a driving member in the electronic device, and the position and posture information of the second lens assembly at the target position is the target position and posture information;
[0115] The control module 1006 is also used to control the camera module in the electronic device to capture images and obtain a target image.
[0116] In the embodiment of the present application, before the camera module executes the shooting action, the position and posture of the second lens assembly are adjusted according to the posture information and parameter information of the first lens assembly, so that the shooting compensation of the first lens assembly is performed by the second lens assembly, which can achieve the effect of eliminating lens aberrations, improve the clarity of the captured image, and enhance the user experience.
[0117] In some embodiments of the present application, the target posture information includes at least one of the following: distance information of the second lens assembly relative to the first lens assembly, and tilt angle information of the second lens assembly relative to the first lens assembly.
[0118] In the embodiment of the present application, the target posture information includes not only the distance information of the second lens assembly relative to the first lens assembly, that is, the position information of the second lens assembly, but also the tilt angle information of the second lens assembly relative to the first lens assembly. Before the camera module starts shooting, the second lens assembly can be driven to move to the position and tilt angle corresponding to the target posture information by controlling the driving member, thereby improving the clarity of the captured image.
[0119] In some embodiments of the present application, the determination module 1004 is further configured to determine a first central imaging area and N annular imaging areas of the image sensor based on parameter information of the first lens assembly, where N is a positive integer;
[0120] The determination module 1004 is further configured to determine M target distance information of the second lens assembly based on the first central imaging area and the N annular imaging areas, where the target distance information is distance information of the second lens assembly relative to the first lens assembly, wherein M=N+1;
[0121] The control module 1006 is further used to control the second lens assembly to move to the M first target positions through the driving member based on the M target distance information;
[0122] The shooting control device also includes:
[0123] An acquisition module, used for acquiring first central image data and N annular image data at M first target positions respectively;
[0124] The determination module 1004 is further configured to obtain a target image based on the first central image data and the N annular image data.
[0125] In the embodiment of the present application, by setting different first target positions of the second lens assembly for the first central imaging area and the N annular imaging areas respectively during the process of shooting the first central imaging area and the N annular imaging areas, and separately collecting corresponding first central image data and N annular image data for the first central imaging area and the N annular imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, and the problem of poor clarity caused by the field curvature of the first lens is avoided.
[0126] In some embodiments of the present application, the determination module 1004 is further configured to determine a second central imaging area and P stripe imaging areas of the image sensor based on the posture information of the lens assembly, where P is a positive integer;
[0127] The determination module 1004 is further used to determine Q target pose information of the second lens assembly based on the second central imaging area and the P strip imaging areas, where Q=P+1;
[0128] The control module 1006 is further used to control the second lens assembly to move to Q second target positions through the driving member based on the Q target position information;
[0129] The shooting control device also includes:
[0130] An acquisition module, used for acquiring second central image data and P strip image data at Q second target positions respectively;
[0131] The determination module 1004 is further configured to obtain a target image based on the second central image data and the P strip image data.
[0132] In the embodiment of the present application, by setting different second target positions of the second lens assembly for the second central imaging area and the P strip-shaped imaging areas respectively during the process of shooting the second central imaging area and the P strip-shaped imaging areas, and separately collecting the corresponding second central image data and the P strip-shaped image data for the second central imaging area and the P strip-shaped imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, avoiding the problem of poor clarity caused by the tilt angle of the first lens. The shooting control 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 a device other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not specifically limited.
[0133] The shooting control 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.
[0134] The shooting control 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.
[0135] Optionally, an embodiment of the present application further provides an electronic device, which includes a shooting control device as in any of the above embodiments, and thus has all the beneficial effects of the shooting control device in any of the embodiments, which will not be described in detail herein.
[0136] Optionally, an embodiment of the present application further provides an electronic device, Fig.11 The second structural block diagram of the electronic device according to the embodiment of the present application is shown as follows: Fig.11As shown, the electronic device 1100 includes a processor 1102, a memory 1104, and a program or instruction stored in the memory 1104 and executable on the processor 1102. When the program or instruction is executed by the processor 1102, each process of the above-mentioned shooting control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0137] 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.
[0138] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0139] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210 and other components.
[0140] Those skilled in the art will appreciate that the electronic device 1200 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 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 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.
[0141] The processor 1210 is used to obtain parameter information and posture information of a first lens assembly in the electronic device;
[0142] Processor 1210, configured to determine target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly;
[0143] The processor 1210 is used to control the second lens assembly to move to a target position through a driving member in the electronic device, and the position and posture information of the second lens assembly at the target position is the target position and posture information;
[0144] The processor 1210 is used to control the camera module in the electronic device to capture images and obtain a target image.
[0145] In the embodiment of the present application, before the camera module executes the shooting action, the position and posture of the second lens assembly are adjusted according to the posture information and parameter information of the first lens assembly, so that the shooting compensation of the first lens assembly is performed by the second lens assembly, which can achieve the effect of eliminating lens aberrations, improve the clarity of the captured image, and enhance the user experience.
[0146] Furthermore, the target posture information includes at least one of the following: distance information of the second lens assembly relative to the first lens assembly, and tilt angle information of the second lens assembly relative to the first lens assembly.
[0147] In the embodiment of the present application, the target posture information includes not only the distance information of the second lens assembly relative to the first lens assembly, that is, the position information of the second lens assembly, but also the tilt angle information of the second lens assembly relative to the first lens assembly. Before the camera module starts shooting, the second lens assembly can be driven to move to the position and tilt angle corresponding to the target posture information by controlling the driving member, thereby improving the clarity of the captured image.
[0148] Further, the processor 1210 is used to determine a first central imaging area and N annular imaging areas of the image sensor based on parameter information of the first lens assembly, where N is a positive integer;
[0149] The processor 1210 is used to determine M target distance information of the second lens assembly based on the first central imaging area and the N annular imaging areas, where the target distance information is distance information of the second lens assembly relative to the first lens assembly, where M=N+1;
[0150] The processor 1210 is used to control the second lens assembly to move to the M first target positions through the driving member based on the M target distance information;
[0151] The processor 1210 is used to collect and obtain first central image data and N annular image data at M first target positions respectively;
[0152] The processor 1210 is used to obtain a target image based on the first central image data and the N annular image data.
[0153] In the embodiment of the present application, by setting different first target positions of the second lens assembly for the first central imaging area and the N annular imaging areas respectively during the process of shooting the first central imaging area and the N annular imaging areas, and separately collecting corresponding first central image data and N annular image data for the first central imaging area and the N annular imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, and the problem of poor clarity caused by the field curvature of the first lens is avoided.
[0154] Further, the processor 1210 is used to determine a second central imaging area and P stripe imaging areas of the image sensor based on the posture information of the lens assembly, where P is a positive integer;
[0155] The processor 1210 is used to determine Q target pose information of the second lens assembly based on the second central imaging area and the P strip imaging areas, where Q=P+1;
[0156] The processor 1210 is used to control the second lens assembly to move to Q second target positions through a driving member based on the Q target position information;
[0157] The processor 1210 is used to collect and obtain the second central image data and P strip image data at Q second target positions respectively;
[0158] The processor 1210 is used to obtain a target image based on the second central image data and the P strip image data.
[0159] In the embodiment of the present application, by setting different second target positions of the second lens assembly for the second central imaging area and the P strip-shaped imaging areas respectively during the process of shooting the second central imaging area and the P strip-shaped imaging areas, and separately collecting corresponding second central image data and P strip-shaped image data for the second central imaging area and the P strip-shaped imaging areas, it is ensured that different imaging areas in the target image finally shot have good clarity, avoiding the problem of poor clarity caused by the tilt angle of the first lens.
[0160] It should be understood that in the embodiment of the present application, the input unit 1204 may include a graphics processor (Graphics Processing Unit, GPU) 12041 and a microphone 12042, and the graphics processor 12041 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 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include two parts: a touch detection device and a touch controller. Other input devices 12072 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.
[0161] The memory 1209 can be used to store software programs and various data. The memory 1209 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 1209 may include a volatile memory or a non-volatile memory, or the memory 1209 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 1209 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0162] The processor 1210 may include one or more processing units; optionally, the processor 1210 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 1210.
[0163] 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, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0164] 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.
[0165] 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 shooting control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0166] 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.
[0167] 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 control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0168] 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.
[0169] 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.
[0170] 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 camera module, characterized in that: include: A first lens assembly; An image sensor, arranged corresponding to the first lens assembly; A second lens assembly is arranged corresponding to the first lens assembly, and the second lens assembly is located between the image sensor and the first lens assembly, and light is collected by the image sensor after passing through the first lens assembly and the second lens assembly in sequence; a driving member connected to the second lens assembly, the driving member being used to adjust the posture of the second lens assembly to change the positional relationship of the second lens assembly relative to the first lens assembly, thereby compensating for the tilt angle of the first lens assembly; The positional relationship includes a tilt angle of the second lens assembly relative to the first lens assembly, and the tilt angle is an included angle between the second lens assembly and the first lens assembly.
2. The camera module according to claim 1, characterized in that: The positional relationship also includes: the distance between the second lens assembly and the first lens assembly.
3. The camera module according to claim 1, characterized in that: Also includes: An infrared filter, arranged corresponding to the image sensor; The infrared filter is located between the first lens assembly and the second lens assembly, or the infrared filter is located between the second lens assembly and the image sensor.
4. The camera module according to any one of claims 1 to 3, characterized in that: The driving element is a piezoelectric driving element, and the driving element adjusts the posture of the second lens assembly by adjusting the voltage input to the driving element.
5. An electronic device, characterized in that: A camera module comprising any one of claims 1 to 4.
6. A shooting control method, characterized in that: Applied to the electronic device according to claim 5, the shooting control method comprises: Acquiring parameter information and position information of a first lens assembly in the electronic device; Determining target posture information of a second lens assembly in the electronic device based on the parameter information and posture information of the first lens assembly; Controlling the second lens assembly to move to a target position by a driving member in the electronic device to compensate for the tilt angle of the first lens assembly, wherein the position information of the second lens assembly at the target position is the target position information; Controlling the camera module in the electronic device to capture images and obtain a target image; The target posture information includes tilt angle information of the second lens assembly relative to the first lens assembly, and the tilt angle is the angle between the second lens assembly and the first lens assembly.
7. The shooting control method according to claim 6, characterized in that: The target posture information also includes: distance information of the second lens assembly relative to the first lens assembly.
8. The shooting control method according to claim 7, characterized in that: The method of determining target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly includes: Determine a first central imaging area and N annular imaging areas of the image sensor based on parameter information of the first lens assembly, where N is a positive integer; Determine, based on the first central imaging area and the N annular imaging areas, M target distance information of the second lens assembly, the target distance information being distance information of the second lens assembly relative to the first lens assembly, wherein M=N+1; The step of controlling the second lens assembly to move to a target position by a driving member in the electronic device includes: Based on the M target distance information, controlling the second lens assembly to move to M first target positions through the driving member; The controlling the camera module in the electronic device to capture an image to obtain a target image includes: At the M first target positions, first central image data and N annular image data are respectively acquired; The target image is obtained based on the first central image data and the N ring image data.
9. The shooting control method according to claim 6, characterized in that: The method of determining target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly includes: Based on the posture information of the lens assembly, determining a second central imaging area and P stripe imaging areas of the image sensor, where P is a positive integer; Determine Q target pose information of the second lens assembly based on the second central imaging area and the P strip imaging areas, where Q=P+1; The step of controlling the second lens assembly to move to a target position by a driving member in the electronic device includes: Based on the Q target position information, controlling the second lens assembly to move to Q second target positions through the driving member; The controlling the camera module in the electronic device to capture an image to obtain a target image includes: At the Q second target positions, second central image data and P strip image data are respectively acquired; The target image is obtained based on the second central image data and the P strip image data.
10. A shooting control device, characterized in that: Applicable to the electronic device according to claim 5, the shooting control device comprises: An acquisition module, used to acquire parameter information and position information of a first lens assembly in the electronic device; A determination module, configured to determine target posture information of a second lens assembly in the electronic device based on parameter information and posture information of the first lens assembly; A control module, configured to control the second lens assembly to move to a target position through a driving member in the electronic device to compensate for the tilt angle of the first lens assembly, wherein the position information of the second lens assembly at the target position is the target position information; The control module is further used to control the camera module in the electronic device to capture images and obtain a target image; The target posture information includes tilt angle information of the second lens assembly relative to the first lens assembly, and the tilt angle is the angle between the second lens assembly and the first lens assembly.
11. The shooting control device according to claim 10, characterized in that: The target posture information also includes: distance information of the second lens assembly relative to the first lens assembly.
12. The shooting control device according to claim 11, characterized in that: The determination module is further used to determine a first central imaging area and N annular imaging areas of the image sensor based on parameter information of the first lens assembly, where N is a positive integer; The determination module is further used to determine M target distance information of the second lens assembly based on the first central imaging area and the N annular imaging areas, wherein the target distance information is distance information of the second lens assembly relative to the first lens assembly, wherein M=N+1; The control module is further used to control the second lens assembly to move to M first target positions through the driving member based on the M target distance information; The shooting control device also includes: An acquisition module, used for acquiring first central image data and N annular image data at the M first target positions respectively; The determination module is further used to obtain the target image based on the first central image data and the N ring image data.
13. The shooting control device according to claim 10, characterized in that: The determination module is further used to determine a second central imaging area and P strip imaging areas of the image sensor based on the posture information of the lens assembly, where P is a positive integer; The determination module is further used to determine Q target pose information of the second lens assembly based on the second central imaging area and the P strip imaging areas, where Q=P+1; The control module is further used to control the second lens assembly to move to Q second target positions through the driving member based on the Q target posture information; The shooting control device also includes: An acquisition module, used for acquiring the second central image data and the P strip image data at the Q second target positions respectively; The determination module is further used to obtain the target image based on the second central image data and the P strip image data.
14. 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 control method according to any one of claims 6 to 9 are implemented.
15. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the shooting control method according to any one of claims 6 to 9 are implemented.
Citation Information
Patent Citations
Focusing method and terminal
CN104410783A
Electronic equipment, control method and control device thereof, and computer readable storage medium
CN111083260A
Camera shooting module, camera shooting control method and electronic equipment
CN114040082A
Lens module and lens module control method
US20200326499A1
Camera module, manufacturing method and mobile terminal
WO2022127735A1