Camera module, camera device, shooting method and device, electronic equipment
By adjusting the position of the image sensor in the camera module and collecting clear R, G, and B channel data, the purple edge phenomenon during camera shooting is solved, and the image quality and shooting effect are improved.
Patent Information
- Application Number
- CN202210725254.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-06-24
AI Technical Summary
Existing cameras often experience purple edges when shooting highlighted scenes, resulting in reduced image saturation and appearing unnatural. Existing solutions such as optimizing lenses or software corrections will affect color photosensitive capabilities.
By setting up the image sensor and lens adjustment components in the camera module, the position of the image sensor is flexibly adjusted, and clear R, G, and B channel image data are collected at different exposure positions respectively, the target image is synthesized, dispersion problems are solved, and purple edges are eliminated. Phenomenon.
It effectively improves the clarity of the image edge, eliminates the purple edge phenomenon, improves the shooting effect of the camera module, and meets users' needs for shooting effects.
Smart Images

Figure CN115118853B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of camera technology, and specifically relates to a camera module, a camera device, a shooting method, a shooting device, an electronic device and a readable storage medium. Background Art
[0002] Nowadays, users are accustomed to using cameras to record their lives, so their requirements for camera shooting effects are getting higher and higher.
[0003] When taking photos with a camera, purple fringing often occurs at the edge of a bright scene in the image. This is caused by lens dispersion. Currently, the problem of purple fringing is solved by optimizing the lens or correcting it with software. However, both methods result in a decrease in the sensitivity of similar colors, resulting in a decrease in the saturation of the captured image, which appears unnatural. Summary of the invention
[0004] The present application aims to provide a camera module, a camera device, a shooting method and device, and an electronic device, which at least solve the problem of purple fringing in the captured images.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a camera module, including:
[0007] Lens;
[0008] An image sensor, wherein the image sensor and the lens are arranged correspondingly;
[0009] A substrate, on which the image sensor is disposed;
[0010] A first adjusting component, the first adjusting component is connected to the substrate, and the first adjusting component is used to drive the substrate to move towards or away from the lens; and
[0011] The second adjusting component is connected to the image sensor and is used to drive the image sensor to move on the substrate.
[0012] In a second aspect, an embodiment of the present application proposes a camera device, including a camera module as in the first aspect.
[0013] In a third aspect, an embodiment of the present application provides a shooting method, which is applied to the camera device in the second aspect. The shooting method includes:
[0014] The image sensor is controlled to move to a first shooting position, a second shooting position and a third shooting position respectively through a first adjustment component and a second adjustment component of the camera device, and R channel image data, G channel image data and B channel image data are collected respectively;
[0015] Generate a target image based on the R channel image data, the G channel image data and the B channel image data;
[0016] Among them, when the image sensor is in the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
[0017] In a fourth aspect, an embodiment of the present application provides a shooting device, which is applied to the camera device in the second aspect, and the shooting device includes:
[0018] The acquisition module controls the image sensor to move to the first shooting position, the second shooting position and the third shooting position respectively through the first adjustment component and the second adjustment component of the camera device, and acquires R channel image data, G channel image data and B channel image data respectively;
[0019] A generation module generates a target image based on the R channel image data, the G channel image data and the B channel image data;
[0020] Among them, when the image sensor is in the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
[0021] In a fifth aspect, an embodiment of the present application proposes an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the above-mentioned shooting method are implemented.
[0022] In a sixth aspect, an embodiment of the present application proposes a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the shooting method in the third aspect are implemented.
[0023] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the shooting method in the third aspect.
[0024] 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 steps of the shooting method in the third aspect.
[0025] In the embodiments of the present application, the position of the image sensor can be changed by the first adjustment component and the second adjustment component, so that the position of the image sensor relative to the lens can be flexibly adjusted, thereby achieving the purpose of adapting the lens by moving the image sensor.
[0026] When users use the camera module to shoot, the image sensor can expose the photosensitive unit of the image sensor at different exposure positions to obtain clear R, G, and B three-channel image data, and then synthesize the clear R, G, and B three-channel image data to obtain the target image. By changing the position of the image sensor to expose the photosensitive unit, the problem of dispersion can be effectively solved, so that the edge of the image remains clear and the purple edge phenomenon is effectively eliminated, which is conducive to improving the shooting effect of the camera module and meeting the shooting needs of users.
[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0029] Figure 1 is a schematic structural diagram of a camera module according to an embodiment of the present application;
[0030] Figure 2 is one of the structural schematic diagrams of the first driving component and the image sensor according to an embodiment of the present application;
[0031] Figure 3 is a second structural schematic diagram of a first driving component and an image sensor according to an embodiment of the present application;
[0032] Figure 4 is a third structural schematic diagram of a first driving component and an image sensor according to an embodiment of the present application;
[0033] Figure 5 is a schematic structural diagram of a second driving component and an image sensor according to an embodiment of the present application;
[0034] Figure 6 is a schematic diagram of an optical path of a lens calibration process according to an embodiment of the present application;
[0035] Figure 7 is a flowchart of a shooting method according to an embodiment of the present application;
[0036] Figure 8 is a schematic block diagram of a photographing device in an embodiment of the present application;
[0037] Fig. 9 is a schematic block diagram of an electronic device in an embodiment of the present application;
[0038] Fig.10 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0039] Reference numerals:
[0040] 110 bracket, 120 substrate, 130 lens, 140 image sensor, 150 first adjustment component, 151 bearing component, 152 limiting component, 153 first driving component, 154 first elastic component, 160 second adjustment component, 161 blocking component, 163 second elastic component, 164 third elastic component, 165 fourth elastic component, 166 fifth elastic component, 180 first point light source, 190 second point light source. DETAILED DESCRIPTION
[0041] The embodiments of the present application will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0042] The term "first" or "second" in the specification and claims of this application may include one or more of the features explicitly or implicitly. In the description of this application, unless otherwise specified, "plurality" means two or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects connected before and after are in an "or" relationship.
[0043] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0044] Combine the following Figure 1-Figure 10 A camera module, a camera device, a shooting method, a shooting device, an electronic device and a readable storage medium according to embodiments of the present application are described.
[0045] like Figures 1 to 5As shown, according to some embodiments of the camera module of the present application, the camera module includes: a bracket 110, a lens 130, an image sensor 140, a substrate 120, a first adjustment component 150 and a second adjustment component 160. The lens 130 is arranged on the bracket 110, the image sensor 140 is arranged corresponding to the lens 130, and the image sensor 140 is arranged on the substrate 120. The first adjustment component 150 is connected to the substrate 120, and the first adjustment component 150 is used to drive the substrate 120 to move in a direction close to or away from the lens 130. The second adjustment component 160 is connected to the image sensor 140, and the second adjustment component 160 is used to drive the image sensor 140 to move on the substrate 120.
[0046] External light passes through the lens 130 and is irradiated onto the image sensor 140 . The image sensor 140 converts the sensed light signal into an electrical signal and forms an image through an amplification circuit and a conversion circuit.
[0047] The photodiodes in image sensors convert light into electrical signals.
[0048] The first adjustment component 150 and the second adjustment component 160 can adjust the position of the image sensor 140 relative to the lens 130 .
[0049] After passing through the lens 130, light will be dispersed, resulting in that the point presented on the image sensor 140 may not be the focused point, resulting in unclear edges of the image, thereby forming purple fringing. Therefore, in order to eliminate the purple fringing phenomenon, it is necessary to ensure that the image sensor 140 is exposed at a specific position.
[0050] When the image sensor 140 is located at different positions, different channels and clear image data can be exposed. When the image sensor 140 is at the first shooting position, the photosensitive unit in the image sensor 140 is exposed to obtain clear R channel image data. Therefore, when the image sensor 140 moves to the first shooting position, only the R channel image data is exposed, and it is not necessary to expose the G channel image data and the B channel image data. When the image sensor 140 is at the second shooting position, the photosensitive unit in the image sensor 140 is exposed to obtain clear G channel image data. Therefore, when the image sensor 140 moves to the second shooting position, only the G channel image data is exposed, and it is not necessary to expose the R channel image data and the B channel image data. When the image sensor 140 is at the third shooting position, the photosensitive unit in the image sensor 140 is exposed to obtain clear B channel image data. Therefore, when the image sensor 140 moves to the third shooting position, only the B channel image data is exposed, and it is not necessary to expose the R channel image data and the G channel image data.
[0051] The first adjustment component 150 can drive the image sensor 140 to approach or move away from the lens 130 through the substrate 120, and the second adjustment component 160 drives the image sensor 140 to move on the substrate 120, so that the position of the image sensor 140 relative to the lens 130 can be flexibly adjusted. When the user uses the camera module to shoot, the photosensitive unit of the image sensor 140 can be exposed at different positions to obtain clear R, G, and B three-channel image data, and then the clear R, G, and B three-channel image data are synthesized to obtain the target image. By changing the position of the image sensor 140 to expose the photosensitive unit, the problem of dispersion can be effectively solved, so that the edge of the image remains clear and the purple edge phenomenon is effectively eliminated, which is conducive to improving the shooting effect of the camera module and meeting the shooting needs of the user.
[0052] In the embodiment of the present application, when the image sensor 140 moves along the optical axis, the distance between the image sensor 140 and the lens 130 increases or decreases, and the direction in which the image sensor 140 moves on the substrate 120 is perpendicular to the optical axis.
[0053] When the distance between the image sensor 140 and the lens 130 needs to be adjusted, the first adjustment component 150 drives the substrate 120 to move toward or away from the lens 130 , so that the substrate 120 drives the image sensor 140 to move toward or away from the lens 130 .
[0054] When the image sensor 140 needs to be translated relative to the lens 130 , the second adjustment component 160 drives the image sensor 140 to move on the substrate 120 .
[0055] The position of the image sensor 140 is adjusted by the first adjustment component 150 and the second adjustment component 160, so that the image sensor 140 can be moved in a three-dimensional space, and the position of the image sensor 140 relative to the lens 130 can be flexibly adjusted, so that the photosensitive unit in the image sensor 140 can be exposed at a specified position, which is beneficial to improving the exposure effect and improving the imaging capability of the camera module.
[0056] In a possible embodiment, the substrate 120 is disposed perpendicular to the optical axis direction of the lens 130 .
[0057] Through the above configuration, the position of the image sensor 140 can be flexibly adjusted.
[0058] Combination Figure 1 , Figure 2 and Figure 3As shown, in the embodiment of the present application, the first adjustment component 150 includes: a carrier 151, at least two stoppers 152 and a first drive component 153. At least two stoppers 152 are movably connected to the carrier 151, and at least two stoppers 152 are spaced apart along the optical axis direction. When the stoppers 152 are located at the first position, the stoppers 152 limit the movement of the substrate 120 along the optical axis direction. When the stoppers 152 are located at the second position, the stoppers 152 avoid the substrate 120. The first drive component 153 is connected to the substrate 120, and the first drive component 153 is used to drive the substrate 120 to move in a direction close to or away from the lens 130.
[0059] The first driving assembly 153 is used to drive the substrate 120 to move along the optical axis direction. In order to accurately control the moving distance of the substrate 120 , the movement of the substrate 120 is limited by the limiting member 152 .
[0060] Specifically, a plurality of limit members 152 are arranged at intervals along the optical axis direction, and the limit members 152 are used to limit the substrate 120, so that the substrate 120 can have multiple moving gears along the optical axis direction. When it is necessary to move toward the lens 130, the first drive assembly 153 applies a driving force to the substrate 120, and at this time, some of the limit members 152 avoid the image sensor 140. The number of limit members 152 that are avoided is associated with the distance that the image sensor 140 needs to move. For example, the spacing between two adjacent limit members 152 is 1 unit. When the image sensor 140 needs to move a distance of 5 units toward the lens 130, 5 limit members 152 need to be set to avoid the substrate 120 to avoid interfering with the movement of the substrate 120. When the substrate 120 moves to the target position, the sixth limit member 152 limits the substrate 120 to prevent the substrate 120 from moving excessively, and the fifth limit member 152 is reset to prevent the substrate 120 from moving away from the lens 130. The substrate 120 is limited by two adjacent limit members 152 to ensure that the substrate 120 and the image sensor 140 are fixed at the target position, which is beneficial to improving the stability during exposure.
[0061] The principle of controlling the image sensor 140 to move away from the lens 130 is the same as described above, and the number of the limiting members 152 to be avoided is also determined according to the moving distance.
[0062] In this embodiment, the number of adjustable gears of the limiting member 152 is 1024.
[0063] In a possible application, the limiter 152 is movably connected to the carrier 151, and a plurality of sliding holes can be provided at intervals on the carrier 151, and a limiter 152 is inserted into each sliding hole, and the limiter 152 can slide along the sliding hole. Exemplarily, the camera module also includes a drive motor and a push rod, and the drive motor drives the push rod to move, and the push rod pushes the plurality of limiters 152 to a position for limiting the substrate 120. A reset spring is also installed in the sliding hole, and the reset spring has a tendency to pull the limiter 152 to avoid the substrate 120. When the push rod is separated from the limiter 152, the reset spring pulls the limiter 152 to avoid the substrate 120.
[0064] It should be noted that the structure for driving the limiting member 152 to move is not limited to the above-mentioned solution, and any structure that can realize the movement of the limiting member 152 is within the protection scope of the present application.
[0065] In addition to the telescopic design, the limiting member 152 can also be designed to slide, and the image sensor 140 can be avoided by deflecting the limiting member 152.
[0066] Combination Figure 1 and Figure 4 As shown, in the embodiment of the present application, there are two carriers 151 , the two carriers 151 are located on both sides of the substrate 120 , and both carriers 151 are provided with a limiting member 152 .
[0067] The two carriers 151 are located on two sides of the substrate 120 , for example, on two sides in the length direction of the substrate 120 , or on two sides in the width direction of the substrate 120 .
[0068] A plurality of stoppers 152 are disposed on both carriers 151, so that the two sides of the substrate 120 can be adjusted to be close to or away from the lens 130, thereby driving the two sides of the image sensor 140 to have different distances from the lens 130. For example, when one side of the image sensor 140 needs to move toward the lens 130, and the other side of the image sensor 140 does not need to move, the plurality of stoppers 152 located on one side of the substrate 120 will avoid the substrate 120.
[0069] Of course, the same number of limiting members 152 on the two supporting members 151 may also be used to avoid the substrate 120 at the same time, so that the two sides of the substrate 120 move synchronously relative to the lens 130 .
[0070] By setting the limit members 152 on the two substrates 120, the position of the image sensor 140 can be adjusted unilaterally or bilaterally, further improving the flexibility of position adjustment of the image sensor 140, which is beneficial for accurately adjusting the image sensor 140 to the set position and improving the exposure effect.
[0071] For example, the program sets 1 for the stopper 152 to extend, and 0 for retracting. Figure 4 The control code of the left limit member 152 is 11111111111111111100000, and the control code of the right limit member 152 is 111111111111111111111111.
[0072] Combination Figure 1 , Figure 2 and Figure 3 As shown, in the embodiment of the present application, the first driving component 153 includes: a coil, a magnetic member (the coil and the magnetic member are not shown in the figure) and a first elastic member 154. The magnetic member is arranged on the bracket 110, the coil is arranged on the substrate 120, and the coil is located within the magnetic field range of the magnetic member. When the coil is energized, the coil is subjected to the Lorentz force along the optical axis. The first end of the first elastic member 154 is connected to the bracket 110, and the second end of the first elastic member 154 is connected to the substrate 120.
[0073] The coil is mounted on the substrate 120, and a magnetic part is mounted on the bracket 110 at a position opposite to the coil. Since the coil is located within the magnetic field of the magnetic part, when the coil is energized, the energized coil will be subjected to a Lorentz force, which is in the same direction as the optical axis. Therefore, when the coil is subjected to force, the coil drives the substrate 120 to move along the optical axis, and the substrate 120 drives the image sensor 140 to move along the optical axis.
[0074] When the coil is powered off, the coil is no longer subjected to the Lorentz force, and the image sensor 140 is pulled by the first elastic member 154 to move and reset.
[0075] Of course, the first elastic member 154 may also be used to push the substrate 120 toward the lens 130 , so that the coil is subjected to the Lorentz force in a direction away from the lens 130 .
[0076] By changing the current flowing through the coil, the magnitude of the Lorentz force on the coil can be changed, so that the combined force of the Lorentz force and the elastic force changes, and the moving direction of the image sensor 140 can be changed.
[0077] Combination Figure 1 and Figure 5 As shown, in the embodiment of the present application, the second adjustment component 160 includes: at least two blocking members 161 and a second driving component. At least two blocking members 161 are arranged on the substrate 120 at intervals. When the blocking members 161 are located at the third position, the blocking members 161 limit the movement of the image sensor 140 on the substrate 120. When the blocking members 161 are located at the fourth position, the blocking members 161 avoid the image sensor 140. The second driving component is connected to the image sensor 140, and the second driving component is used to drive the image sensor 140 to move on the substrate 120.
[0078] The second driving component is used to drive the image sensor 140 to move on the substrate 120 . In order to accurately control the moving distance of the image sensor 140 , the movement of the image sensor 140 is limited by the blocking member 161 .
[0079] Specifically, adjacent limiting members 152 among the plurality of limiting members 152 are arranged at intervals. In this embodiment, the plurality of limiting members 152 are distributed in a plurality of rows and columns.
[0080] The image sensor 140 is limited by the blocking member 161, so that the image sensor 140 can have multiple gears along the movement on the substrate 120. When the image sensor 140 needs to be translated relative to the lens 130, the second driving assembly applies a driving force to the image sensor 140, and at this time, some of the blocking members 161 avoid the image sensor 140. The number of the blocking members 161 that are avoided is associated with the distance that the image sensor 140 needs to move.
[0081] In a possible application, the blocking member 161 is movably connected to the substrate 120, and a plurality of mounting holes can be provided at intervals on the substrate 120, each of which is plugged with a blocking member 161, and the blocking member 161 can slide along the mounting hole. Exemplarily, the camera module also includes a driving motor and a push rod, the driving motor drives the push rod to move, and the push rod pushes the plurality of blocking members 161 to a position for limiting the image sensor 140. A reset spring is also installed in the mounting hole, and the reset spring has a tendency to pull the blocking member 161 to avoid the image sensor 140. When the push rod is separated from the blocking member 161, the reset spring pulls the blocking member 161 to avoid the image sensor 140.
[0082] It should be noted that the structure for driving the blocking member 161 to move is not limited to the above-mentioned solution, and any structure that can achieve the movement of the blocking member 161 is within the protection scope of the present application.
[0083] Combination Figure 1 and Figure 5 As shown, in an embodiment of the present application, the second driving component includes: a second elastic member 163, a third elastic member 164, a fourth elastic member 165 and a fifth elastic member 166, and the second elastic member 163, the third elastic member 164, the fourth elastic member 165 and the fifth elastic member 166 are respectively located on different sides of the image sensor 140; the second elastic member 163, the third elastic member 164, the fourth elastic member 165 and the fifth elastic member 166 are electrically connected to the power supply member, and the power supply member is used to change the elastic coefficients of the second elastic member 163, the third elastic member 164, the fourth elastic member 165 and the fifth elastic member 166.
[0084] Four elastic members are located at four sides of the image sensor 140 , for example, the second elastic member 163 and the third elastic member 164 are located at both sides of the length direction of the image sensor 140 , and the fourth elastic member 165 and the fifth elastic member 166 are located at both sides of the width direction of the image sensor 140 .
[0085] The second elastic member 163, the third elastic member 164, the fourth elastic member 165 and the fifth elastic member 166 are all electrically connected to the power supply member. By changing the current passing through the elastic member, the elastic force of the elastic member is changed by changing the elastic coefficient of the elastic member, and by changing the direction of the resultant force of the elastic force, the moving direction of the image sensor 140 can be accurately changed.
[0086] In an embodiment of the present application, a camera device is proposed, including a camera module as in any of the above embodiments, and can achieve the same technical effects, which will not be described in detail here.
[0087] The camera device can be a camera, a mobile phone, etc.
[0088] like Figure 7 As shown, in some embodiments of the present application, a shooting method is proposed, which is applied to the camera device in the above embodiments.
[0089] Shooting methods include:
[0090] Step 202, controlling the image sensor to move to a first shooting position, a second shooting position, and a third shooting position respectively through a first adjustment component and a second adjustment component of the camera device, and acquiring R channel image data, G channel image data, and B channel image data respectively;
[0091] Step 204: Generate a target image based on the R channel image data, the G channel image data, and the B channel image data.
[0092] When the image sensor is in the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
[0093] In order to eliminate the purple fringing phenomenon, it is necessary to ensure that the image data of different channels are exposed at specific positions.
[0094] When the image sensor is clearly located at different positions, it can be exposed to obtain clear image data of different channels. When the image sensor is clearly in the first shooting position, the photosensitive unit in the image sensor is exposed to obtain clear R channel image data, so when the image sensor is clearly moved to the first shooting position, only the R channel image data is exposed, and it is not necessary to expose the G channel image data and the B channel image data. When the image sensor is clearly in the second shooting position, the photosensitive unit in the image sensor is exposed to obtain clear G channel image data, so when the image sensor is clearly moved to the second shooting position, only the G channel image data is exposed, and it is not necessary to expose the R channel image data and the B channel image data. When the image sensor is clearly in the third shooting position, the photosensitive unit in the image sensor is exposed to obtain clear B channel image data, so when the image sensor is clearly moved to the third shooting position, only the B channel image data is exposed, and it is not necessary to expose the R channel image data and the G channel image data.
[0095] The first adjustment component can drive the image sensor to approach or move away from the lens through the substrate, and the second adjustment component drives the image sensor to move on the substrate, so that the position of the image sensor relative to the lens can be flexibly adjusted. When the user uses the camera module to shoot, the photosensitive unit of the image sensor can be exposed at different positions to obtain clear R, G, and B three-channel image data, and then the clear R, G, and B three-channel image data are synthesized to obtain the target image. By changing the position of the image sensor to expose the photosensitive unit, the problem of dispersion can be effectively solved, so that the edge of the image remains clear and the purple edge phenomenon is effectively eliminated, which is conducive to improving the shooting effect of the camera module and meeting the shooting needs of users.
[0096] In a possible application, the clarity of the R channel image data satisfies the first preset condition that the collected R channel image data is image data formed by multiple focused points, and the second preset condition and the third preset condition are the same.
[0097] In an embodiment of the present application, before respectively acquiring the R channel image data, the G channel image data and the B channel image data, it also includes: when the first point light source is focused on the R channel, acquiring the first vertical position of the image sensor; when the first point light source is focused on the G channel, acquiring the second vertical position of the image sensor; when the first point light source is focused on the B channel, acquiring the third vertical position of the image sensor; when the second point light source is focused on the R channel, acquiring the first horizontal position of the image sensor; when the second point light source is focused on the G channel, acquiring the second horizontal position of the image sensor; when the second point light source is focused on the B channel, acquiring the third horizontal position of the image sensor; determining the first shooting position according to the first vertical position and the first horizontal position, determining the second shooting position according to the second vertical position and the second horizontal position, and determining the third shooting position according to the third vertical position and the third horizontal position.
[0098] The first point light source is located on the optical axis of the lens, and the second point light source deviates from the optical axis of the lens.
[0099] Before collecting image data of each channel, the camera device needs to be calibrated to determine the position information of the image sensor for accurate exposure at different shooting positions.
[0100] A first point light source is set on the optical axis of the lens. The first point light source will be dispersed after passing through the lens. Although the light of different channels will be focused on the optical axis, the focusing positions of the light of different channels are different. When the light is focused, the image presented at this time is the clearest. However, when the R channel image data is in a focused state, the G channel image data and the B channel image data may form a light spot on the photosensitive unit of the image sensor. Therefore, it is necessary to obtain the position information of the image sensor separately when determining that the image data of different channels are in a focused state.
[0101] Specifically, when the first point light source is focused on the R channel, the first vertical position of the image sensor is recorded. When the first point light source is focused on the G channel, the second vertical position of the image sensor is recorded. When the first point light source is focused on the B channel, the third vertical position of the image sensor is recorded.
[0102] By determining the three vertical position information of the image sensor, the position information for eliminating the longitudinal chromatic aberration of the lens is determined.
[0103] Then, it is necessary to determine the position for eliminating lateral chromatic aberration and select a second point light source that is not on the optical axis. The second point light source shines on the image sensor after passing through the lens. The light from different channels focuses on different positions on the image sensor. The image sensor needs to be translated relative to the lens, and the moving direction of the image sensor is perpendicular to the optical axis direction of the lens. When the second point light source is focused on the R channel, the first horizontal position of the image sensor is recorded. When the first point light source is focused on the G channel, the second horizontal position of the image sensor is recorded. When the first point light source is focused on the B channel, the third horizontal position of the image sensor is recorded.
[0104] By determining the three horizontal position information of the image sensor, the position information for eliminating the lateral chromatic aberration of the lens is determined.
[0105] The first vertical position and the first horizontal position can determine the first shooting position of the image sensor, and when the image sensor is located at the first shooting position, clear R channel image data can be obtained. Similarly, the second shooting position of the image sensor can be determined by the second vertical position and the second horizontal position, and the third vertical position and the third horizontal position can determine the third shooting position of the image sensor.
[0106] By calibrating different exposure positions, when using a shooting device to shoot, the image sensor can be accurately controlled to move to the calibrated position for exposure, which is conducive to obtaining a clear image.
[0107] like Figure 6 As shown, specifically, when calibrating the longitudinal chromatic aberration, it is necessary to first shoot a point light source on the optical axis, that is, the first point light source 180. At this time, because the lens 130 has longitudinal chromatic aberration, if only the G channel is focused, that is, the clearest point is found on the G channel, then what is seen on the R channel and the B channel is not a point, but a circular spot. We need to move the image sensor vertically to find the clearest points of the R channel and the B channel respectively. At this time, the three positions are the positions for eliminating longitudinal chromatic aberration.
[0108] Figure 6 In the figure, A is marked as the position where the light on the B channel is focused, and the image sensor is at the third vertical position at this time, B is marked as the position where the light on the G channel is focused, and the image sensor is at the second vertical position at this time, and C is marked as the position where the light on the R channel is focused, and the image sensor is at the first vertical position at this time. D is marked as the position where the light on the B channel is focused, and the image sensor is at the third horizontal position at this time, E is marked as the position where the light on the G channel is focused, and the image sensor is at the second horizontal position at this time, and F is marked as the position where the light on the R channel is focused, and the image sensor is at the first horizontal position at this time.
[0109] Similarly, when calibrating lateral chromatic aberration, it is necessary to place a point light source outside the optical axis, that is, the second point light source 190. At this time, because the lens 130 has lateral chromatic aberration, if only the G channel is focused, that is, the clearest point is found on the G channel, then the points seen on the R channel and the B channel will be offset. We need to move the image sensor horizontally to find clear positions in the red channel and the blue channel respectively. And record these three positions.
[0110] After calibrating the lateral / longitudinal aberration of the lens, when taking photos, the user needs to control the sensor to perform channel exposure according to the calibration data, and move to different exposure positions in sequence for exposure. In this way, the image output by the image sensor is an image with chromatic aberration eliminated.
[0111] The shooting method provided in the embodiment of the present application may be executed by a shooting device. In the embodiment of the present application, the shooting method is executed by a shooting device as an example to illustrate the shooting device provided in the embodiment of the present application.
[0112] like Figure 8 As shown, in some embodiments of the present application, a shooting device 300 is proposed, including the camera device in the above embodiment.
[0113] The photographing device 300 further includes:
[0114] The acquisition module 310 controls the image sensor to move to a first shooting position, a second shooting position, and a third shooting position through a first adjustment component and a second adjustment component of the camera device, and acquires R channel image data, G channel image data, and B channel image data respectively;
[0115] The generating module 320 generates a target image based on the R channel image data, the G channel image data and the B channel image data.
[0116] When the image sensor is in the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
[0117] The position of the image sensor can be changed by the first adjusting component and the second adjusting component, so that the position of the image sensor relative to the lens can be flexibly adjusted, thereby achieving the purpose of adapting the lens by moving the image sensor.
[0118] When users use the camera module to shoot, the image sensor can expose the photosensitive unit of the image sensor at different exposure positions to obtain clear R, G, and B three-channel image data, and then synthesize the clear R, G, and B three-channel image data to obtain the target image. By changing the position of the image sensor to expose the photosensitive unit, the problem of dispersion can be effectively solved, so that the edge of the image remains clear and the purple edge phenomenon is effectively eliminated, which is conducive to improving the shooting effect of the camera module and meeting the shooting needs of users.
[0119] In an embodiment of the present application, the shooting device also includes: an acquisition module; before respectively acquiring the R channel image data, the G channel image data and the B channel image data, the acquisition module is used to: acquire a first vertical position of the image sensor when the first point light source is focused on the R channel; acquire a second vertical position of the image sensor when the first point light source is focused on the G channel; acquire a third vertical position of the image sensor when the first point light source is focused on the B channel; acquire a first horizontal position of the image sensor when the second point light source is focused on the R channel; acquire a second horizontal position of the image sensor when the second point light source is focused on the G channel; acquire a third horizontal position of the image sensor when the second point light source is focused on the B channel; the shooting device also includes: a determination module; the determination module is used to: determine a first shooting position according to the first vertical position and the first horizontal position, determine a second shooting position according to the second vertical position and the second horizontal position, and determine a third shooting position according to the third vertical position and the third horizontal position; wherein the first point light source is located on the optical axis of the lens, and the second point light source deviates from the optical axis of the lens.
[0120] The shooting device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
[0121] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0122] The 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.
[0123] Optionally, the embodiment of the present application further provides an electronic device 400, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Fig. 9 As shown, it includes a processor 402, a memory 404, and a program or instruction stored in the memory 404 and executable on the processor 402. When the program or instruction is executed by the processor 402, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0124] 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.
[0125] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0126] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810 and other components.
[0127] Those skilled in the art will appreciate that the electronic device 800 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 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 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.
[0128] In the embodiment of the present application, the electronic device further includes a camera module, and the camera module includes:
[0129] Lens;
[0130] An image sensor, wherein the image sensor is arranged corresponding to the lens;
[0131] a substrate, the image sensor being disposed on the substrate;
[0132] a first adjusting component, the first adjusting component is connected to the substrate, and the first adjusting component is used to drive the substrate to move towards or away from the lens; and
[0133] A second adjusting component is connected to the image sensor and is used for driving the image sensor to move on the substrate.
[0134] Furthermore, the substrate is arranged perpendicular to the optical axis direction of the lens.
[0135] Furthermore, the first adjustment component includes:
[0136] bearing member;
[0137] at least two stoppers, movably connected to the carrier, the at least two stoppers being spaced apart along the optical axis direction, and when the stoppers are in a first position, the stoppers restrict movement of the substrate along the optical axis direction, and when the stoppers are in a second position, the stoppers avoid the substrate; and
[0138] The first driving component is connected to the substrate and is used for driving the substrate to move towards or away from the lens.
[0139] Furthermore, the camera module also includes a bracket, and the lens is arranged on the bracket;
[0140] The first driving assembly comprises:
[0141] A magnetic member, arranged on the bracket;
[0142] a coil, wherein the coil is disposed on the substrate and is located within the magnetic field of the magnetic member, and when the coil is energized, the coil is subjected to a Lorentz force along the optical axis; and
[0143] A first elastic member, wherein a first end of the first elastic member is connected to the bracket, and a second end of the first elastic member is connected to the substrate.
[0144] Furthermore, the second adjustment component includes:
[0145] at least two blocking members, the at least two blocking members are disposed on the substrate at intervals, when the blocking member is located at a third position, the blocking member restricts the image sensor from moving on the substrate, and when the blocking member is located at a fourth position, the blocking member avoids the image sensor; and
[0146] The second driving component is connected to the image sensor, and the second driving component is used to drive the image sensor to move on the substrate.
[0147] Furthermore, the second driving component comprises:
[0148] a second elastic member, a third elastic member, a fourth elastic member and a fifth elastic member, wherein the second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member are respectively located on different sides of the image sensor;
[0149] The second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member are electrically connected to a power supply member, and the power supply member is used to change the elastic coefficients of the second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member.
[0150] The processor 810 is used to: control the image sensor to move to the first shooting position, the second shooting position and the third shooting position respectively through the first adjustment component and the second adjustment component of the camera device, respectively collect R channel image data, G channel image data and B channel image data; generate a target image based on the R channel image data, the G channel image data and the B channel image data. When the image sensor is at the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is at the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is at the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
[0151] Optionally, before respectively acquiring the R channel image data, the G channel image data and the B channel image data, the processor 810 is further used to: when the first point light source is focused on the R channel, obtain a first vertical position of the image sensor; when the first point light source is focused on the G channel, obtain a second vertical position of the image sensor; when the first point light source is focused on the B channel, obtain a third vertical position of the image sensor; when the second point light source is focused on the R channel, obtain a first horizontal position of the image sensor; when the second point light source is focused on the G channel, obtain a second horizontal position of the image sensor; when the second point light source is focused on the B channel, obtain a third horizontal position of the image sensor; determine a first shooting position according to the first vertical position and the first horizontal position, determine a second shooting position according to the second vertical position and the second horizontal position, and determine a third shooting position according to the third vertical position and the third horizontal position; wherein the first point light source is located on the optical axis of the lens, and the second point light source deviates from the optical axis of the lens.
[0152] The position of the image sensor can be changed by the first adjusting component and the second adjusting component, so that the position of the image sensor relative to the lens can be flexibly adjusted, thereby achieving the purpose of adapting the lens by moving the image sensor.
[0153] When users use the camera module to shoot, the image sensor can expose the photosensitive unit of the image sensor at different exposure positions to obtain clear R, G, and B three-channel image data, and then synthesize the clear R, G, and B three-channel image data to obtain the target image. By changing the position of the image sensor to expose the photosensitive unit, the problem of dispersion can be effectively solved, so that the edge of the image remains clear and the purple edge phenomenon is effectively eliminated, which is conducive to improving the shooting effect of the camera module and meeting the shooting needs of users.
[0154] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 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 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 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.
[0155] The memory 809 can be used to store software programs and various data. The memory 809 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 809 may include a volatile memory or a non-volatile memory, or the memory 809 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 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0156] The processor 810 may include one or more processing units; optionally, the processor 810 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 810.
[0157] 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 method embodiment is implemented to achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0158] 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.
[0159] 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 method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0160] 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.
[0161] 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 method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0162] 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.
[0163] 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.
[0164] 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: Lens; An image sensor, wherein the image sensor is arranged corresponding to the lens; a substrate, the image sensor being disposed on the substrate; A first adjusting component, the first adjusting component is connected to the substrate, and the first adjusting component is used to drive the substrate to move towards or away from the lens; as well as a second adjusting component, the second adjusting component being connected to the image sensor and used for driving the image sensor to move on the substrate; When shooting through the camera module, the image sensor is controlled by the first adjustment component and the second adjustment component of the camera device to move to the first shooting position, the second shooting position and the third shooting position respectively, and R channel image data, G channel image data and B channel image data are respectively collected; based on the R channel image data, the G channel image data and the B channel image data, a target image is generated; wherein, when the image sensor is at the first shooting position, the clarity of the collected R channel image data meets the first preset condition; when the image sensor is at the second shooting position, the clarity of the collected G channel image data meets the second preset condition; when the image sensor is at the third shooting position, the clarity of the collected B channel image data meets the third preset condition.
2. The camera module according to claim 1, characterized in that: The substrate is arranged perpendicular to the optical axis direction of the lens.
3. The camera module according to claim 2, characterized in that: The first adjustment component comprises: bearing member; at least two stoppers, movably connected to the carrier, the at least two stoppers being spaced apart along the optical axis direction, and when the stoppers are in a first position, the stoppers restrict movement of the substrate along the optical axis direction, and when the stoppers are in a second position, the stoppers avoid the substrate; and The first driving component is connected to the substrate and is used for driving the substrate to move towards or away from the lens.
4. The camera module according to claim 3, characterized in that: The camera module also includes a bracket, and the lens is arranged on the bracket; The first driving assembly comprises: A magnetic member, arranged on the bracket; a coil, wherein the coil is disposed on the substrate and is located within the magnetic field of the magnetic member, and when the coil is energized, the coil is subjected to a Lorentz force along the optical axis; and A first elastic member, wherein a first end of the first elastic member is connected to the bracket, and a second end of the first elastic member is connected to the substrate.
5. The camera module according to any one of claims 2 to 4, characterized in that: The second adjustment component comprises: at least two blocking members, the at least two blocking members are disposed on the substrate at intervals, when the blocking member is located at a third position, the blocking member restricts the image sensor from moving on the substrate, and when the blocking member is located at a fourth position, the blocking member avoids the image sensor; and The second driving component is connected to the image sensor, and the second driving component is used to drive the image sensor to move on the substrate.
6. The camera module according to claim 5, characterized in that: The second driving assembly comprises: a second elastic member, a third elastic member, a fourth elastic member and a fifth elastic member, wherein the second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member are respectively located on different sides of the image sensor; The second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member are electrically connected to a power supply member, and the power supply member is used to change the elastic coefficients of the second elastic member, the third elastic member, the fourth elastic member and the fifth elastic member.
7. A camera device, characterized in that: Comprising a camera module as described in any one of claims 1 to 6.
8. A shooting method, characterized in that: Applied to the camera device according to claim 7, the shooting method comprises: The image sensor is controlled to move to a first shooting position, a second shooting position and a third shooting position respectively by a first adjustment component and a second adjustment component of the camera device, and R channel image data, G channel image data and B channel image data are collected respectively; Generate a target image based on the R channel image data, the G channel image data and the B channel image data; Among them, when the image sensor is in the first shooting position, the clarity of the R channel image data collected meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the G channel image data collected meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the B channel image data collected meets the third preset condition.
9. The shooting method according to claim 8, characterized in that: Before respectively acquiring the R channel image data, the G channel image data and the B channel image data, the method further includes: When the first point light source is focused on the R channel, acquiring a first vertical position of the image sensor; When the first point light source is focused on the G channel, acquiring a second vertical position of the image sensor; When the first point light source is focused on the B channel, acquiring a third vertical position of the image sensor; When the second point light source is focused on the R channel, acquiring a first horizontal position of the image sensor; When the second point light source is focused on the G channel, acquiring a second horizontal position of the image sensor; When the second point light source is focused on the B channel, acquiring a third horizontal position of the image sensor; determining the first shooting position according to the first vertical position and the first horizontal position, determining the second shooting position according to the second vertical position and the second horizontal position, and determining the third shooting position according to the third vertical position and the third horizontal position; The first point light source is located on the optical axis of the lens, and the second point light source deviates from the optical axis of the lens.
10. A photographing device, characterized in that: The camera device according to claim 7 further comprises: An acquisition module controls the image sensor to move to a first shooting position, a second shooting position, and a third shooting position respectively through a first adjustment component and a second adjustment component of the camera device, and acquires R channel image data, G channel image data, and B channel image data respectively; A generating module, generating a target image based on the R channel image data, the G channel image data and the B channel image data; Among them, when the image sensor is in the first shooting position, the clarity of the R channel image data collected meets the first preset condition; when the image sensor is in the second shooting position, the clarity of the G channel image data collected meets the second preset condition; when the image sensor is in the third shooting position, the clarity of the B channel image data collected meets the third preset condition.
11. The photographing device according to claim 10, characterized in that: The photographing device further includes: an acquisition module; Before respectively acquiring the R channel image data, the G channel image data and the B channel image data, the acquisition module is used to: When the first point light source is focused on the R channel, acquiring a first vertical position of the image sensor; When the first point light source is focused on the G channel, acquiring a second vertical position of the image sensor; When the first point light source is focused on the B channel, acquiring a third vertical position of the image sensor; When the second point light source is focused on the R channel, acquiring a first horizontal position of the image sensor; When the second point light source is focused on the G channel, acquiring a second horizontal position of the image sensor; When the second point light source is focused on the B channel, acquiring a third horizontal position of the image sensor; The photographing device further includes: a determination module; The determining module is used to: determine the first shooting position according to the first vertical position and the first horizontal position, determine the second shooting position according to the second vertical position and the second horizontal position, and determine the third shooting position according to the third vertical position and the third horizontal position; The first point light source is located on the optical axis of the lens, and the second point light source deviates from the optical axis of the lens.
12. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the shooting method as claimed in claim 8 or 9 are implemented.
13. 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 shooting method according to claim 8 or 9 are implemented.
