Image processing method, device, electronic device, and readable storage medium
The method integrates autofocus with manual focus adjustment to address user focus demands in mobile devices, ensuring rapid and accurate focusing by combining autofocus with user-controlled fine-tuning.
Patent Information
- Application Number
- JP2023523587
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-10-28
- Filing Date
- 2021-10-21
- Publication Date
- 2024-09-02
- Estimated Expiration
- 2041-10-21
AI Technical Summary
Existing autofocus systems in mobile devices often fail to meet user focus demands, and manual focus is cumbersome and slows down the focusing process.
A method that combines autofocus with manual focus adjustment, allowing users to fine-tune focus settings based on autofocus results, ensuring rapid and accurate focusing through preview image updates and user inputs.
Ensures high-speed focusing while allowing for precise adjustments to meet user requirements, improving focus accuracy and user satisfaction.
Smart Images

Figure 0007543562000002 
Figure 0007543562000007 
Figure 0007543562000013
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to Chinese Patent Application No. 202011177119.8, entitled “IMAGE PROCESSING METHOD, APPARATUS, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM,” filed on October 28, 2020, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical field of imaging, and specifically to an imaging processing method, an imaging processing device, an electronic device, and a readable storage medium. [Background technology]
[0003] In related technology, when capturing an image with a mobile terminal, the focus is usually adjusted by autofocus. However, in some specific situations, the autofocus may deviate from the user's actual needs, and even repeated autofocus may not be able to satisfy the user's focus needs.
[0004] On the other hand, manual focus is usually only available in "Pro mode", and is complicated to operate and can significantly slow down focusing speed. Summary of the Invention [Problem to be solved by the invention]
[0005] The embodiments of the present application aim to provide an imaging processing method, device, electronic device, and readable storage medium that can ensure that the focus result conforms to the effect desired by the user while guaranteeing the focus speed. [Means for solving the problem]
[0006] In order to solve the above technical problems, the present application is realized as follows.
[0007] In a first aspect, embodiments of the present application include performing autofocus on a first preview image displayed on an imaging preview screen, obtaining first focus information, and updating the first preview image to a second preview image based on the first focus information; receiving a first input; adjusting first focus information in response to the first input to obtain second focus information, and updating the second preview image to a third preview image according to the second focus information; capturing a third preview image based on the second focus information.
[0008] In a second aspect, embodiments of the present application include a focus module for performing autofocus on a first preview image displayed on the imaging preview screen, obtaining first focus information, and updating the first preview image to a second preview image based on the first focus information; a receiving module for receiving a first input; an adjusting module for adjusting the first focus information in response to the first input to obtain second focus information and updating the second preview image to a third preview image according to the second focus information; and an imaging module for capturing a third preview image based on the second focus information.
[0009] In a third aspect, an embodiment of the present application provides an electronic device including a processor, a memory, and a program or command stored in the provided memory and executable on the provided processor, the program or command being executed by the provided processor to realize steps of the imaging processing method provided in the first aspect.
[0010] In a fourth aspect, an embodiment of the present application provides a readable storage medium having stored thereon a program or commands which, when executed by a processor, result in the steps of the image processing method provided in the first aspect.
[0011] In a fifth aspect, an embodiment of the present application provides a chip including a processor and a communication interface, the communication interface being coupled to the provided processor, the provided processor being used to execute programs or commands to realize steps of the imaging processing method provided in the first aspect.
[0012] In a sixth aspect, an embodiment of the present application provides an electronic device configured to perform the steps of the image processing method according to the first aspect.
[0013] In a seventh aspect, embodiments of the present application provide a computer program product executable by a processor to implement steps of the imaging processing method according to the first aspect. Effect of the Invention
[0014] In the embodiment of the present application, after entering the imaging function (mode), first, autofocus is performed on the first preview image displayed on the imaging preview screen, thereby ensuring the focusing speed. After the autofocus is completed, the autofocused preview image is displayed to allow the user to confirm the focusing result.
[0015] If the user feels that the focus result of the autofocus does not satisfy the focus requirement, the focus adjustment operation performs focus fine adjustment based on the first focus information obtained by the autofocus, and a preview image after the focus fine adjustment is synchronously displayed. If the fine adjustment result satisfies the user's focus requirement, the user can control the camera to capture an image according to the second focal length information after the current fine adjustment by the first imaging operation.
[0016] By first performing autofocusing, which can quickly obtain focal length information of the object to be imaged, the demand for high-speed focusing in imaging with a mobile terminal can be met, and the user can perform fine adjustment based on the autofocusing by performing a focus adjustment operation, thereby accurately obtaining the focus result desired by the user. While the focus speed is guaranteed, a focus result that meets the user's needs can be obtained. [Brief description of the drawings]
[0017] [Figure 1] 1 shows a flowchart (part 1) of an imaging processing method according to an embodiment of the present application. [Diagram 2] 2 shows a second flowchart of an imaging processing method according to an embodiment of the present application. [Diagram 3] 1 shows a schematic diagram (part 1) of an imaging screen according to an embodiment of the present application. [Figure 4] 13 shows a third flowchart of an imaging processing method according to an embodiment of the present application. [Diagram 5] FIG. 2 shows a schematic diagram (part 2) of an imaging screen according to an embodiment of the present application. [Figure 6] 13 shows a fourth flowchart of an imaging processing method according to an embodiment of the present application. [Figure 7] FIG. 3 shows a schematic diagram (part 3) of an imaging screen according to an embodiment of the present application. [Figure 8] 5 shows a flowchart (part 5) of an imaging processing method according to an embodiment of the present application. [Figure 9] 6 shows a flowchart (part 6) of an imaging processing method according to an embodiment of the present application. [Figure 10] FIG. 4 shows a schematic diagram (part 4) of an imaging screen according to an embodiment of the present application. [Figure 11] 13 shows a flowchart (part 7) of an imaging processing method according to an embodiment of the present application. [Figure 12] FIG. 5 shows a schematic diagram (part 5) of an imaging screen according to an embodiment of the present application. [Figure 13] 8 shows a flowchart (part 8) of an imaging processing method according to an embodiment of the present application. [Figure 14] 9 shows a flowchart (part 9) of an imaging processing method according to an embodiment of the present application. [Figure 15A] FIG. 6 is a schematic diagram (part 6) of an imaging screen according to an embodiment of the present application. [Figure 15B] FIG. 7 is a schematic diagram (part 7) of an imaging screen according to an embodiment of the present application. [Figure 15C] FIG. 8 is a schematic diagram of an image capture screen according to an embodiment of the present application. [Figure 16] 10 shows a flowchart (part 10) of an imaging processing method according to an embodiment of the present application. [Figure 17] 11 shows a flowchart (part 11) of an imaging processing method according to an embodiment of the present application. [Figure 18] 1 shows a configuration block diagram of an image capture processing device according to an embodiment of the present application. [Figure 19] FIG. 2 is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is to be understood that the described embodiments are only a part of the embodiments of the present application, and are not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without any creative efforts belong to the protection scope of the present application.
[0019] The terms "first," "second," etc. in the specification and claims of this application are not intended to describe a particular order or chronology, but are intended to distinguish between similar objects. It should be understood that the terms so used may be substituted for one another where appropriate, such that the embodiments of this application may be practiced in an order other than that shown or described herein. Also, in the specification and claims, "and / or" refers to at least one of the connected objects, and the " / " symbol generally indicates that the related objects before and after are in an "or" relationship.
[0020] Hereinafter, the imaging processing method, imaging processing device, electronic device, and readable storage medium provided in the embodiments of the present application will be described in detail with reference to specific embodiments and their application scenarios with reference to the drawings.
[0021] In some embodiments of the present application, FIG. 1 shows a flowchart (part 1) of an imaging processing method according to the embodiments of the present application, and specifically, the imaging processing method specifically includes steps 102, 104, and 106.
[0022] In step 102, autofocus is performed on a first preview image displayed on the imaging preview screen to obtain first focus information, and the first preview image is updated to a second preview image based on the first focus information.
[0023] In step 104, a first input is received, the first focus information is adjusted in response to the first input, second focus information is obtained, and the second preview image is updated to a third preview image according to the second focus information.
[0024] In step 106, a third preview image is captured based on the second focus information.
[0025] In an embodiment of the present application, after entering the imaging mode, first, autofocus is performed on a first preview image displayed on the imaging preview screen, first focus information is obtained by autofocus, and the first preview image on the imaging preview screen is updated to a second preview image based on the first focus information.
[0026] Here, the first focus information includes a focus, a focus area, a focal length range parameter, and a focal length parameter, etc., and in some embodiments, the focus information may further include an ISO (sensitivity defined by the International Standardization Organization) value, a white balance parameter, a contrast parameter, a color space, etc.
[0027] After obtaining first focus information by autofocus, when a first input is received, the first focus information obtained by autofocus is adjusted by a focus adjustment operation until the focus effect meets the user's needs, and second focus information after the adjustment is obtained. Then, a third preview image according to the second focus information is displayed so that the user can judge in real time whether the focus effect that meets the user's needs is obtained.
[0028] Here, the first input is an input for triggering the electronic device to perform a focus adjustment process. The first input may be a manual input by a user, such as pressing a button or touching a screen, or may be an input obtained through a network connection, such as a signal input from a remote control or the Internet. This application does not limit the specific form of the first input.
[0029] When the user confirms that the current focus effect meets the user's needs, the user can press the capture button to control the mobile terminal to capture images according to the current focus information, thereby obtaining a photo that meets the user's needs.
[0030] In the embodiment of the present application, the demand for high-speed focusing in imaging by a mobile terminal can be met by first performing autofocusing, which can quickly obtain focal length information of an object to be imaged, and the user can perform fine adjustment based on the autofocusing by performing a focus adjustment operation, thereby accurately obtaining the focus result desired by the user. The focus speed is guaranteed, while the focus result according to the user's needs can be obtained.
[0031] In some embodiments of the present application, FIG. 2 shows a flowchart (part 2) of an imaging processing method according to an embodiment of the present application, in which the first input includes a first manual focus operation, and the process of adjusting the first focus information specifically includes steps 202 and 204.
[0032] In step 202, a first focus adjustment amount is obtained by a first manual focus operation.
[0033] In step 204, the first focus information is adjusted based on the first focus adjustment amount to obtain second focus information.
[0034] In the embodiment of the present application, when adjusting the first focus information obtained by autofocus, the user can manually adjust the first focus information by inputting a first manual focus operation.
[0035] Specifically, FIG. 3 shows a schematic diagram (part 1) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 3, after the autofocus is successful for the imaging function of the mobile phone 300, a focal length adjustment bar 304 and a slider 306 for indicating the current focal length position are displayed on a preview screen 302.
[0036] Here, after the autofocus is successful, the initial position of the slider 306 may be the middle position of the focal length adjustment bar 304 .
[0037] If the user feels that the current autofocus result does not meet his / her requirements, he / she can input a first manual focus operation by touching and “dragging” the slider 306, in which the direction in which the slider 306 is dragged corresponds to an increase or decrease in focal length, i.e., the positive or negative first focus adjustment amount, and the distance by which the slider 306 is dragged corresponds to the magnitude of the first focus adjustment amount, and finally, the first focus information obtained by the autofocus is adjusted according to the determined first focus adjustment amount, thereby obtaining second focus information that can meet the user's needs, and finally taking a photo that satisfies the user.
[0038] This process involves manual adjustment by the user based on the approximately correct focus information obtained by autofocus, so that the focus speed can be guaranteed and the focus accuracy can be improved.
[0039] In some embodiments of the present application, FIG. 4 shows a flowchart (part 3) of an imaging processing method according to an embodiment of the present application, in which the first input further includes an autofocus operation, and the process of adjusting the first focus information specifically includes steps 402, 404, and 406.
[0040] In step 402, adjustment history data is obtained through an autofocus operation.
[0041] In step 404, a second focus adjustment amount corresponding to the first focus information is obtained from the adjustment history data.
[0042] In step 406, the first focus information is adjusted based on the second focus adjustment amount to obtain second focus information.
[0043] In the embodiment of the present application, when adjusting the first focus information obtained by autofocus, the user can input an autofocus operation to automatically adjust the first focus information again.
[0044] Specifically, FIG. 5 shows a schematic diagram (part 2) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 5, after the autofocus is successful for the imaging function of the mobile phone, a focal length adjustment bar 504, a slider 506 for indicating the initial focal length position, and an automatic adjustment identifier 508 are displayed on a preview screen 502.
[0045] After the first autofocus is completed, if the user is not satisfied with the current first focus information, the user inputs an autofocus operation by touching the auto adjustment identifier, in which the mobile imaging terminal obtains adjustment history data, which includes the final focus adjustment data of all the imaging operation processes that have been successful so far.
[0046] The mobile imaging terminal searches the adjustment history data for a history record that matches the first focus information of the current autofocus result, determines a corresponding second focus adjustment amount therefrom, and automatically adjusts the first focus information based on the second focus adjustment amount, thereby obtaining the adjusted second focus information for the user to preview.
[0047] For example, if a user has taken images multiple times at focal lengths f1 and f2, the average focus adjustment amounts by which the user manually adjusted the focus when the focal length is f1 and when the focal length is f2 are calculated and denoted as a1 and a2, respectively. Next, by curve fitting, when the focal length is between f1 and f2, the relationship between f and the corresponding adjustment amount a is calculated, and the autofocus result is adjusted by the adjustment amount a.
[0048] As shown in FIG. 5, after automatic adjustment, a slider 506 indicating the initial focal length position and a slider 510 indicating the current focal length position are simultaneously displayed on a focal length adjustment bar 504 .
[0049] It can be appreciated that if the user is still not satisfied with the adjusted preview image, the autofocus operation can be repeatedly input and adjustments based on the current focus information can continue on the mobile terminal until a focus result that the user is satisfied with is obtained.
[0050] Here, the adjustment history data may be data of the own device or may be big data acquired from a server, and the embodiment of the present application does not limit the source of the adjustment history data.
[0051] In some embodiments of the present application, FIG. 6 shows a flow chart 4 of an imaging processing method according to an embodiment of the present application, specifically, the imaging processing method may further include the following steps 602 and 604.
[0052] In step 602, if the number of times the focus adjustment operation has been performed is greater than a preset number threshold, a selection identifier is displayed.
[0053] At step 604, a second input for the selection identifier is received and, in response to the second input, a fourth preview image according to the focus history information is displayed.
[0054] Here, the focus history information is associated with the selection identifier.
[0055] In the embodiment of the present application, after each focus, if the device determines that the current focus is successful, the current focus data is recorded and saved as focus history data. In addition, if the terminal determines that the user currently adjusts the focus adjustment parameters many times, specifically, the number of times the focus adjustment operation is performed is greater than a preset number threshold, the terminal believes that the user has not achieved accurate focus after adjusting the focus information. In this case, a selection identifier may be displayed to help the user quickly identify the accurate focus focal length range, and the user can return the focus to the focus history information by selecting the selection identifier, and display the fourth preview image according to the focus history information.
[0056] Here, in one embodiment, the focus history information may include a plurality of pieces of focus information, and the selection identifier may include two page forward buttons corresponding to the "previous" focus history information and the "next" focus history information, respectively. When the user presses the "previous" page forward button, an earlier focus history information is selected, and when the user presses the "next" page forward button, a later focus history information is selected.
[0057] In another embodiment, the focus history information may be focus history information obtained by autofocus, i.e., the first focus information, and the selection identifier may be a “return” identifier, which, when triggered by a user, returns directly to the focus history information obtained by autofocus, i.e., the first focus information.
[0058] Specifically, FIG. 7 shows a schematic diagram (part 3) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 7, after the autofocus is successful for the imaging function of the mobile phone, a focal length adjustment bar 704, a slider 706 for indicating the initial focal length position, and a slider 708 for indicating the current focal length position are displayed on a preview screen 702.
[0059] If the system determines that the user has adjusted the focus information multiple times, a selection identifier 710 is displayed on one side of the focal length adjustment bar 704. When the user taps the selection identifier 710, the current focus information is returned to the previous successful focus history information.
[0060] By storing focus success history information and allowing the user to replace current focus information with the focus success history information by touching a selection identifier, on the one hand, it is possible to prevent the loss of accurate focus due to user erroneous operation, and on the other hand, it is also possible to improve focus efficiency.
[0061] In some embodiments of the present application, FIG. 8 shows a flowchart (part 5) of an imaging processing method according to an embodiment of the present application, and specifically, before performing autofocus on the first preview image displayed on the imaging preview screen, the imaging processing method may further include the following steps 802 and 804.
[0062] At step 802, a third input is received and, in response to the third input, a focus area is selected in the first preview image and a first focus object is selected in the focus area.
[0063] In step 804, autofocus is performed on the first focus target to obtain first focus information corresponding to the first focus target.
[0064] In an embodiment of the present application, before capturing an image, a user can manually or automatically select a focus area in a current preview image by a third input, and the imaging device can determine a central target as a focus target, i.e., the above-mentioned first focus target, based on the focus area, and perform an autofocus operation with the first focus target as the focus.
[0065] Specifically, when a user opens an imaging program and enters an imaging screen, a preview image is displayed in real time on the display of the mobile imaging device. The user can input a first focus operation by tapping an area on the preview image or selecting an area on the preview image in a "frame selection" manner. In this case, the mobile imaging device automatically determines one first focus target in the focus area as a focus center target and performs autofocus on it.
[0066] Here, when recognizing the first focus target in the focus identification area, the target closest to the lens in the focus area may be the first focus target, or the target occupying the largest area in the focus area may be the first focus target, or further, the target with the greatest brightness in the focus area may be the first focus target, and the embodiments of the present application do not limit the method of recognizing the first focus target.
[0067] In some embodiments of the present application, FIG. 9 shows a flowchart (part 6) of an imaging processing method according to an embodiment of the present application, specifically, after receiving the third input, the imaging processing method may further include the following steps 902, 904, and 906.
[0068] In step 902, a focus frame is displayed in the focus area.
[0069] At step 904, a second manual focus input for the focus frame is received to adjust a display parameter of the focus frame.
[0070] In step 906, third focus information corresponding to the second focus target is obtained by autofocus.
[0071] Here, the display parameters of the focus area include at least one of the size and position of the focus frame, and the second focus target is the target selected by the focus frame after the display parameters of the focus frame are adjusted.
[0072] In an embodiment of the present application, when a user taps or frame-selects a preview image to select a focus area in the current preview image, a focus frame is displayed in the focus area, where the focus frame can be a rectangular focus frame, a circular focus frame, or an irregular geometric image focus frame, and the embodiment of the present application does not limit the appearance of the focus frame.
[0073] After the focus frame is displayed, a second manual focus operation can be received via the focus frame to adjust the size or position of the focus area, determine a "larger" or "smaller" focus area in the current preview image, or select another position in the current preview image as the focus area.
[0074] After the focus area is changed, the mobile imaging device re-determines a second focus target in the changed focus area, where the second focus target may be the same target as the first focus target, may be another target different from the first focus target, or may even be another part of the first focus target.
[0075] Specifically, Fig. 10 shows a schematic diagram (part 4) of an imaging screen according to an embodiment of the present application, in which, as shown in Fig. 10, when a user opens an imaging program and enters the imaging screen, a preview image is displayed in real time on the mobile phone. The user can input a first focus operation by tapping any area in the preview image 1002, and in this case, a focus frame 1006 is displayed in the focus area 1004 tapped by the user.
[0076] In this case, the user can input a second manual focus operation by dragging the frame portion of the focus frame 1006 and determine a new focus area 100 in the preview image 1002 .
[0077] The user can further adjust the size of the focus area 1004 by dragging the corners of the focus frame 1006 to input a second manual focus operation, or by inputting a second manual focus operation using a gesture operation such as a pinch out.
[0078] Optionally, after the user inputs the second manual focus operation, a selection identifier button may be displayed in the preview image 1002, and when the user taps the selection identifier button, the focus frame returns to its initial state before the user's adjustment.
[0079] For example, if the current focus target A is surrounded by other objects and the focus target A is farther away from the lens than the other objects, when focusing on target A, the focal point may move to other objects B and C. In such a case, the focus adjustment operation can be turned on by tapping the focus slider and quickly sliding it up.
[0080] In this case, the display color of the focus frame can be changed, for example, from blue to green.
[0081] Therefore, the user can pinch in on the preview image to reduce the focus area and achieve precise focus on target A. Also, the user can pinch out to expand the focus area to cover a larger focus range. This allows the user to freely select the focus area and focus target, improving the convenience of the imaging operation and contributing to improved focus accuracy.
[0082] In some embodiments of the present application, FIG. 11 shows a flowchart (part 7) of an imaging processing method according to an embodiment of the present application, specifically, after selecting the first focus target, the imaging processing method may further include the following steps 1102, 1104, 1106, and 1108.
[0083] At step 1102, first focus formation information of the first focus object is obtained in response to a first continuous imaging input.
[0084] In step 1104, a third focus target and second focus formation information of the third focus target are obtained through a first continuous imaging input.
[0085] In step 1106, a first set of focus information is obtained based on the first focusing information and the second focusing information.
[0086] In step 1108, the camera is controlled to take continuous images in accordance with the focus information in the first set of focus information in sequence, and a set of photos is output.
[0087] Here, the third focus target is selected by the first continuous imaging input.
[0088] In the embodiment of the present application, the mobile imaging device can perform continuous imaging of multiple targets in a continuous focus manner. Specifically, the mobile imaging device enters a continuous imaging mode according to a first continuous imaging input input by a user. In the continuous imaging mode, the mobile imaging device first determines first focus formation information corresponding to a first focus target.
[0089] Here, the first focus target can be determined by performing autofocus on the first focus target in a certain focus area using the imaging processing method provided in any one of the above embodiments, and then accurate focal length information of the first focus target is obtained through manual focal length adjustment or re-autofocus steps, and after the user taps to confirm or capture the image, it becomes the first focus formation information.
[0090] Also, the mobile imaging device re-determines a third focus target in the user-selected focus area according to the first continuous imaging input, where the third focus target may be another target completely different from the first focus target, or may be another part or area of the first focus target.
[0091] After the third focus object is determined, the accurate focal length information of the third focus object can be obtained through the same focus determination method, and after the user taps to confirm or capture the image, it becomes the second focus formation information.
[0092] Furthermore, a first focus information set is formed starting from the first focus formation information and ending with the second focus formation information, and continuous imaging is performed in sequence in accordance with the gradual change order from the first focus formation information to the second focus formation information.
[0093] 12 shows a schematic diagram (part 5) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 12, after a first continuous imaging input is received, first, an object a in a focus area A is imaged in a preview image 1202, and in this case, an original focus frame 1204 is located in the focus area A. Next, the focus frame is dragged to the focus area B by using a focus frame dragging method, and then an object b in the focus area B is imaged, and in this case, a current focus frame 1206 is located in the focus area B.
[0094] When focusing on object a, the exact focal length of object a is determined and recorded as f3, and when focusing on object b, the exact focal length of object b is determined and recorded as f4. In this case, f3 and f4 are marked on the focal length adjustment bar 1208, and at the same time, a region 1210 between f3 and f4 is marked, and the region 1210 includes n pieces of focus information f3 to 4.
[0095] For example, the user first performs autofocus and focal length adjustment on object a, and after the focus is completed, taps and drags the focus frame to object b, and then releases it to complete the setting of the focus interval for focus bracketing continuous imaging. During the process of dragging the focus frame, the focus interval is synchronously displayed on the focal length adjustment bar 1208.
[0096] When the user inputs a second imaging operation, images are captured from the object a with focus information f3, f3-4×n, and f4, respectively, to obtain a series of continuously captured photographs.
[0097] By taking continuous images of different focus targets in a continuous focus manner, a large number of focused photos can be obtained in a short time for a user to subsequently select, and rapid, synchronized panning of multiple targets corresponding to different focal length range information is realized, thereby improving the photo yield.
[0098] FIG. 13 shows a flowchart (part 8) of the imaging processing method according to the embodiment of the present application. Specifically, the flow for completing imaging is as follows.
[0099] In step 1302, the camera is started.
[0100] In step 1304, autofocus is performed and a focal length adjustment bar is displayed in the preview image.
[0101] In step 1306, it is determined whether the focus has been performed multiple times, and if so, proceed to step 1308; if not, proceed to step 1310.
[0102] In step 1308, the focus state is recorded and the selection identifier is displayed.
[0103] In step 1310, it is determined whether or not to take a picture. If so, the flow ends; if not, the flow proceeds to step 1312.
[0104] In step 1312 it is determined whether to return, if so proceed to step 1314, if not proceed to step 1316.
[0105] Step 1314 returns to the previous focus success state.
[0106] In step 1316, the focus auto-calibration mode is turned on.
[0107] In step 1318, the gesture focus adjustment mode is turned on.
[0108] In step 1320, the focus frame is dragged to perform continuous imaging.
[0109] Specifically, for example, a user activates the camera and taps the preview image to perform autofocus. After focusing, a manual focus focal length adjustment bar is displayed below the preview image for manually adjusting the focus.
[0110] When the user is trying to focus, the user can perform a calibration operation on the autofocus effect. The user can calibrate the autofocus based on the autofocus by double tapping the focus target, and the focal length adjustment bar at the bottom will be automatically adjusted.
[0111] For example, when no manual focus operation is performed, the slider of the focal length adjustment bar is in the middle position by default, and after autofocus is completed, the user can manually fine-tune the focal length adjustment bar to obtain the optimal focus state. On the other hand, when the automatic calibration operation is enabled after autofocus is completed, the focal length adjustment bar is automatically adjusted to obtain the optimal state as possible, and the fine-tuned focus state is fluctuated and a corresponding calibration is performed, eliminating the need for subsequent manual adjustment.
[0112] The specific focus parameters of the calibration can be obtained by fitting calculation of the corresponding adjustment values at different focal lengths recorded during past imaging. For example, a user has taken images multiple times at focal lengths f1 and f2, and the average values a1 and a2 of the user's manual adjustment amounts when the focal length is f1 and when the focal length is f2 can be calculated, respectively. Then, a relationship curve between the focal length f between f1 and f2 and the calibration adjustment amount a can be obtained by curve fitting. Finally, when the focal length f obtained after the user performs autofocus is between f1 and f2, the corresponding calibration adjustment amount can be calculated based on the curve.
[0113] When multiple focus operations are performed by the user, the focus information for each operation can be recorded before image capture is triggered.
[0114] When the focus success rate is low, the user can perform focus operations multiple times and then tap the back button on the left side of the slide bar to return to the previous most accurate focus state. In this case, the focus frame turns green, indicating to the user that the focus data in the current framing scene is in the most accurate state.
[0115] Usually, the focus area of a mobile terminal is fixed, and the preview area is fixed to a small rectangular size with the point where the finger is tapped as the center, and the area is the focus area. Therefore, when a focus object A is surrounded by other objects B and C, and A is farther from the lens than B and C, tapping A may cause focus errors in some scenes, such as focusing on objects B and C. In this case, the manual focus slide bar can be tapped and quickly slid upwards, so that the gesture focus area adjustment mode is turned on, and the focus frame turns green.
[0116] In this case, the zoom to preview the original framing image is replaced by a gesture zoom to adjust the focus area.
[0117] A user can pinch in on the preview image to shrink the focus area, making it easier to focus on small objects, and avoiding a situation where the effect desired by the user is not achieved by simply focusing on a fixed area, especially when a small object is surrounded and obscured by other background objects on all sides.
[0118] By sliding two fingers apart, the focus area can be expanded, making it easier to focus on large objects. For example, when photographing multiple people at close range, if the person in the back is far away, tapping the center of the screen to focus will cause the person in the back to be blurred and a good focus effect cannot be achieved. In this case, you can expand the focus area to cover all background objects that need to be focused on, and then adjust the focus to achieve a better imaging effect.
[0119] When the user wishes to end the focus adjustment mode using gestures, the user can do so by single-tapping the frame of the focus frame. After the mode ends, the color of the focus frame returns to the original color, for example, from green to blue.
[0120] In the continuous imaging mode, the user can perform focus continuous imaging, for example, between target A, which has a relatively large focal length, and target B, which has a relatively small focal length, and can quickly set a focus continuous imaging section that suits the purpose.
[0121] Specifically, the user first performs autofocus on the first object A, and after the focus is completed, taps the focus frame, drags it to another object B, and then releases it to complete the setting of the focus bracketing continuous imaging focus section. Here, while dragging the focus frame, the manual focus slide bar corresponds to the displayed focus continuous imaging section. When the user takes continuous images, the images are taken in sequence according to the focus value in the focus section, and a series of photos with changing focus states are obtained, which are presented as a series of photos with changing blur as a whole for later selection.
[0122] The embodiment of the present application combines manual focus with autofocus to solve the problem of image quality degradation caused by autofocus deviation, and improves the focus accuracy and improves the user's imaging effect through the method of focus autocalibration and gesture focus area adjustment. In addition, in order to prevent the user from being unable to select the optimal focus after multiple focusing, the embodiment of the present application further adopts a focus rollback policy that saves the optimal focus distance of the current scene and the focus background object. Combined with the focus bracketing continuous imaging policy, the focus continuous imaging section tailored to the purpose can be quickly set according to the reference object, and the convenience of manual focus can be further improved.
[0123] In some embodiments of the present application, FIG. 14 shows a flow chart 9 of an imaging processing method according to an embodiment of the present application, specifically, the imaging processing method may further include step 1402 and step 1404.
[0124] In step 1402, a second continuous imaging input is received, and in response to the second continuous imaging input, a position of a focus frame is adjusted, at least two fourth focus targets are selected in sequence, and third focus formation information of each fourth focus target is obtained.
[0125] In step 1404, the camera is controlled to capture images continuously based on the third focus formation information.
[0126] In an embodiment of the present application, a method of adjusting the focus area by using a second continuous imaging input is used to collectively select multiple fourth focus targets, and each of the multiple fourth focus targets is set as a focus target according to the order in which the focus frame moves, and continuous imaging is performed, ultimately obtaining a set of photographs in which the focal length changes continuously, or a dynamic image in which the focus moves.
[0127] Specifically, FIG. 15A shows a schematic diagram (part 6) of an imaging screen according to an embodiment of the present application, FIG. 15B shows a schematic diagram (part 7) of an imaging screen according to an embodiment of the present application, and FIG. 15C shows a schematic diagram (part 8) of an imaging screen according to an embodiment of the present application.
[0128] As shown in FIG. 15A, the user first selects a first fourth focus target in the current preview image using autofocus and manual adjustment, then adjusts the focus area by dragging the position of the focus frame to select a second fourth focus target in the current image, and completes the focusing, as shown in FIG. 15B.
[0129] Next, the user continues to drag the focus frame to select the third fourth focus target to complete the focus, and so on until all fourth focus targets are selected. For example, if the user has finally selected three fourth focus targets, the screen will be as shown in FIG. 15C.
[0130] Here, in preview image 1500, a first fourth focus object corresponds to viewfinder 1502, a second fourth focus object corresponds to viewfinder 1504, and a third fourth focus object corresponds to viewfinder 1506.
[0131] After all the fourth focus targets and the third focus formation information corresponding to each of the fourth focus targets have been determined, the multiple fourth focus targets are imaged in sequence according to the order in which the user drags the focus frame, thereby completing continuous imaging.
[0132] In some embodiments of the present application, FIG. 16 shows a flowchart (part 10) of an imaging processing method according to an embodiment of the present application, and specifically, the step of controlling the camera to capture continuous images based on the third focus formation information may include the following steps 1602, 1604, and 1606.
[0133] In step 1602, the imaging time of each fourth focus object and the imaging order of each fourth focus object are obtained by the second continuous imaging input.
[0134] In step 1604, the number of images captured for each fourth focus target is obtained according to the imaging time and the preset imaging frame rate.
[0135] In step 1606, the camera is controlled to capture images according to the third focus formation information, according to the capture order and the number of captures, and a dynamic picture is output.
[0136] In an embodiment of the present application, the imaging time when each fourth focus target is selected is recorded, which may be the time elapsed when the viewfinder is dragged, and the order in which multiple fourth focus targets are selected is recorded.
[0137] The order of sequential imaging is determined according to the order in which the multiple fourth focus targets are selected, and the number of images to be captured between each of the fourth focus targets is determined according to the imaging time and a preset imaging frame rate.
[0138] As an example, the image includes a fourth focus target A, a fourth focus target B, and a fourth focus target C, and images are captured in the order A, B, C, and two seconds pass while the user moves the viewfinder from A to B, and one second passes while the user moves it from B to C.
[0139] Assuming that the imaging frame rate preset in the system is 25 frames per second, when imaging from the fourth focus target A to target B, the system captures a total of 50 photographs, and the focus information of these 50 photographs is a curve value gradually changed from the third focus formation information A corresponding to the fourth focus target A to the third focus formation information corresponding to the fourth focus target B by curve fitting.
[0140] Similarly, a total of 25 photographs were taken in the continuous imaging from the fourth focus object B to the fourth focus object C, and finally, a dynamic photograph with a total number of frames of 75 was obtained by integration.
[0141] By focusing and capturing images for a plurality of focus targets in a certain order, a dynamic photograph in which the focus changes over time is finally obtained, and interesting imaging is realized by "dynamic zoom," thereby making imaging more interesting.
[0142] In some embodiments of the present application, the imaging processing method further includes a step of generating a focus template based on the third focus formation information and storing the focus template in a preset memory space, the preset memory space including at least one focus template; a step of receiving a selection input for a target focus template among the at least one focus template; and a step of controlling a camera to capture an image according to the target focus template in response to the selection input.
[0143] In the embodiment of the present application, after the continuous shooting is completed, the focus information of the current continuous shooting is stored and formed as a corresponding focus template, and in the subsequent shooting process, the user can directly call up the saved focus template to perform rapid continuous shooting.
[0144] Here, the focus template includes a focus position, a focus range and focus information, and the focus information includes a focal length range parameter and a focal length parameter, etc. When the focus template is called up by a user, the imaging device performs automatic imaging according to exactly the same operation steps as when the focus template is stored.
[0145] FIG. 17 shows a flowchart (part 11) of an imaging processing method according to an embodiment of the present application. Specifically, the complete imaging flow is as follows:
[0146] In step 1702, the camera is started.
[0147] In step 1704, autofocus is performed and a focal length adjustment bar is displayed in the preview image.
[0148] In step 1706, it is determined whether the focus has been performed multiple times, and if so, the process proceeds to step 1708; otherwise, the process proceeds to step 1710.
[0149] In step 1708, the focus state is recorded and the selection identifier is displayed.
[0150] In step 1710, it is determined whether or not to take a picture. If so, the flow ends; if not, the flow proceeds to step 1712.
[0151] In step 1712 it is determined whether to return, if so proceeding to step 1714, if not proceeding to step 1716.
[0152] In step 1714, the process returns to the previous focus success state.
[0153] In step 1716, the focus state of the focus target is locked.
[0154] In step 1718, the focus frame is moved to the next target, and the process returns to step 1716, and when all objects have been selected, the process proceeds to step 1720.
[0155] In step 1720, continuous imaging is performed.
[0156] At step 1722, the template is saved and the dynamic photo is shared.
[0157] Specifically, for example, a user activates the camera and taps the preview image to perform autofocus. After focusing, a manual focus focal length adjustment bar is displayed below the preview image for manually adjusting the focus.
[0158] For continuous shooting mode, the user can tap on target A in the screen preview as the start target of continuous focus, and the following will be done to ensure the focus accuracy of target A:
[0159] Firstly, adjust the size of the focus frame by zooming the focus frame with two fingers, and the display size of the focus frame represents the focus area, ensuring that the object A is completely covered by the focus frame after zooming.
[0160] Next, start adjusting the focal length adjustment bar at the bottom to fine-tune the focus value to ensure the optimum focus distance, and continue to fine-tune with the back button to determine the desired focus state based on the definition of object A in the preview image and the blur of the background behind it.
[0161] Finally, the focus frame is double-tapped to lock the focus state (size of the focus area and focal length) at this time, and the focus parameters are saved as those of start target A.
[0162] After checking the focus state of the starting object, lock the focus state of the next object. Drag the focus frame to object B, record the time t1 during the drag process, and lock the focus state of object B. Here, the focus state collection of the entire process can be completed by the following several methods:
[0163] Array method According to the above method, different objects C, D, E, etc. are selected in turn, and the drag time t and the corresponding focus information f of each step are recorded.
[0164] Combination method You can also drag the focus frame to cover A and B, combining them as a symmetrical combination, A+B.
[0165] Finally, we obtain a series of focus lock states and drag times.
[0166] Tap the capture button to start capturing images. First, the total time of the dynamic photo is determined as T from the drag time value [t1, t2, t3...tn], where T is usually 2-5 seconds and can be set by the user. Based on the proportion of the drag time t1 to the total time T, multiply it by T to obtain the capture time Tab during which the focus changes from t1 to t2.
[0167] Next, according to the corresponding focus lock state, an image is captured from object A using the focus parameters fa (size of focus area and focal length value) of object A, and for object B in the next locked state, the parameter values fa and fb are compared, and the focus parameters are linearly corrected according to the imaging time Tab so that they change linearly from fa to fb, and imaging is performed at a rate of 30 frames per second, and in this process, the focus change process from object A to object B is obtained.
[0168] Finally, after capturing all focus lock states in sequence, a dynamic photo is synthesized in which the blur effect changes and the focus is adjusted between each object in sequence. When you press the dynamic photo, you can see the effect of the focus and object movement that was previously set.
[0169] After taking a picture, long press the thumbnail of the picture to save the current focus lock state and obtain the focus template for the current picture. The next time you long press the screen to enter the continuous focus process, you can select the previous continuous focus template, and you can share the focus template and the example picture to social networks or other mobile phone terminals, so that other terminals can apply the template when taking pictures and directly take the desired dynamic pictures.
[0170] In the embodiments of the present application, autofocus and manual focus are combined to realize photo shooting with dynamic focus change, and a shooting template corresponding to the shooting effect is generated for subsequent use, providing a more convenient and interesting shooting method for users in focus selection when shooting multi-object scenes.
[0171] In some embodiments of the present application, it should be noted that the imaging processing method provided in the embodiments of the present application may be executed by an imaging processing device, or may be executed by a control module in the imaging processing device for executing and loading the imaging processing method. In the embodiments of the present application, the imaging processing method provided in the embodiments of the present application will be described by taking the imaging processing device as an example for executing and loading the imaging processing method.
[0172] FIG. 18 shows a configuration block diagram of an imaging processing device according to an embodiment of the present application. Specifically, an imaging processing device 1800 includes a focus module 1802 , a receiving module 1804 , an adjustment module 1806 , and an imaging module 1808 .
[0173] A focus module 1802 is used to perform autofocus on a first preview image displayed on the imaging preview screen, obtain first focus information, and update the first preview image to a second preview image based on the first focus information.
[0174] The receiving module 1804 is used to receive a first input.
[0175] The adjustment module 1806 is used to adjust the first focus information in response to the first input, obtain second focus information, and update the second preview image to a third preview image according to the second focus information.
[0176] The imaging module 1808 is used to capture a third preview image based on the second focus information.
[0177] In an embodiment of the present application, after entering the imaging mode, first, autofocus is performed on the first preview image displayed on the imaging preview screen, first focus information is obtained by the autofocus, and the preview image based on the first focus information is displayed.
[0178] Here, the first focus information includes a focus, a focus area, a focal length range parameter, and a focal length parameter, etc., and in some embodiments, the focus information may further include an ISO (sensitivity defined by the International Standardization Organization) value, a white balance parameter, a contrast parameter, a color space, etc.
[0179] After first focus information is obtained by autofocus, when the user inputs a focus adjustment operation, the first focus information obtained by autofocus is adjusted by the focus adjustment operation until the focus effect meets the user's needs, and second focus information after the adjustment is obtained. Then, a preview image based on the second focus information is displayed so that the user can judge in real time whether the focus effect that meets the user's needs has been obtained.
[0180] If the user confirms that the current focus effect meets the requirement, the first imaging operation can control the mobile terminal to capture an image according to the current focus information, so as to obtain a photo that meets the user's requirement.
[0181] In the embodiment of the present application, the demand for high-speed focusing in imaging by a mobile terminal can be met by first performing autofocusing, which can quickly obtain focal length information of an object to be imaged, and the user can perform fine adjustment based on the autofocusing by performing a focus adjustment operation, thereby accurately obtaining the focus result desired by the user. The focus speed is guaranteed, while the focus result according to the user's needs can be obtained.
[0182] In some embodiments of the present application, as shown in FIG. 18, the first input includes a first manual focus operation.
[0183] The adjustment module 1806 is further used for obtaining a first focus adjustment amount through a first manual focus operation, and adjusting the first focus information based on the first focus adjustment amount to obtain second focus information. In an embodiment of the present application, when adjusting the first focus information obtained by autofocus, a user can manually adjust the first focus information by inputting a first manual focus operation.
[0184] Specifically, FIG. 3 shows a schematic diagram (part 1) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 3, after the autofocus is successful for the imaging function of the mobile phone 300, a focal length adjustment bar 304 and a slider 306 for indicating the current focal length position are displayed on a preview screen 302.
[0185] Here, after the autofocus is successful, the initial position of the slider 306 may be the middle position of the focal length adjustment bar 304 .
[0186] If the user feels that the current autofocus result does not meet his / her requirements, he / she can input a first manual focus operation by touching and “dragging” the slider 306, in which the direction in which the slider 306 is dragged corresponds to an increase or decrease in focal length, i.e., the positive or negative first focus adjustment amount, and the distance by which the slider 306 is dragged corresponds to the magnitude of the first focus adjustment amount, and finally, the first focus information obtained by the autofocus is adjusted according to the determined first focus adjustment amount, thereby obtaining second focus information that can meet the user's needs, and finally taking a photo that satisfies the user.
[0187] This process involves manual adjustment by the user based on the approximately correct focus information obtained by autofocus, so that the focus speed can be guaranteed and the focus accuracy can be improved.
[0188] In some embodiments of the present application, as shown in FIG. 18, the first input further includes an autofocus operation. The adjustment module 1806 further includes: Obtaining adjustment history data by autofocus operation; Obtaining a second focus adjustment amount corresponding to the first focus information from the adjustment history data; The first focus information is adjusted based on the second focus adjustment amount to obtain the second focus information.
[0189] In the embodiment of the present application, when adjusting the first focus information obtained by autofocus, the user can input an autofocus operation to automatically adjust the first focus information again.
[0190] Specifically, FIG. 5 shows a schematic diagram (part 2) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 5, after the autofocus is successful for the imaging function of the mobile phone, a focal length adjustment bar 504, a slider 506 for indicating the initial focal length position, and an automatic adjustment identifier 508 are displayed on a preview screen 502.
[0191] After the first autofocus is completed, if the user is not satisfied with the current first focus information, the user inputs an autofocus operation by touching the auto adjustment identifier, in which the mobile imaging terminal obtains adjustment history data, which includes the final focus adjustment data of all the imaging operation processes that have been successful so far.
[0192] The mobile imaging terminal searches the adjustment history data for a history record that matches the first focus information of the current autofocus result, determines a corresponding second focus adjustment amount therefrom, and automatically adjusts the first focus information based on the second focus adjustment amount, thereby obtaining the adjusted second focus information for the user to preview.
[0193] For example, if a user has taken images multiple times at focal lengths f1 and f2, the average focus adjustment amounts by which the user manually adjusted the focus when the focal length is f1 and when the focal length is f2 are calculated and denoted as a1 and a2, respectively. Next, by curve fitting, when the focal length is between f1 and f2, the relationship between f and the corresponding adjustment amount a is calculated, and the autofocus result is adjusted by the adjustment amount a.
[0194] As shown in FIG. 5, after automatic adjustment, a slider 506 indicating the initial focal length position and a slider 510 indicating the current focal length position are simultaneously displayed on a focal length adjustment bar 504 .
[0195] It can be appreciated that if the user is still not satisfied with the adjusted preview image, the autofocus operation can be repeatedly input and adjustments based on the current focus information can continue on the mobile terminal until a focus result that the user is satisfied with is obtained.
[0196] Here, the adjustment history data may be data of the own device or may be big data acquired from a server, and the embodiment of the present application does not limit the source of the adjustment history data.
[0197] In some embodiments of the present application, as shown in FIG. 18, the imaging processing device 1800 further includes a display module 1810, a receiving module 1804, and a display module 1810.
[0198] The display module 1810 is used to display the selection identifier when the number of times the focus adjustment operation is performed is greater than a preset number threshold.
[0199] The receiving module 1804 is further used for receiving a second input for the selection identifier.
[0200] The display module 1810 is further used to display a fourth preview image according to the focus history information in response to the second input, the focus history information being associated with the selection identifier.
[0201] In the embodiment of the present application, after each focus, if the device determines that the current focus is successful, the current focus data is recorded and saved as focus history data. In addition, if the terminal determines that the user currently adjusts the focus adjustment parameters many times, specifically, the number of times the focus adjustment operation is performed is greater than a preset number threshold, the terminal believes that the user has not achieved accurate focus after adjusting the focus information. In this case, a selection identifier may be displayed to help the user quickly identify the accurate focus focal length range, and the user can return the focus to the focus history information by selecting the selection identifier, and display the fourth preview image according to the focus history information.
[0202] Here, in one embodiment, the focus history information may include a plurality of pieces of focus information, and the selection identifier may include two page forward buttons corresponding to the "previous" focus history information and the "next" focus history information, respectively. When the user presses the "previous" page forward button, an earlier focus history information is selected, and when the user presses the "next" page forward button, a later focus history information is selected.
[0203] In another embodiment, the focus history information may be focus history information obtained by autofocus, i.e., the first focus information, and the selection identifier may be a “return” identifier, which, when triggered by a user, returns directly to the focus history information obtained by autofocus, i.e., the first focus information.
[0204] Specifically, FIG. 7 shows a schematic diagram (part 3) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 7, after the autofocus is successful for the imaging function of the mobile phone, a focal length adjustment bar 704, a slider 706 for indicating the initial focal length position, and a slider 708 for indicating the current focal length position are displayed on a preview screen 702.
[0205] If the system determines that the user has adjusted the focus information multiple times, a selection identifier 710 is displayed on one side of the focal length adjustment bar 704. When the user taps the selection identifier 710, the current focus information is returned to the previous successful focus history information.
[0206] By storing focus success history information and allowing the user to replace current focus information with the focus success history information by touching a selection identifier, on the one hand, it is possible to prevent the loss of accurate focus due to user erroneous operation, and on the other hand, it is also possible to improve focus efficiency.
[0207] In some embodiments of the present application, as shown in FIG. 18, the receiving module 1804 is further used to receive a third input.
[0208] The focus module 1802 is further used for, in response to a third input, selecting a focus area in a first preview image of the current preview image, selecting a first focus target in the focus area, performing autofocus on the first focus target, and obtaining first focus information of the first focus target.
[0209] In an embodiment of the present application, before capturing an image, a user can manually or automatically select a focus area in a current preview image by a third input, and the imaging device can determine a central target as a focus target, i.e., the above-mentioned first focus target, based on the focus area, and perform an autofocus operation with the first focus target as the focus.
[0210] Specifically, when a user opens an imaging program and enters an imaging screen, a preview image is displayed in real time on the display of the mobile imaging device. The user can input a first focus operation by tapping an area on the preview image or selecting an area on the preview image in a "frame selection" manner. In this case, the mobile imaging device automatically determines one first focus target in the focus area as a focus center target and performs autofocus on it.
[0211] Here, when recognizing the first focus target in the focus identification area, the target closest to the lens in the focus area may be the first focus target, or the target occupying the largest area in the focus area may be the first focus target, or further, the target with the greatest brightness in the focus area may be the first focus target, and the embodiments of the present application do not limit the method of recognizing the first focus target.
[0212] In some embodiments of the present application, as shown in FIG. 18, the display module 1810 is further used to display a focus frame in the focus region.
[0213] The adjustment module 1806 further comprises: receiving a second manual focus input for the focus frame; adjusting a display parameter of the focus frame in response to the second manual focus input, the display parameter including at least one of a size and a position; The method is used to obtain third focus information of a second focus target by autofocus, the second focus target being the target selected in the focus frame after the display parameters of the focus area are adjusted.
[0214] In an embodiment of the present application, when a user taps or frame-selects a preview image to select a focus area in the current preview image, a focus frame is displayed in the focus area, where the focus frame can be a rectangular focus frame, a circular focus frame, or an irregular geometric image focus frame, and the embodiment of the present application does not limit the appearance of the focus frame.
[0215] After the focus frame is displayed, a second manual focus operation can be received via the focus frame to adjust the size or position of the focus area, determine a "larger" or "smaller" focus area in the current preview image, or select another position in the current preview image as the focus area.
[0216] After the focus area is changed, the mobile imaging device re-determines a second focus target in the changed focus area, where the second focus target may be the same target as the first focus target, may be another target different from the first focus target, or may even be another part of the first focus target.
[0217] Specifically, Fig. 10 shows a schematic diagram (part 4) of an imaging screen according to an embodiment of the present application, in which, as shown in Fig. 10, when a user opens an imaging program and enters the imaging screen, a preview image is displayed in real time on the mobile phone. The user can input a first focus operation by tapping any area in the preview image 1002, and in this case, a focus frame 1006 is displayed in the focus area 1004 tapped by the user.
[0218] In this case, the user can input a second manual focus operation by dragging the frame portion of the focus frame 1006 and determine a new focus area 100 in the preview image 1002 .
[0219] The user can further adjust the size of the focus area 1004 by dragging the corners of the focus frame 1006 to input a second manual focus operation, or by inputting a second manual focus operation using a gesture operation such as a pinch out.
[0220] Optionally, after the user inputs the second manual focus operation, a selection identifier button may be displayed in the preview image 1002, and when the user taps the selection identifier button, the focus frame returns to its initial state before the user's adjustment.
[0221] For example, if the current focus target A is surrounded by other objects and the focus target A is farther away from the lens than the other objects, when focusing on target A, the focal point may move to other objects B and C. In such a case, the focus adjustment operation can be turned on by tapping the focus slider and quickly sliding it up.
[0222] In this case, the display color of the focus frame can be changed, for example, from blue to green.
[0223] Therefore, the user can pinch in on the preview image to reduce the focus area and achieve precise focus on target A. Also, the user can pinch out to expand the focus area to cover a larger focus range. This allows the user to freely select the focus area and focus target, improving the convenience of the imaging operation and contributing to improved focus accuracy.
[0224] In some embodiments of the present application, as shown in FIG. The receiving module 1804 is further used for receiving a first continuous imaging input.
[0225] The imaging module 1808 further includes: obtaining, in response to a first continuous imaging input, first focus formation information for a first focus target and second focus formation information for a third focus target, the third focus target being selected by the first continuous imaging input; Obtaining a first set of focus information based on the first focus formation information and the second focus formation information; and controlling the camera to take successive images in accordance with the focus information in the first set of focus information in turn, and outputting a set of photographs.
[0226] Here, the third focus target is selected by the first continuous imaging input.
[0227] In the embodiment of the present application, the mobile imaging device can perform continuous imaging of multiple targets in a continuous focus manner. Specifically, the mobile imaging device enters a continuous imaging mode according to a first continuous imaging input input by a user. In the continuous imaging mode, the mobile imaging device first determines first focus formation information corresponding to a first focus target.
[0228] Here, the first focus target can be determined by performing autofocus on the first focus target in a certain focus area using the imaging processing method provided in any one of the above embodiments, and then accurate focal length information of the first focus target is obtained through manual focal length adjustment or re-autofocus steps, and after the user taps to confirm or capture the image, it becomes the first focus formation information.
[0229] Also, the mobile imaging device re-determines a third focus target in the user-selected focus area according to the first continuous imaging input, where the third focus target may be another target completely different from the first focus target, or may be another part or area of the first focus target.
[0230] After the third focus object is determined, the accurate focal length information of the third focus object can be obtained through the same focus determination method, and after the user taps to confirm or capture the image, it becomes the second focus formation information.
[0231] Furthermore, a first focus information set is formed starting from the first focus formation information and ending with the second focus formation information, and continuous imaging is performed in sequence in accordance with the gradual change order from the first focus formation information to the second focus formation information.
[0232] 12 shows a schematic diagram (part 5) of an imaging screen according to an embodiment of the present application, in which, as shown in FIG. 12, after a first continuous imaging input is received, first, an object a in a focus area A is imaged in a preview image 1202, and in this case, an original focus frame 1204 is located in the focus area A. Next, the focus frame is dragged to the focus area B by using a focus frame dragging method, and then an object b in the focus area B is imaged, and in this case, a current focus frame 1206 is located in the focus area B.
[0233] When focusing on object a, the exact focal length of object a is determined and recorded as f3, and when focusing on object b, the exact focal length of object b is determined and recorded as f4. In this case, f3 and f4 are marked on the focal length adjustment bar 1208, and at the same time, a region 1210 between f3 and f4 is marked, and the region 1210 includes n pieces of focus information f3 to 4.
[0234] For example, the user first performs autofocus and focal length adjustment on object a, and after the focus is completed, taps and drags the focus frame to object b, and then releases it to complete the setting of the focus interval for focus bracketing continuous imaging. During the process of dragging the focus frame, the focus interval is synchronously displayed on the focal length adjustment bar 1208.
[0235] When the user inputs a second imaging operation, images are captured from the object a with focus information f3, f3-4×n, and f4, respectively, to obtain a series of continuously captured photographs.
[0236] By taking continuous images of different focus targets in a continuous focus manner, a large number of focused photos can be obtained in a short time for a user to subsequently select, and rapid, synchronized panning of multiple targets corresponding to different focal length range information is realized, thereby improving the photo yield.
[0237] In some embodiments of the present application, as shown in FIG. 18, the receiving module 1804 is further used to receive a second continuous imaging input.
[0238] The adjustment module 1806 is further used to adjust the position of the focus frame in response to the second continuous imaging input, select at least two fourth focus targets in sequence, and obtain third focus formation information for each fourth focus target.
[0239] The imaging module 1808 is further used to control the camera to capture images continuously based on the third focus formation information.
[0240] In an embodiment of the present application, a method of adjusting the focus area by using a second continuous imaging input is used to collectively select multiple fourth focus targets, and each of the multiple fourth focus targets is set as a focus target according to the order in which the focus frame moves, and continuous imaging is performed, ultimately obtaining a set of photographs in which the focal length changes continuously, or a dynamic image in which the focus moves.
[0241] Specifically, FIG. 15A shows a schematic diagram (part 6) of an imaging screen according to an embodiment of the present application, FIG. 15B shows a schematic diagram (part 7) of an imaging screen according to an embodiment of the present application, and FIG. 15C shows a schematic diagram (part 8) of an imaging screen according to an embodiment of the present application.
[0242] As shown in FIG. 15A, the user first selects a first fourth focus target in the current preview image using autofocus and manual adjustment, then adjusts the focus area by dragging the position of the focus frame to select a second fourth focus target in the current image, and completes the focusing, as shown in FIG. 15B.
[0243] Next, the user continues to drag the focus frame to select the third fourth focus target to complete the focus, and so on until all fourth focus targets are selected. For example, if the user has finally selected three fourth focus targets, the screen will be as shown in FIG. 15C.
[0244] Here, in preview image 1500, a first fourth focus object corresponds to viewfinder 1502, a second fourth focus object corresponds to viewfinder 1504, and a third fourth focus object corresponds to viewfinder 1506.
[0245] After all the fourth focus targets and the third focus formation information corresponding to each of the fourth focus targets have been determined, the multiple fourth focus targets are imaged in sequence according to the order in which the user drags the focus frame, thereby completing continuous imaging.
[0246] In some embodiments of the present application, as shown in FIG. 18 , the imaging module 1808 further includes: obtaining an imaging time and an imaging order of each of the fourth focus targets by the second continuous imaging input; Obtaining an imaging count corresponding to each fourth focus target according to an imaging time and a preset imaging frame rate; The third focus formation information is used to control the camera to capture images in accordance with the capture order and the number of captures, and to output a dynamic photograph.
[0247] In an embodiment of the present application, the imaging time when each fourth focus target is selected is recorded, which may be the time elapsed when the viewfinder is dragged, and the order in which multiple fourth focus targets are selected is recorded.
[0248] The order of sequential imaging is determined according to the order in which the multiple fourth focus targets are selected, and the number of images to be captured between each of the fourth focus targets is determined according to the imaging time and a preset imaging frame rate.
[0249] As an example, the image includes a fourth focus target A, a fourth focus target B, and a fourth focus target C, and images are captured in the order A, B, C, and two seconds pass while the user moves the viewfinder from A to B, and one second passes while the user moves it from B to C.
[0250] Assuming that the imaging frame rate preset in the system is 25 frames per second, when imaging from the fourth focus target A to target B, the system captures a total of 50 photographs, and the focus information of these 50 photographs is a curve value gradually changed from the third focus formation information A corresponding to the fourth focus target A to the third focus formation information corresponding to the fourth focus target B by curve fitting.
[0251] Similarly, a total of 25 photographs were taken in the continuous imaging from the fourth focus object B to the fourth focus object C, and finally, a dynamic photograph with a total number of frames of 75 was obtained by integration.
[0252] By focusing and capturing images for a plurality of focus targets in a certain order, a dynamic photograph in which the focus changes over time is finally obtained, and interesting imaging is realized by "dynamic zoom," thereby making imaging more interesting.
[0253] In some embodiments of the present application, as shown in FIG. 18, the imaging processing device 1800 further includes a generating module 1812, a receiving module 1804, and an imaging module 1808.
[0254] The generation module 1812 is used to generate a focus template based on the third focus formation information and store the focus template in a preset storage space, where the preset storage space includes at least one focus template.
[0255] The receiving module 1804 is further used for receiving a selection input for a target focus template among the at least one focus template.
[0256] The imaging module 1808 is further used to control a camera to capture images according to a target focus template in response to the selection input.
[0257] In the embodiment of the present application, after the continuous shooting is completed, the focus information of the current continuous shooting is stored and formed as a corresponding focus template, and in the subsequent shooting process, the user can directly call up the saved focus template to perform rapid continuous shooting.
[0258] Here, the focus template includes a focus position, a focus range and focus information, and the focus information includes a focal length range parameter and a focal length parameter, etc. When the focus template is called up by a user, the imaging device performs automatic imaging according to exactly the same operation steps as when the focus template is stored.
[0259] In the embodiments of the present application, autofocus and manual focus are combined to realize photo shooting with dynamic focus change, and a shooting template corresponding to the shooting effect is generated for subsequent use, providing a more convenient and interesting shooting method for users in focus selection when shooting multi-object scenes.
[0260] The imaging processing device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in a terminal. The device may be a portable electronic device or a non-portable electronic device. For example, the portable electronic device may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the non-portable electronic device may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an automated teller machine, or a kiosk, and the embodiments of the present application are not specifically limited.
[0261] The imaging processing device in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an ios operating system, or other possible operating systems, and is not specifically limited in the embodiment of the present application.
[0262] The imaging processing device provided in the embodiments of the present application can realize each process realized by the imaging processing device in the method embodiments of Figures 1 to 17, and detailed descriptions will be omitted here to avoid repeated description.
[0263] The embodiments of the present application further provide an electronic device, which is configured to perform each process of the embodiments of the above-mentioned image processing method, and can achieve the same technical effects. In order to avoid repetition, detailed description is omitted here.
[0264] Optionally, the embodiment of the present application further provides an electronic device 1900. The electronic device includes a processor 1910, a memory 1909, and a program or command stored in the memory 1909 and executable on the processor 1910, and when the program or command is executed by the processor 1910, each process of the embodiment of the above-mentioned image processing method is realized, and the same technical effect can be achieved. In order to avoid repetition, detailed description is omitted here.
[0265] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned portable electronic devices and non-portable electronic devices.
[0266] FIG. 19 is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application.
[0267] The electronic device 1900 includes components such as, but not limited to, a radio frequency unit 1901, a network module 1902, an audio output unit 1903, an input unit 1904, a sensor 1905, a display unit 1906, a user input unit 1907, an interface unit 1908, a memory 1909, and a processor 1910.
[0268] It can be understood by those skilled in the art that the electronic device 1900 may further include a power source 1911 (e.g., a battery) that supplies electricity to each component, and the power source 1911 is logically connected to the processor 1910 by a power management system, so that the power management system can realize functions such as charge / discharge management and power consumption management. The structure of the electronic device shown in FIG. 19 does not limit the electronic device, and the electronic device may include more or fewer components than those shown, or a combination of some components, or a different component arrangement, and detailed description thereof will be omitted here.
[0269] Here, processor 1910 is used to perform autofocus on a first preview image displayed on the imaging preview screen, obtain first focus information, and update the first preview image to a second preview image based on the first focus information, receive a first input, adjust the first focus information in response to the first input, obtain second focus information, and update the second preview image to a third preview image based on the second focus information, and capture the third preview image based on the second focus information.
[0270] Specifically, the processor 1910 further performing autofocus on a first preview image displayed on the imaging preview screen to obtain first focus information; receiving a first input and adjusting first focus information to obtain corresponding second focus information; displaying a preview image based on the first focus information and displaying a preview image based on the second focus information; and controlling the camera to capture an image based on the second focus information.
[0271] The processor 1910 is further used to obtain a first focus adjustment amount through a first manual focus operation, adjust first focus information based on the first focus adjustment amount, and obtain second focus information.
[0272] When adjusting the first focus information obtained by autofocus, the user can manually adjust the first focus information by inputting a first manual focus operation.
[0273] Adjustment history data is obtained by performing an autofocus operation. A second focus adjustment amount corresponding to the first focus information is obtained from the adjustment history data. The first focus information is adjusted based on the second focus adjustment amount to obtain the second focus information.
[0274] When the number of times the focus adjustment operation is performed is greater than a preset number threshold, the selection identifier is displayed. A second operation for the selection identifier is received, and a preview image according to the focus history information is displayed. Here, the focus history information is associated with the selection identifier.
[0275] A third input is received, and in the current preview image, a focus area is selected from the first preview image, and a first focus target is selected in the focus area. Autofocus is performed on the first focus target, and first focus information corresponding to the first focus target is obtained.
[0276] A focus frame is displayed in the focus area.
[0277] A second manual focus operation for the focus frame is received, and the size and / or position of the focus area is adjusted.
[0278] Third focus information corresponding to the second focus target is obtained by autofocus.
[0279] Here, the second focus target is the target selected in the focus frame after the size and / or position of the focus area is adjusted.
[0280] A first continuous imaging input is received, and in response to the first continuous imaging input, a first focus formation information of the first focus target and a second focus formation information of a third focus target are obtained, the third focus target being selected by the first continuous imaging input. A third focus target and the second focus formation information of the third focus target are obtained by the first continuous imaging input. A first focus information set is obtained based on the first focus formation information and the second focus formation information.
[0281] The camera is controlled in turn to take continuous images according to the focus information in the first set of focus information, and a set of photographs is output.
[0282] Here, the third focus target is selected by the first continuous imaging input.
[0283] A second continuous imaging input is received, a position of the focus frame is adjusted, at least two fourth focus targets are selected in sequence in the current preview image, and third focus formation information of each fourth focus target is obtained.
[0284] Based on the third focus formation information, the camera is controlled to capture images continuously.
[0285] The second continuous imaging input obtains the imaging time of each fourth focus target and the imaging sequence of each fourth focus target. The number of images of each fourth focus target is obtained according to the imaging time and a preset imaging frame rate. The camera is controlled to capture images according to the imaging sequence and the number of images based on the third focus formation information, and a dynamic photograph is output.
[0286] Based on the third focus formation information, a focus template is generated, the focus template is stored in a database, a selection input for any one of the focus templates in the database is received, and a camera is controlled to capture an image according to the selected focus template.
[0287] It should be understood that in the embodiment of the present application, the high frequency unit 1901 can be used for receiving and transmitting information or receiving and transmitting signals in a call process, specifically, for receiving downlink data from a base station or transmitting uplink data to a base station. The high frequency unit 1901 includes, but is not limited to, an antenna, at least one amplifier, a receiver-transmitter, a coupler, a low-noise amplifier, a duplexer, etc.
[0288] The network module 1902 provides users with wireless broadband Internet access to facilitate, for example, sending and receiving e-mail, browsing web pages, and accessing streaming media.
[0289] The audio output unit 1903 can convert audio data received by the radio frequency unit 1901 or the network module 1902 or stored in the memory 1909 into an audio signal and output it as a voice. In addition, the audio output unit 1903 can also provide audio output (e.g., a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the electronic device 1900. The audio output unit 1903 includes a speaker, a buzzer, a handset, etc.
[0290] The input unit 1904 is used to receive audio or video signals. The input unit 1904 may include a graphics processing unit (GPU) 5082 for processing image data of static or video captured by an image capture device (e.g., a camera) in a video capture mode or an image capture mode, and a microphone 5084. The processed image frames can be displayed on a display unit 1906, or stored in a memory 1909 (or other storage medium), or transmitted by the radio frequency unit 1901 or the network module 1902. The microphone 5084 can receive voice and process the voice as audio data, which can be converted into a format that can be transmitted by the radio frequency unit 1901 to a mobile communication base station and output in a telephone call mode.
[0291] The electronic device 1900 may further include at least one sensor 1905, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, and other sensors.
[0292] The display unit 1906 is used to display information input by a user or information provided to a user. The display unit 1906 may include a display panel 5122, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
[0293] The user input unit 1907 can be used to receive input numeric or character information and generate key signal inputs for user settings and function control in the electronic device. Specifically, the user input unit 1907 includes a touch panel 5142 and other input devices 5144. The touch panel 5142 is also called a touch screen and can detect a user's touch operation on or near it. The touch panel 5142 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch direction, detects a signal due to the touch operation, and transmits it to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, transmits it to the processor 1910, and receives and executes commands transmitted from the processor 1910. The other input devices 5144 may include, but are not limited to, a physical keyboard, a function button (e.g., a volume control button, a switch button, etc.), a trackball, a mouse, and a control lever, and detailed description thereof will be omitted here.
[0294] Furthermore, the touch panel 5142 may cover the display panel 5122, and when the touch panel 5142 detects a touch operation on or near it, it transmits it to the processor 1910 to identify the type of touch event, and then the processor 1910 provides a corresponding visual output on the display panel 5122 according to the type of touch event. The touch panel 5142 and the display panel 5122 may be two independent components, or may be integrated into one component.
[0295] The interface unit 1908 is an interface that connects an external device to the electronic device 1900. For example, the external device may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with a recognition module, an audio input / output (I / O) port, a video I / O port, an earphone port, etc. The interface unit 1908 can be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more components within the electronic device 1900 or transmit data between the electronic device 1900 and the external device.
[0296] The memory 1909 can be used to store software programs and various data. The memory 1909 may mainly include a program storage area capable of storing an operating system, an application required for at least one function (e.g., an audio playback function, an image playback function, etc.), and a data storage area capable of storing data created in accordance with the use of the mobile terminal (e.g., audio data, a phone book, etc.). The memory 1909 may also include a high-speed random access memory, and may further include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage device.
[0297] The processor 1910 operates or executes software programs and / or modules stored in the memory 1909 and accesses data stored in the memory 1909 to perform various functions and data processing of the electronic device 1900, thereby monitoring the overall electronic device 1900. The processor 1910 may include one or more processing units, and preferably, the processor 1910 may integrate an application processor that mainly processes an operating system, a user interface, applications, etc., and a modem processor that mainly processes wireless communication.
[0298] The electronic device 1900 may further include a power supply 1911 that supplies electricity to each component, and preferably, the power supply 1911 is logically connected to the processor 1910 by a power management system so that the power management system can realize functions such as charging and discharging management and power consumption management.
[0299] The embodiment of the present application can turn on or off backscatter transmission in the time domain, use the time segment in which the backscatter transmission is turned off to perform channel estimation on the interference signal, and use the channel estimation result to perform interference cancellation in the next backscatter transmission period. The channel information of the interference signal can be obtained. The cancellation of the interference signal during backscatter transmission can improve the reliability of transmission, further improve the transmission throughput, and significantly improve the communication quality.
[0300] The embodiment of the present application further provides a readable storage medium. The readable storage medium stores a program or command, and when the program or command is executed by a processor, each process of the embodiment of the above-mentioned image processing method is realized, and the same technical effect can be achieved. In order to avoid repetition, detailed description is omitted here.
[0301] Here, the processor is the processor in the electronic device of 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, an optical disk, or other non-transitory computer readable storage medium.
[0302] The embodiments of the present application further provide a computer program product, which can be executed by a processor to realize each process of the embodiments of the above-mentioned image processing method, and can achieve the same technical effect. In order to avoid repetition, detailed description is omitted here.
[0303] The embodiment of the present application further provides a chip. The chip includes a processor and a communication interface, and the communication interface and the processor are combined, and the processor is used to execute programs or commands to realize each process of the embodiment of the above-mentioned image processing method, and can achieve the same technical effect. In order to avoid repetition, detailed description is omitted here.
[0304] It should be understood that the chips referred to in the embodiments of this application may be referred to as system chips, chip systems, systems on chips, or the like.
[0305] It should be noted that in this specification, the terms "comprise", "consist of" or any other variations are intended to include a non-exclusive inclusion, whereby a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly stated or inherent to such process, method, article, or apparatus. Unless otherwise specified, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element. It should also be noted that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions substantially simultaneously or in the reverse order depending on such functions, for example, the described method may be performed in a different order than described, and various steps may be added, omitted, or combined. Also, features described with reference to any example may be combined in other examples.
[0306] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized in the form of a combination of software and a necessary common hardware platform, and of course, they can also be realized by hardware, but in many cases the former is a more preferred embodiment. Based on this view, the technical solutions of the present application can be substantially or in part contributed to the prior art can be implemented in the form of a software product, which is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes a number of commands that cause a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods provided in each embodiment of the present application.
[0307] Although the examples of the present application have been described above with reference to the drawings, the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative and not limiting. Based on the suggestions of the present application, many forms that a person skilled in the art can make without departing from the spirit of the present application and the scope of protection of the claims are all within the scope of protection of the present application.
Claims
1. performing autofocus on a first preview image displayed on an imaging preview screen, obtaining first focus information, and updating the first preview image to a second preview image based on the first focus information; receiving a first input; adjusting the first focus information in response to the first input to obtain second focus information, and updating the second preview image to a third preview image based on the second focus information; capturing the third preview image based on the second focus information; displaying a selection identifier when the number of times the focus adjustment operation has been performed is greater than a preset number threshold; receiving a second input for the selection identifier; The imaging processing method further includes, in response to the second input, displaying a fourth preview image according to focus history information, the focus history information being associated with the selection identifier.
2. the first input includes a first manual focus operation; The adjustment of the first focus information includes: obtaining a first focus adjustment amount by the first manual focus operation; The imaging processing method according to claim 1 , further comprising: adjusting the first focus information based on the first focus adjustment amount to obtain the second focus information.
3. the first input further comprises an autofocus operation; The adjustment of the first focus information includes: acquiring adjustment history data by the autofocus operation; obtaining a second focus adjustment amount corresponding to the first focus information from the adjustment history data; The imaging processing method according to claim 1 , further comprising: adjusting the first focus information based on the second focus adjustment amount to obtain second focus information.
4. Before performing autofocus on the first preview image displayed on the imaging preview screen, receiving a third input; selecting a focus area in the first preview image in response to the third input and selecting a first focus target in the focus area; The step of performing autofocus on a first preview image displayed on an imaging preview screen includes: The imaging processing method according to claim 1 , further comprising the step of performing the autofocus on the first focus target and obtaining the first focus information of the first focus target.
5. After receiving the third input, displaying a focus frame in the focus area; receiving a second manual focus input for the focus frame; adjusting display parameters of the focus frame in response to the second manual focus input, the display parameters including at least one of a size and a position; The imaging processing method of claim 4, further comprising a step of obtaining third focus information of a second focus target by the autofocus, the second focus target being the target selected in the focus frame after a display parameter of the focus frame is adjusted.
6. After selecting the first focus object, receiving a first continuous imaging input; obtaining, in response to the first continuous imaging input, first focus formation information for the first focus target and second focus formation information for a third focus target, the third focus target being selected by the first continuous imaging input; obtaining a first set of focus information based on the first focusing information and the second focusing information; The method of claim 5 , further comprising the step of: controlling a camera to take successive images in accordance with the focus information in the first set of focus information in sequence, and outputting a set of photos.
7. receiving a second continuous imaging input; adjusting a position of the focus frame in response to the second continuous imaging input, selecting at least two fourth focus targets in sequence, and obtaining third focus formation information for each of the fourth focus targets; The imaging processing method according to claim 6 , further comprising the step of controlling a camera to take the continuous images based on the third focus formation information.
8. The step of controlling a camera to capture the continuous images based on the third focus formation information includes: obtaining an imaging time and an imaging order of each of the fourth focus targets by the second continuous imaging input; obtaining an imaging count corresponding to each of the fourth focus targets based on the imaging time and a preset imaging frame rate; The imaging processing method according to claim 7 , further comprising: controlling the camera to capture images in accordance with the imaging order and the number of times of imaging based on the third focus formation information, and outputting a dynamic photograph.
9. generating a focus template based on the third focus formation information and storing the focus template in a preset storage space, the preset storage space including at least one focus template; receiving a selection input for a target focus template of the at least one focus template; The method of claim 8 , further comprising the step of: controlling a camera in response to the selection input to capture the image according to the target focus template.
10. a focus module for performing autofocus on a first preview image displayed on an imaging preview screen, obtaining first focus information, and updating the first preview image to a second preview image based on the first focus information; a receiving module for receiving a first input; an adjustment module for adjusting the first focus information in response to the first input to obtain second focus information and updating the second preview image to a third preview image according to the second focus information; an imaging module for capturing the third preview image based on the second focus information, a display module for displaying a selection identifier when the number of times the focus adjustment operation is performed is greater than a preset number threshold; the receiving module is further adapted to receive a second input for the selection identifier; The image capture processing device, wherein the display module is further adapted to display a fourth preview image according to focus history information in response to the second input, the focus history information being associated with the selection identifier.
11. the first input includes a first manual focus operation; The adjustment module further comprises: obtaining a first focus adjustment amount by the first manual focus operation; The imaging processing device according to claim 10 , further comprising: adjusting the first focus information based on the first focus adjustment amount to obtain the second focus information.
12. the first input further comprises an autofocus operation; The adjustment module further comprises: acquiring adjustment history data by the autofocus operation; acquiring a second focus adjustment amount corresponding to the first focus information from the adjustment history data; The imaging processing device according to claim 10 , further comprising: adjusting the first focus information based on the second focus adjustment amount to obtain second focus information.
13. 10. An electronic device configured to carry out the steps of the image processing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Image-acquiring device and automatic focusing compensation method thereof
CN105450921A
Information processing method and electronic equipment
CN107087102A
Method and device for automatically adjusting focal distance
CN107483825A
Image pickup apparatus and imaging method
JP2012145813A
Imaging device, tactile information output program, and tactile information output method
JP2015065616A
