Method, device and related equipment for allocating activity space range of image acquisition module
By dynamically allocating the active space range of the image acquisition module, the problem of poor performance of the image acquisition module during focus tracking is solved, and the comprehensive performance of the anti-shake image stabilization and focus tracking functions is improved.
Patent Information
- Application Number
- CN202110368167.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-06
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-04-06
AI Technical Summary
Existing image acquisition modules have poor performance when tracking target objects and cannot effectively utilize the range of active space, resulting in focus tracking failure and unclear images.
By dynamically allocating the active space range according to the motion status information of the image acquisition module, dividing it into the first space range required for anti-shake compensation and the second space range required for focus tracking, ensuring that priority is given to focus tracking when shake is small , reducing the unclear image caused by insufficient space during anti-shake replenishment.
The anti-shake stabilization effect and focus tracking function of the image acquisition module have been improved, the effective use of the active space range has been enhanced, and focus tracking failures and unclear images have been reduced.
Smart Images

Figure CN115190235B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technology, and in particular to a method, device and related equipment for allocating an activity space range of an image acquisition module. Background Art
[0002] Generally, the image acquisition module is movable in the terminal. This movement is basically only for image stabilization, which is used to achieve the function of taking photos or removing blur in videos. The current technical solutions also focus on improving the anti-shake compensation capability. For example, the anti-shake compensation effect of the image acquisition module is improved by improving performance, structural innovation, and controlling materials. Although these methods have improved the anti-shake effect of the image acquisition module to a certain extent, they cannot achieve focus tracking of the target object. Summary of the invention
[0003] The present invention provides a method, a device and related equipment for allocating the activity space range of an image acquisition module.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for allocating an activity space range of an image acquisition module is provided, characterized by comprising:
[0005] Determining a first spatial range required for anti-shake compensation of the first image acquisition module according to the motion state information of the first image acquisition module;
[0006] A second spatial range for focusing of the first image acquisition module is determined according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module.
[0007] In some embodiments, the method further comprises:
[0008] Acquire a preview image of a second image acquisition module; wherein the field of view of the second image acquisition module is larger than the field of view of the first image acquisition module;
[0009] Determining, based on the preview image, a visual field of the first image acquisition module for tracking a target object;
[0010] According to the visual field of view, the first image acquisition module is moved within the second spatial range.
[0011] In some embodiments, determining the first spatial range required for anti-shake compensation of the first image acquisition module according to the motion state information of the first image acquisition module includes:
[0012] Determining the state of the first image acquisition module according to the motion state information of the first image acquisition module;
[0013] When the first image acquisition module is in a stationary state, determining that the first spatial range used for the first image acquisition module is a minimum range;
[0014] When the first image acquisition module is in motion, the first spatial range greater than the minimum value range is allocated to the first image acquisition module according to the degree of shaking of the first image acquisition module.
[0015] In some embodiments, when the first image acquisition module is in motion, according to the degree of jitter of the first image acquisition module, allocating the first spatial range greater than the minimum value range to the first image acquisition module includes:
[0016] When the first image acquisition module is in motion, if the shaking degree is at a first level, the first spatial range of a first volume larger than the minimum value range is allocated to the first image acquisition module;
[0017] When the first image acquisition module is in motion, if the shaking degree is at a second level, the first spatial range of a second volume larger than the minimum value range is allocated to the first image acquisition module;
[0018] The degree of jitter corresponding to the second level is greater than the degree of jitter corresponding to the first level; and the second volume is greater than the first volume.
[0019] In some embodiments, the maximum focal length of the first image acquisition module is greater than the maximum focal length of the second image acquisition module; and / or,
[0020] The resolution of the field of view of the first image acquisition module is greater than the resolution of the field of view of the second image acquisition module.
[0021] According to a second aspect of an embodiment of the present disclosure, there is provided a device for allocating an activity space range of an image acquisition module, comprising:
[0022] A first determining module, configured to determine a first spatial range required for anti-shake compensation of the first image acquisition module according to motion state information of the first image acquisition module;
[0023] The second determination module is used to determine a second spatial range used for focusing of the first image acquisition module according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module.
[0024] In some embodiments, the apparatus comprises:
[0025] An acquisition module, used to acquire a preview image of a second image acquisition module; wherein the field of view of the second image acquisition module is larger than the field of view of the first image acquisition module;
[0026] A third determination module, configured to determine, based on the preview image, a visual field of the first image acquisition module for tracking a target object;
[0027] A control module is used to move the first image acquisition module within the second spatial range according to the visual field.
[0028] In some embodiments, the first determining module is further configured to:
[0029] Determining the state of the first image acquisition module according to the motion state information of the first image acquisition module;
[0030] When the first image acquisition module is in a stationary state, determining that the first spatial range used for the first image acquisition module is a minimum range;
[0031] When the first image acquisition module is in motion, the first spatial range greater than the minimum value range is allocated to the first image acquisition module according to the degree of shaking of the first image acquisition module.
[0032] In some embodiments, the second determining module is further configured to:
[0033] When the first image acquisition module is in motion, if the shaking degree is at a first level, the first spatial range of a first volume larger than the minimum value range is allocated to the first image acquisition module;
[0034] When the first image acquisition module is in motion, if the shaking degree is at a second level, the first spatial range of a second volume larger than the minimum value range is allocated to the first image acquisition module;
[0035] The degree of jitter corresponding to the second level is greater than the degree of jitter corresponding to the first level; and the second volume is greater than the first volume.
[0036] In some embodiments, the maximum focal length of the first image acquisition module is greater than the maximum focal length of the second image acquisition module; and / or,
[0037] The resolution of the field of view of the first image acquisition module is greater than the resolution of the field of view of the second image acquisition module.
[0038] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, wherein the processor executes the steps of the activity space allocation method of the image acquisition module described in the first aspect when running the executable program.
[0039] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, on which an executable program is stored, characterized in that when the executable program is executed by a processor, the steps of the activity space allocation method of the image acquisition module described in the first aspect are implemented.
[0040] The disclosed embodiment discloses a method, device and related equipment for allocating the activity space range of an image acquisition module. In the disclosed embodiment, part of the activity space range of the first image acquisition module is allocated as the first space range required for compensating for jitter according to the motion status information of the first image acquisition module, and the remaining part of the activity space range can be used as the second space range required for the first image acquisition module to track focus. Compared with the fixed division of the activity space range into two parts, on the one hand, when the jitter of the first image acquisition module itself is very small, the activity space range can be used as much as possible for the second image acquisition module to track focus, thereby reducing the phenomenon of focus tracking failure, thereby improving the effective utilization of the activity space range; on the other hand, the first space range is allocated according to the jitter of the first image acquisition module, reducing the phenomenon of unclear images caused by insufficient space range required for anti-shake supplementation when randomly allocated. Therefore, the disclosed embodiment takes into account the anti-shake stabilization effect and the tracking focus function by allocating the activity space of the image acquisition module. The size of the first space range and the second space range can be dynamically adjusted according to the motion status information of the first image acquisition module, which improves the rationality of the allocation of the first space range and the second space range, and further improves the anti-shake stabilization effect and the tracking focus function.
[0041] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0043] Figure 1 This is one of the flowcharts of a method for allocating an activity space range of an image acquisition module according to an exemplary embodiment;
[0044] Figure 2 This is one of the preview diagrams of the image acquisition module;
[0045] Figure 3 is based on Figure 2 The image captured by the first image acquisition module;
[0046] Figure 4 This is the second preview diagram of the image acquisition module;
[0047] Figure 5 is based on Figure 4 The image captured by the first image acquisition module;
[0048] Figure 6 This is the third preview diagram of the image acquisition module;
[0049] Figure 7 is based on Figure 6 The image captured by the first image acquisition module;
[0050] Figure 8 It is a calibration diagram of two image acquisition modules and corresponding fields of view;
[0051] Fig. 9 This is a second flow chart of a method for allocating an activity space range of an image acquisition module according to an exemplary embodiment;
[0052] Fig.10 is one of the relative positional relationships between the activity space range of the first image acquisition module, the first space range, and the second activity range according to an exemplary embodiment;
[0053] Fig.11 The second one shows the relative position relationship between the activity space range of the first image acquisition module, the first space range and the second activity range according to an exemplary embodiment;
[0054] Fig.12 The third one shows the relative position relationship between the activity space range of the first image acquisition module, the first space range and the second activity range according to an exemplary embodiment;
[0055] Fig.13 It is one of the block diagrams of an activity space range allocation device of an image acquisition module according to an exemplary embodiment;
[0056] Fig.14 This is a second block diagram of a device for allocating an activity space range of an image acquisition module according to an exemplary embodiment;
[0057] Fig.15 It is a structural block diagram of a composition of an activity space range allocation device of an image acquisition module according to an exemplary embodiment. DETAILED DESCRIPTION
[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the embodiments of the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present disclosure as detailed in the appended claims.
[0059] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments and are not intended to limit the disclosed embodiments. The singular forms of "a", "said" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0060] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0061] The execution subjects involved in the embodiments of the present disclosure include but are not limited to: terminals such as cameras, mobile phones, and wearable devices.
[0062] Figure 1 is a flow chart of a method for allocating an activity space range of an image acquisition module according to an exemplary embodiment. Figure 1 As shown, the method comprises the following specific steps:
[0063] Step S101: determining a first spatial range required for anti-shake compensation of the first image acquisition module 200 according to the motion state information of the first image acquisition module 200;
[0064] Step S102 : determining a second spatial range for focusing of the first image acquisition module 200 according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module 200 .
[0065] In step S101 , the motion state information of the first image acquisition module 200 can be obtained through sensor detection. For example, a gyroscope sensor can detect the rotation angular velocity in one or more directions, and the rotation angle of the first image acquisition module 200 can be determined by using the gyroscope sensor.
[0066] Different motion state information indicates that the motion state of the first image acquisition module 200 is different, and the determined first spatial range required for anti-shake compensation is also different.
[0067] By controlling the first image acquisition module 200 to move within the first spatial range, the movement caused by anti-shake can be compensated to ensure the clarity of the image.
[0068] Without limitation, the movement of the first image acquisition module 200 can be realized by the anti-shake module. For example, when the first image acquisition module 200 shakes, the sensor will detect the shaking information and transmit the shaking information to the microprocessor, which will calculate the displacement amount to be compensated, and then control the movement of the first image acquisition module 200 through the anti-shake module, and compensate according to the shaking direction and displacement amount of the first image acquisition module 200; thereby effectively overcoming the image blur caused by shaking.
[0069] The current anti-shake module has a relatively small compensation range, generally about 2 degrees, so the activity space range of the first image acquisition module 200 is also relatively small. In the disclosed embodiment, the compensation range of the anti-shake module can be expanded. For example, the compensation range of the anti-shake module can be expanded to about 10 degrees, or even about 20 degrees, and the activity space range of the first image acquisition module 200 is also expanded accordingly. In some application scenarios, anti-shake compensation may only require about 2 degrees, and there will be a large amount of available range left in the activity space range. Therefore, in order to make full use of the activity space range of the first image acquisition module 200, the activity space range is not only used for anti-shake compensation.
[0070] In step S102, the first spatial range can be a part of the active spatial range of the first image acquisition module 200, that is, the active spatial range of the first image acquisition module 200 is allocated with the first spatial range. When the first image acquisition module 200 shakes, it can move in the first spatial range to compensate for the image blur caused by the shaking for image stabilization.
[0071] The second spatial range is also a part of the activity spatial range of the first image acquisition module 200, and may further be the remaining activity range outside the first spatial range.
[0072] Without limitation, the first image acquisition module may be a telephoto camera or an optical zoom camera.
[0073] In actual applications, the position of the target object 300 in the field of view 210 of the first image acquisition module may change, resulting in a change in the relative coordinates of the target object 300 in the field of view 210 of the first image acquisition module, or even the target object 300 jumps out of the field of view 210 of the first image acquisition module, and the first image acquisition module 200 cannot acquire the target object 300. By allocating the second spatial range for tracking focus, the first image acquisition module 200 can track the target object 300 and achieve a tracking focus effect.
[0074] For example: Figure 2 and Figure 3 , the target object 300 is located in the field of view 210 of the first image acquisition module, and after shooting, a complete image of the target object 300 can be acquired. Figure 4 and Figure 5 As shown in the figure, if the target object 300 deviates from the field of view 210 of the first image acquisition module after moving, the complete image of the target object 300 cannot be acquired. After the second spatial range is allocated, the first image acquisition module 200 is controlled to move in the second space according to the movement information of the target object 300, and the field of view 210 of the first image acquisition module also moves with the target object 300. This tracking movement process increases the possibility that the first image acquisition module 200 can acquire the target object 300, and realizes the tracking of the target object 300. Figure 6 and Figure 7 As shown, even if the target object 300 moves within a certain range, the first image acquisition module 200 can still capture a complete image of the target object 300 .
[0075] In the embodiment of the present disclosure, part of the activity space range of the first image acquisition module is allocated as the first space range required for compensating for the jitter according to the motion status information of the first image acquisition module, and the remaining part of the activity space range can be used as the second space range required for the first image acquisition module to track the focus. Compared with the fixed division of the activity space range into two parts, on the one hand, when the jitter of the first image acquisition module itself is very small, the activity space range can be used as much as possible for the second image acquisition module to track the focus, thereby reducing the phenomenon of focus tracking failure, thereby improving the effective utilization of the activity space range; on the other hand, the first space range is allocated according to the jitter of the first image acquisition module, thereby reducing the phenomenon of unclear images caused by insufficient space range required for anti-shake supplementation when randomly allocated. Therefore, the embodiment of the present disclosure takes into account the anti-shake stabilization effect and the tracking focus function by allocating the activity space of the image acquisition module. The size of the first space range and the second space range can be dynamically adjusted according to the motion status information of the first image acquisition module 200, which improves the rationality of the allocation of the first space range and the second space range, and further improves the anti-shake stabilization effect and the tracking focus function.
[0076] In other optional embodiments, the method further includes:
[0077] Acquire a preview image of a second image acquisition module 100; wherein the field of view 110 of the second image acquisition module is larger than the field of view 210 of the first image acquisition module;
[0078] Determine the visual field of the first image acquisition module 200 for tracking the target object 300 according to the preview image;
[0079] According to the visual field of view, the first image acquisition module 200 is moved within the second spatial range.
[0080] Generally, the field of view 210 of the first image acquisition module can have at least one type. For example, by adjusting the focal length of the first image acquisition module 200, different fields of view corresponding to different focal lengths can be obtained. Before the target object 300 changes position (also called the previous position), it corresponds to the current field of view of the first image acquisition module 200. When the target object 300 moves to the next position within the field of view of the second image acquisition module, it corresponds to the visual field of the first image acquisition module 200. Figure 2 and Figure 6 ,in, Figure 2 and Figure 6 The dotted line O in the figure represents the center line of the field of view of the second image acquisition module. The target object 300 is about to be Figure 2 The middle position of the field of view of the second image acquisition module is moved to Figure 6 When it is slightly to the left of the center, Figure 2 The field of view 210 of the first image acquisition module is the current field of view, Figure 3 The first image acquisition module 200 is used to obtain the visual field according to the preview image.
[0081] The preview image is an image corresponding to the real object in the physical space within the field of view of the second image acquisition module.
[0082] In one embodiment, determining the visual field of the target object tracked by the first image acquisition module 200 according to the preview image includes:
[0083] Determine the relative position relationship between the target object and the first image acquisition module according to the relative position relationship between the first image acquisition module and the second image acquisition module, and the position of the target object in the preview image;
[0084] The visual field of view is determined according to the relative position relationship between the target object and the first image acquisition module.
[0085] like Figure 8As shown, the field of view 210 of the first image acquisition module and the field of view 110 of the second image acquisition module can be calibrated simultaneously, and the field of view 210 of the first image acquisition module and the field of view 110 of the second image acquisition module can be made to be in the same coordinate system through coordinate transformation, so as to determine the relative position relationship between the first image acquisition module 200 and the second image acquisition module 100, as well as the position of the target object in the preview image.
[0086] In some embodiments, determining the visual field according to the relative position relationship between the target object and the first image acquisition module includes:
[0087] If it is determined that the target object is located within the current field of view of the first image acquisition module, or within the central area of the current field of view of the first image acquisition module, based on the relative position relationship between the target object and the first image acquisition module, the current field of view of the first image acquisition module is determined to be the visual field of view of the first image acquisition module;
[0088] If the target object is located outside the current field of view or in an edge area, the visual field of view is determined according to the relative position of the target object and the first image acquisition module.
[0089] If the current field of view of the first image acquisition module is the visual field of view of the first image acquisition module, there is no need to move the first image acquisition module. If the target object is outside the current field of view or in the edge area, move the first image acquisition module within the second spatial range.
[0090] In another embodiment, the determining of the visual field of the first image acquisition module 200 for tracking the target object according to the preview image includes: determining the position of the target object in the physical space according to the state parameters of the second image acquisition module and the position of the target object in the preview image; and determining the visual field of the first image acquisition module according to the position of the target object in the physical space. The state parameters of the second image acquisition module include but are not limited to the position of the second image acquisition module and / or the focal length of the second image acquisition module.
[0091] Without limitation, the field of view 110 of the second image acquisition module is greater than the field of view 210 of the first image acquisition module, which means that the minimum field of view of the second image acquisition module 100 is greater than the maximum field of view of the first image acquisition module 200 .
[0092] With the development of terminal technology, terminals are often equipped with multiple image acquisition modules. In some application scenarios, it may be necessary to open two image acquisition modules at the same time so that the terminal can synthesize the images of the two image acquisition modules. Terminals include but are not limited to: mobile phones, tablet computers or wearable devices.
[0093] like Figures 2 to 7 As shown, the field of view 210 of the first image acquisition module is located within the field of view 110 of the second image acquisition module. The image captured by the first image acquisition module 200 is a part of the image captured by the second image acquisition module 100. The final photograph is an image in the field of view of the first image acquisition module 200, so it is necessary to ensure that the target object 300 is located in the field of view 210 of the first image acquisition module. Moving the first image acquisition module 200 within the second spatial range improves the focus tracking effect.
[0094] In other optional embodiments, determining the first spatial range required for anti-shake compensation of the first image acquisition module 200 according to the motion state information of the first image acquisition module 200 includes:
[0095] Determine the state of the first image acquisition module 200 according to the motion state information of the first image acquisition module 200;
[0096] When the first image acquisition module 200 is in a stationary state, determining that the first spatial range used for the first image acquisition module 200 is a minimum range;
[0097] When the first image acquisition module 200 is in motion, the first spatial range greater than the minimum value range is allocated to the first image acquisition module 200 according to the degree of shaking of the first image acquisition module 200 .
[0098] In the static state, the first image acquisition module 200 has the smallest degree of shaking, or even no shaking, and the anti-shake compensation is small, or even no anti-shake compensation is required. At this time, the first spatial range with the smallest range is allocated, or even the first spatial range does not need to be allocated, so that the second spatial range can be as large as possible, the tracking effect is improved, and the allocation efficiency of the activity spatial range of the first image acquisition module 200 is effectively improved.
[0099] Without limitation, the minimum range may be 0% to 10% of the active space range of the first image acquisition module.
[0100] In some embodiments, when the first image acquisition module 200 is in a stationary state, it is determined that the activity spatial range of the first image acquisition module 200 is equal to the second spatial range.
[0101] The degree of jitter of the first image acquisition module 200 in a moving state is greater than that of the first image acquisition module 200 in a stationary state. Therefore, in a moving state, the first spatial range is larger to take into account both anti-shake and focus tracking, thereby ensuring the clarity of the captured image while tracking the target object 300.
[0102] In some embodiments, the first spatial range and the second spatial range are roughly inversely correlated. For example, within a limited activity space, the larger the first spatial range, the smaller the second spatial range. Similarly, the smaller the first spatial range, the larger the second spatial range.
[0103] In some other optional embodiments, when the first image acquisition module 200 is in motion, according to the degree of jitter of the first image acquisition module 200, the first spatial range greater than the minimum value range is allocated to the first image acquisition module 200, including:
[0104] When the first image acquisition module 200 is in motion, if the shaking degree is at a first level, the first spatial range of the first volume greater than the minimum value range is allocated to the first image acquisition module 200;
[0105] When the first image acquisition module 200 is in motion, if the shaking degree is at the second level, the first spatial range of the second volume greater than the minimum value range is allocated to the first image acquisition module 200;
[0106] The degree of jitter corresponding to the second level is greater than the degree of jitter corresponding to the first level; and the second volume is greater than the first volume.
[0107] In the disclosed embodiment, the degree of jitter is positively correlated with the first spatial range, that is, the more severe the degree of jitter, the larger the first spatial range; conversely, the lighter the degree of jitter, the smaller the first spatial range.
[0108] This allocation method is conducive to improving the allocation efficiency of the activity space range.
[0109] By grading the jitter degree, different jitter degree values within the same level only need to calculate one first spatial range, without having to calculate a first spatial range for each jitter degree value, which is beneficial to reducing the amount of calculation and making the implementation method simpler.
[0110] In other optional embodiments, the maximum focal length of the first image acquisition module 200 is greater than the maximum focal length of the second image acquisition module 100; and / or,
[0111] The resolution of the field of view 210 of the first image acquisition module is greater than the resolution of the field of view 110 of the second image acquisition module.
[0112] In some embodiments, the first image acquisition module 200 is a telephoto lens, and the second image acquisition module 100 is a wide-angle lens.
[0113] In some embodiments, Fig. 9As shown, the method for allocating the activity space range of the image acquisition module is applied to a mobile phone, and the method includes the following steps:
[0114] Step S201, defining the visible range of the telephoto lens in the wide-angle lens, so as to serve as a reference for the second spatial range of the tracking focus. That is, obtaining a preview image of the wide-angle lens; according to the preview image, determining the visual field of the telephoto lens for tracking the target object 300; wherein the field of view of the wide-angle lens is larger than the field of view of the telephoto lens.
[0115] Step S202, defining a first spatial range required for the telephoto lens anti-shake compensation. In practical applications, the first spatial range required for the telephoto lens anti-shake compensation can be determined based on the motion state information of the telephoto lens.
[0116] Step S203, posture judgment, if the motion state information of the telephoto lens changes, the size of the first spatial range needs to be adjusted. Among them, different postures of the mobile phone correspond to different motion states of the telephoto lens. The postures include static and motion. Among them, when in motion, the postures include the first level and the second level according to the degree of shaking. The first level is a relatively slight shaking, and the second level is a more serious shaking. For example: when hand-held shooting, the telephoto lens is generally in a moving state. When the hand-held shaking is slight, it can be used as the first level, and when the hand-held shaking is serious, it can be used as the second level.
[0117] Step S204: If the telephoto lens is in a stationary state, the entire active spatial range of the telephoto lens can be used as the second spatial range. Fig. 9 and Fig.10 As shown, if the mobile phone is placed on a tripod, there will generally be no hand shaking, so the active space range of the telephoto lens can be fully allocated to the first space range. For the anti-shake module, the available range of the anti-shake module can be fully allocated to focus tracking. Fig.10 In the figure, the frame of a is the limit of the activity space range, and the part within the frame of a represents the activity space range of the first image acquisition module; c represents the limit of the second space range, Fig.10 Indicates that the second spatial range coincides with the active spatial range.
[0118] Step S205: if the telephoto lens is in motion and the shaking degree is at the first level, the first spatial range of the first volume greater than the minimum value range is allocated to the first image acquisition module; Fig. 9 and Fig.11 As shown, when the hand-held shaking is slight, part of the activity space can be reserved for anti-shake purposes. Fig.11In the figure, the border of a is the limit of the activity space range, and the part inside the border of a represents the activity space range of the first image acquisition module; the border of b is the limit of the first activity space range, and the part inside the border of b represents the first activity space range; the border of c is the limit of the second activity space range, and the part inside the border of c represents the second activity space range.
[0119] Step S206: If the telephoto lens is in motion and the shaking degree is at the second level, the first spatial range of the second volume greater than the minimum value range is allocated to the first image acquisition module, wherein the shaking degree corresponding to the second level is greater than the shaking degree corresponding to the first level, and the second volume is greater than the first volume. Fig.12 As shown, step S206 can reserve a larger portion of the activity space range for anti-shake. Fig.11 and Fig.12 , Fig.12 In the figure, the meanings of the borders a, b, c and the parts inside the borders are respectively Fig.11 same. Fig.12 The first spatial range is greater than Fig.11 The first spatial range shown. Usually Figure 6 The target object 300 itself moves, taking the moving angle as a reference. The moving angle of the target object 300 is much larger than the shaking angle range of hand-held, so in the allocation of the activity space range, the first activity range allocated for tracking focus will be larger. However, if the shaking level is particularly severe, for example, greater than the second level, the first space range can be further enlarged.
[0120] In the disclosed embodiment, a large-angle anti-shake module of a telephoto lens can be used. In a scenario where a telephoto lens and a wide-angle lens are used at the same time, it is possible to track the target object 300 and achieve an anti-shake effect.
[0121] like Fig.13 As shown, the embodiment of the present disclosure further provides an activity space range allocation device 300 of an image acquisition module, comprising:
[0122] A first determination module 310, configured to determine a first spatial range required for anti-shake compensation of the first image acquisition module 200 according to motion state information of the first image acquisition module 200;
[0123] The second determination module 320 is used to determine a second spatial range for focusing of the first image acquisition module 200 according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module 200 .
[0124] like Fig.14 As shown, in some other optional embodiments, the device includes:
[0125] An acquisition module 330, used to acquire a preview image of a second image acquisition module 100; wherein the field of view of the second image acquisition module is larger than the field of view 210 of the first image acquisition module;
[0126] A third determination module 340 is used to determine the visual field of the first image acquisition module 200 focusing on the target object 300 according to the preview image;
[0127] The control module 350 is used to move the first image acquisition module 200 within the second spatial range according to the visual field.
[0128] In some other optional embodiments, the first determining module is further used to:
[0129] Determine the state of the first image acquisition module 200 according to the motion state information of the first image acquisition module 200;
[0130] When the first image acquisition module 200 is in a stationary state, determining that the first spatial range used for the first image acquisition module 200 is a minimum range;
[0131] When the first image acquisition module 200 is in motion, the first spatial range greater than the minimum value range is allocated to the first image acquisition module 200 according to the degree of shaking of the first image acquisition module 200 .
[0132] In some other optional embodiments, the second determining module is further used to:
[0133] When the first image acquisition module 200 is in motion, if the shaking degree is at a first level, the first spatial range of the first volume greater than the minimum value range is allocated to the first image acquisition module 200;
[0134] When the first image acquisition module 200 is in motion, if the shaking degree is at the second level, the first spatial range of the second volume greater than the minimum value range is allocated to the first image acquisition module 200;
[0135] The degree of jitter corresponding to the second level is greater than the degree of jitter corresponding to the first level; and the second volume is greater than the first volume.
[0136] In some other optional embodiments, the maximum focal length of the first image acquisition module 200 is greater than the maximum focal length of the second image acquisition module 100; and / or,
[0137] The resolution of the field of view 210 of the first image acquisition module is greater than the resolution of the field of view 110 of the second image acquisition module.
[0138] An embodiment of the present disclosure also provides a terminal, including a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, characterized in that when the processor runs the executable program, it executes the steps of the method for allocating the activity space range of the image acquisition module as described in any of the above embodiments.
[0139] The presently disclosed embodiment further provides a storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the steps of the method for allocating the activity space range of the image acquisition module as described in any of the above embodiments.
[0140] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0141] In an exemplary embodiment, the first determination module 310, the second determination module 320, the acquisition module 330, the third determination module 340 or the control module 350, etc. can be implemented by one or more central processing units (CPUs), graphics processing units (GPUs), baseband processors (BPs), application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0142] Fig.15 8 is a block diagram of an activity space range allocation 800 of an image acquisition module according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0143] Reference Fig.15, the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0144] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0145] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0146] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0147] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0148] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0149] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0150] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0151] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0152] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0153] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0154] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0155] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for allocating the activity space range of an image acquisition module, characterized in that: include: Determining a first spatial range required for anti-shake compensation of the first image acquisition module according to the motion state information of the first image acquisition module; The determining, according to the motion state information of the first image acquisition module, the first spatial range required for anti-shake compensation of the first image acquisition module comprises: determining the state of the first image acquisition module according to the motion state information of the first image acquisition module; when the first image acquisition module is in a stationary state, determining that the first spatial range used for the first image acquisition module is a minimum range; when the first image acquisition module is in a moving state, allocating the first spatial range greater than the minimum value range to the first image acquisition module according to the degree of shaking of the first image acquisition module; A second spatial range for focusing of the first image acquisition module is determined according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module.
2. The method for allocating the activity space range of the image acquisition module according to claim 1, characterized in that: The method comprises: Acquire a preview image of a second image acquisition module; wherein the field of view of the second image acquisition module is larger than the field of view of the first image acquisition module; Determining, based on the preview image, a visual field of the first image acquisition module for tracking a target object; According to the visual field of view, the first image acquisition module is moved within the second spatial range.
3. The method for allocating the activity space range of the image acquisition module according to claim 1, characterized in that: When the first image acquisition module is in motion, according to the degree of shaking of the first image acquisition module, allocating the first spatial range greater than the minimum value range to the first image acquisition module includes: When the first image acquisition module is in motion, if the shaking degree is at a first level, the first spatial range of a first volume larger than the minimum value range is allocated to the first image acquisition module; When the first image acquisition module is in motion, if the shaking degree is at a second level, the first spatial range of a second volume larger than the minimum value range is allocated to the first image acquisition module; The degree of jitter corresponding to the second level is greater than the degree of jitter corresponding to the first level; and the second volume is greater than the first volume.
4. The method for allocating the activity space range of the image acquisition module according to claim 2, characterized in that: The maximum focal length of the first image acquisition module is greater than the maximum focal length of the second image acquisition module; and / or, The resolution of the field of view of the first image acquisition module is greater than the resolution of the field of view of the second image acquisition module.
5. A device for allocating the activity space range of an image acquisition module, characterized in that: include: A first determining module, configured to determine a first spatial range required for anti-shake compensation of the first image acquisition module according to motion state information of the first image acquisition module; A second determining module, configured to determine a second spatial range for focus tracking of the first image acquisition module according to the first spatial range of the anti-shake compensation and the activity spatial range of the first image acquisition module; The first determination module is also used to: determine the state of the first image acquisition module according to the motion state information of the first image acquisition module; when the first image acquisition module is in a stationary state, determine that the first spatial range used for the first image acquisition module is the minimum range; when the first image acquisition module is in a moving state, allocate the first spatial range greater than the minimum value range to the first image acquisition module according to the degree of jitter of the first image acquisition module.
6. The device for allocating the activity space range of the image acquisition module according to claim 5, characterized in that: The device comprises: An acquisition module, used to acquire a preview image of a second image acquisition module; wherein the field of view of the second image acquisition module is larger than the field of view of the first image acquisition module; A third determination module, configured to determine, based on the preview image, a visual field of the first image acquisition module for tracking a target object; A control module is used to move the first image acquisition module within the second spatial range according to the visual field.
7. The device for allocating the activity space range of the image acquisition module according to claim 6, characterized in that: The second determining module is further used for: When the first image acquisition module is in motion, if the shaking degree is at a first level, the first spatial range of a first volume larger than the minimum value range is allocated to the first image acquisition module; When the first image acquisition module is in motion, if the shaking degree is at a second level, the first spatial range of a second volume larger than the minimum value range is allocated to the first image acquisition module; The jitter degree corresponding to the second level is greater than the jitter degree corresponding to the first level; The second volume is larger than the first volume.
8. The device for allocating the activity space range of the image acquisition module according to claim 6, characterized in that: The maximum focal length of the first image acquisition module is greater than the maximum focal length of the second image acquisition module; and / or, The resolution of the field of view of the first image acquisition module is greater than the resolution of the field of view of the second image acquisition module.
9. A terminal comprising a processor, a memory, and an executable program stored in the memory and capable of being run by the processor, characterized in that: When the processor runs the executable program, the processor executes the steps of the method for allocating the activity space range of the image acquisition module as described in any one of claims 1 to 4.
10. A storage medium having an executable program stored thereon, characterized in that: When the executable program is executed by the processor, the steps of the method for allocating the activity space range of the image acquisition module as described in any one of claims 1 to 4 are implemented.
