Image display method and electronic equipment

An electronic device and image display technology, applied in the field of communication, can solve the problems of cumbersome and time-consuming operation process

Inactive Publication Date: 2020-05-08
VIVO MOBILE COMM CO LTD
5 Cites 2 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide an image display method and electronic equipment to solve th...
View more

Method used

[0032] Embodiments of the present invention provide a method for displaying an image. The electronic device may receive a user's first input, and the first input is used to trigger the electronic device to take a first image; in response to the first input, the first input of the electronic device A first image is displayed in a region, and a second image is displayed in a second region of the electronic device; wherein, the second image is an image obtained after the first image is processed by a target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image.
[0057] The embodiment of the present invention provides a method for displaying an image. The electronic device can receive a user's first input, and the first input is used to trigger the electronic device to take a first image; in response to the first input, the electronic device The first image is displayed in the first area, and the second image is displayed in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by a target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image. Furthermore, the user can know the advantages and disadvantages of the first image and the second image by comparing the display effects of the first image and the second image, and further perform image processing on the second image to obtain an image with better display effect.
[0124] In the embodiment of the present invention, the electronic device recommends at least one third image for the user, thereby facilitating the user to select a target third image to replace the first image to be processed in the second image, so as to obtain a better display effect The image can save the user's operation process of image ...
View more

Abstract

The embodiment of the invention discloses an image display method and electronic equipment, relates to the technical field of communication, and is used for solving the problems that after an image isshot, the operation process of carrying out image processing on the image is relatively tedious and time-consuming. The method comprises the following steps: receiving a first input of a user, wherein the first input is used for triggering the electronic equipment to shoot a first image; in response to the first input, displaying a first image in a first area of the electronic device, and displaying a second image in a second area of the electronic device, wherein the second image is an image obtained after the first image is processed in a target image processing mode.

Application Domain

Image enhancementImage analysis +2

Technology Topic

EngineeringComputer hardware +4

Image

  • Image display method and electronic equipment
  • Image display method and electronic equipment
  • Image display method and electronic equipment

Examples

  • Experimental program(1)

Example Embodiment

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
[0028] The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
[0029] The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first input, the second input, the third input, and the fourth input are used to distinguish different inputs, rather than describing a specific sequence of inputs.
[0030] In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
[0031] In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more, for example, multiple processing units refer to two or more processing units; multiple elements Refers to two or more elements, etc.
[0032] An embodiment of the present invention provides an image display method. An electronic device can receive a first input from a user, and the first input is used to trigger the electronic device to capture a first image; in response to the first input, display in the first area of ​​the electronic device the first image, and display the second image in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by the target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image.
[0033] The following uses the Android operating system as an example to introduce the software environment used by the image display method provided by the embodiment of the present invention.
[0034] like figure 1 As shown, it is a schematic diagram of a possible Android operating system architecture provided by the embodiment of the present invention. exist figure 1 Among them, the architecture of the Android operating system includes 4 layers, which are respectively: an application program layer, an application program framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).
[0035] Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.
[0036] The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer.
[0037] The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
[0038] The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
[0039] Taking the Android operating system as an example, in the embodiment of the present invention, developers can figure 1 The system framework of the Android operating system shown, develops and implements the software program of the image display method provided by the embodiment of the present invention, so that the image display method can be based on such as figure 1 The Android operating system shown is running. That is, the processor or the electronic device can implement the image display method provided by the embodiment of the present invention by running the software program in the Android operating system.
[0040] The electronic device in the embodiment of the present invention may be a mobile electronic device, or may be a non-mobile electronic device. Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (ultra-mobile personal computer, UMPC), netbooks or personal digital assistants (personal digital assistant, PDA), etc. ; The non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc.; the embodiments of the present invention are not specifically limited.
[0041] The execution subject of the image display method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or it may be a functional module and/or a functional entity capable of implementing the method in the electronic device, The specific ones can be determined according to actual usage requirements, and are not limited in the embodiments of the present invention. The image display method provided by the embodiment of the present invention will be exemplarily described below by taking an electronic device as an example.
[0042] refer to figure 2 As shown, the embodiment of the present invention provides an image display method applied to an electronic device, and the method may include the following steps 201-203.
[0043] Step 201, the electronic device receives a first input from a user.
[0044] The first input is used to trigger the electronic device to take a first image.
[0045] In the case where the electronic device displays the shooting preview interface, the first input may be the user's touch input on the shooting control, or the user's specific gesture input, or the user's combination key input (the combination of the power key and the volume key input) may also be other feasible inputs, which are not limited in this embodiment of the present invention.
[0046] Step 202: The electronic device displays a first image in a first area of ​​the electronic device in response to a first input.
[0047] Step 203, the electronic device displays the second image in the second area of ​​the electronic device.
[0048] Wherein, the second image is an image obtained after the first image is processed by a target image processing manner.
[0049] In the embodiment of the present invention, the electronic device captures the first image in response to the first input, performs image processing on the first image according to the target image processing method, displays the first image in the first area, and displays the second image in the second area .
[0050] In the embodiment of the present invention, the image processing method may be any processing method to beautify the display effect of the image, for example, it may be a filter processing method, a beauty treatment method, etc., which are not limited in the embodiment of the present invention.
[0051] In the embodiment of the present invention, the target image processing method may be a pre-stored image processing method in the electronic device, or an image processing method obtained by the electronic device in real time according to actual usage requirements, which is not limited in the embodiment of the present invention.
[0052] For a specific process of the electronic device performing image processing on the first image according to the target image processing manner, reference may be made to any related technology, which will not be repeated here.
[0053] Optionally, the first area and the second area may be different areas on one display screen of the electronic device, or different areas on different display screens of the electronic device, or other feasible situations. Examples are not limited.
[0054] Exemplarily, if the first area and the second area are different areas on one display screen, then the first image and the second image may be displayed in split screens on one display screen of the electronic device.
[0055] Exemplarily, if the first area and the second area are different areas on different display screens, the first image may be displayed on the first display screen of the electronic device, and the second image may be displayed on the second display screen of the electronic device .
[0056] It should be noted that, in the embodiment of the present invention, the electronic device may be a single-screen electronic device (for example, a flat screen electronic device, a curved screen electronic device, a flexible screen electronic device, etc.), or a multi-screen electronic device (such as a double-sided screen electronic device). screen electronic equipment, three-sided screen electronic equipment, etc.), it may also be a folding screen electronic equipment, and it may also be other feasible electronic equipment, which is not limited in the embodiment of the present invention.
[0057] An embodiment of the present invention provides an image display method. An electronic device can trigger the electronic device to capture a first image by receiving a first input from a user; The first image is displayed, and the second image is displayed in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by a target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image. Furthermore, the user can know the advantages and disadvantages of the first image and the second image by comparing the display effects of the first image and the second image, and further perform image processing on the second image to obtain an image with better display effect.
[0058] Optionally, before the electronic device displays the first image and the second image, the electronic device may perform image processing on the first image according to the image quality of the first image.
[0059] Exemplarily, before the above step 202, the image display method provided by the embodiment of the present invention may further include the following steps 204-206.
[0060] Step 204: The electronic device captures a first image in response to the first input.
[0061] Step 205, the electronic device evaluates the image quality of the first image, and obtains an evaluation result.
[0062] Step 206: The electronic device performs image processing on the first image according to the target image processing manner corresponding to the evaluation result to obtain a second image.
[0063] In the embodiment of the present invention, reference may be made to any related technology for a specific method for the electronic device to evaluate the image quality of the first image, which is not limited in the embodiment of the present invention.
[0064] Optionally, the evaluation result may be an image quality score, an image quality percentage, or other feasibility evaluation results, which are not limited in this embodiment of the present invention.
[0065] In the embodiment of the present invention, different evaluation result ranges may correspond to different image processing methods. It can be understood that if the evaluation results are within different evaluation result ranges, different image processing methods are corresponding.
[0066] Exemplarily, the electronic device may calculate the image quality score of the first image through an image quality evaluation neural network. The specific image quality evaluation neural network may include: 1. Judging the reasonableness of the light and shadow of the first image through the light and shadow judgment neural network; 2. Judging the clarity of the first image through the sharpness neural network; The reasonableness of light and shadow and the clarity of the first image are used to obtain the image quality score of the first image. For details, reference may be made to related technologies, which will not be repeated here.
[0067] Following the above example, assume that the first scoring range corresponds to the first image processing method, and the second scoring range corresponds to the second image processing method, wherein any value in the first scoring range is smaller than any value in the second scoring range. The electronic device judges whether the image quality score of the first image is within the first scoring range, and if the image quality score is within the first scoring range, performs image processing on the first image according to the first image processing method; if the image quality score is within Within the second scoring range, perform image processing on the first image according to the second image processing manner. When the image quality score of the first image is within the first scoring range or within the second scoring range (indicating that the image quality is poor, and there may be serious problems such as distortion, tilt, or uneven exposure), the electronic device may execute Step 206 above; in the case that the image quality score of the first image is greater than any value in the second scoring range (indicating that the image quality is better), the electronic device may not perform image processing on the first image, and directly convert the first image to The second image is displayed in the second area; the electronic device may also perform image processing on the first image according to other image processing manners, which is not limited in this embodiment of the present invention.
[0068] In the embodiment of the present invention, the electronic device performs image processing on the first image according to the image quality of the first image, so as to better present the display effect of the first image and the second image to the user.
[0069] It should be noted that in this embodiment of the present invention, the electronic device does not limit the execution order of the above-mentioned steps 205-206 and step 202. For example, the electronic device can first execute steps 205-206, and then execute step 202; it can also execute step 202, and then perform steps 205-206; and step 205-206 and step 202 can also be performed at the same time.
[0070] Optionally, in this embodiment of the present invention, the electronic device may also display the first control in response to the first input, and if the user is still dissatisfied with the display effect of the second image, the user may The operation performs further image processing on the second image.
[0071] Exemplary, combined with figure 2 ,like image 3 As shown, after step 203, the image display method provided by the embodiment of the present invention may further include the following step 207.
[0072] Step 207, the electronic device responds to the first input, and displays the first control in a floating manner on the preset area of ​​the electronic device.
[0073] Wherein, the first control includes a first type of option and a second type of option, each option in the first type of option is used to determine the image to be processed, and different options in the second type of option are used to indicate different image processing methods ( One option is used to indicate an image processing method), the image to be processed is a partial image of the second image, and the preset area is any area on the electronic device.
[0074] In the embodiment of the present invention, the number of options of the first type of options is not limited, and the number of options of the second type of options is not limited, which can be determined according to actual usage requirements. The first control may also include other options, which are not limited in this embodiment of the present invention.
[0075] Optionally, in this embodiment of the present invention, the first control can be displayed floating on the first image (that is, the preset area is the area in the first area), and the first control can also be displayed floating on the second image (that is, the preset area is the area in the first area). Let the area be the area in the second area), the first control can also be displayed floating on the first image and the second image (that is, part of the area in the preset area is the area in the first area, and the other part is the area in the second area. area in the area), the first control can also be hovered over areas other than the first area and the second area (that is, the preset area is neither the area in the first area nor the area in the second area) , the first control may also be displayed in other feasible positions, which is not limited in this embodiment of the present invention.
[0076] Optionally, in this embodiment of the present invention, the user can trigger the electronic device to adjust the display position of the first control, adjust the size of the first control, rotate the direction of the first control, and change the arrangement order of the options in the first control by inputting an electronic device. Or switch the display state of the first control, etc., which are not limited in this embodiment of the present invention.
[0077] Wherein, the display state of the first widget may include a suspended display state, an adsorbed display state (adsorbed to the edge of the screen of the electronic device), a minimized display state, a hidden state, etc., which are not limited in this embodiment of the present invention.
[0078] Exemplarily, the user triggers the electronic device to change the display state of the first control by inputting: the user drags the first control to the edge of the screen to trigger the electronic device to switch the display state of the first control from the floating display state to Adsorption display state: the user can trigger the electronic device to switch the display state of the first control from the minimized display state (or adsorption display state) to Floating display status.
[0079]It can be understood that in the embodiment of the present invention, different options in the first type of options are used to indicate different forms of determining (in the second image) images to be processed (one option is used to indicate a form of determining images to be processed), For example, it may be in the form of a grid or in the form of a selection box, which is not limited in this embodiment of the present invention.
[0080] It should be noted that, in this embodiment of the present invention, the execution order of the foregoing steps 202 to 203 and 207 is not limited. For example, the electronic device may execute step 202-step 203 first, and then execute step 207; it may also execute step 207 first, and then execute step 202-step 203; it may also execute step 202-step 203 and step 207 at the same time.
[0081] In the embodiment of the present invention, the electronic device floats and displays the first control in the preset area, which can simplify the user's operation process and save operation time when the user needs to perform further image processing on the whole or part of the second image. Improve human-computer interaction performance.
[0082] Optionally, if the user is still dissatisfied with the display effect of the second image, the user may trigger the electronic device to display an image corresponding to the second image by inputting an option in the first type of option in the first control. The control corresponding to the option.
[0083] Exemplary, combined with image 3 ,like Figure 4 As shown, after step 207, the image display method provided by the embodiment of the present invention may further include the following steps 208-209.
[0084] Step 208, the electronic device receives a second input from the user on the first option in the first type of options.
[0085] Optionally, the second input may be a user's click input on the first option, or a user's sliding input on the first option, or other feasible input, which is not limited in this embodiment of the present invention.
[0086] Exemplarily, the above-mentioned click input can be any number of click inputs, for example, single-click input, double-click input, or triple-click input, etc.; the above-mentioned sliding input can be a sliding input in any direction, such as sliding input in a counterclockwise direction, Clockwise sliding input, upward sliding input, downward sliding input, leftward sliding input, or rightward sliding input, etc.
[0087] In step 209, the electronic device displays a second control corresponding to the first option on the second image in response to the second input.
[0088] Optionally, the second control is an N*M grid or a selection box, where N and M are positive integers. The second control may also be another form of control, which is not limited in this embodiment of the present invention.
[0089] Optionally, in this embodiment of the present invention, the number of first options is not limited, that is, the first option can be one option, or multiple options; then the number of second controls is not limited, that is, the second control can be One control, or multiple controls. For example, if the first option is one option, then the second control is one control; if the first option is multiple options, then the second control is multiple controls.
[0090] Exemplarily, if the second control is an N*M grid, the second control may include: 2*3 grid, 3*4 grid, nine-square grid, sixteen-square grid, honeycomb grid, etc. At least one of the .
[0091] It should be noted that, if the second control is an N*M grid, the electronic device can determine an image to be processed in the second image according to each grid in the N*M grid, and can determine the second image at most. The N*M images to be processed in the two images may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
[0092] Exemplarily, if the second control is a selection box, the second control may include a circular selection box, a polygonal selection box (including a triangular selection box, a quadrilateral selection box (including a parallelogram selection box, a rectangular selection box, a diamond selection box) frame, trapezoidal selection box, trapezoidal selection box, etc.), pentagonal selection box, etc.) and other floating window forms.
[0093] Optionally, the shape of the selection box may be preset by the electronic device, or customized by the user according to actual usage requirements, which is not limited in this embodiment of the present invention.
[0094] In the embodiment of the present invention, the user triggers the electronic device to display the second control in the second image through the second input of the first option, then the user can determine the image to be processed in the second image according to the second control, and then can pass For the input of the options in the second category of options, corresponding image processing is performed on the image to be processed.
[0095] Optionally, after the above step 209, the user can adjust the second control by inputting, or zoom the image to be processed determined by the second control by inputting, so as to observe the display effect of the image to be processed and the like.
[0096] Exemplary, combined with Figure 4 ,like Figure 5 As shown, after step 209, the image display method provided by the embodiment of the present invention may further include the following steps 210-211.
[0097] Step 210, the electronic device receives a third input from the user on the second control.
[0098] Optionally, the third input may be a user's click input on the second control, or a user's drag input on the second control, or other feasible input, which is not limited in this embodiment of the present invention.
[0099] Exemplarily, for the specific description of the above-mentioned click input, please refer to the relevant description of the click input in the description of the second input in the above step 208, which will not be repeated here; the above-mentioned drag input can be a drag input in any direction , such as clockwise drag input, counterclockwise drag input. Drag input up, drag input down, drag input left, or drag input right, etc.
[0100] Step 211, the electronic device responds to the third input, and executes a target operation corresponding to the third input.
[0101] The target operation includes at least one of the following: adjusting the position of the second control on the second image, adjusting the size of the second control, rotating the direction of the second control, switching the display state of the second control, and deleting the second control.
[0102] Optionally, the display state of the second widget may include: a floating display state, an adsorption display state, a minimized display state, etc., which are not limited in this embodiment of the present invention.
[0103] Exemplarily, the user triggers the electronic device to change the display state of the second control by inputting: the user drags the second control to the edge of the screen to trigger the electronic device to switch the display state of the second control from the floating display state to Adsorption display state; the user triggers the electronic device to switch the display state of the second control from the floating display state to the minimized display state by shrinking the second control to the minimum input; The double-click input of the second control in the state) triggers the electronic device to switch the display state of the second control from the minimized display state (or the suction display state) to the suspended display state.
[0104] It should be noted that, when the display state of the second control is the suction display state or the minimized display state, the second control can be prevented from blocking the user's line of sight, thereby facilitating the user to compare the display effects of the first image and the second image. In order to get a more reasonable image to be processed.
[0105] In the embodiment of the present invention, the user triggers the electronic device to adjust the second control through the third input, and the electronic device can determine a more reasonable image to be processed according to the user's requirement.
[0106] Optionally, after at least one image processing is performed on the second image, the user still feels that the display effect of some areas in the second image is not ideal, and the user can trigger the electronic device to recommend a better display effect for the user by inputting an input. An image whose similarity with the partial area in the second image is greater than a certain threshold is used for the user to select an image for replacing the partial area in the second image.
[0107] Exemplary, combined with Figure 5 ,like Image 6 As shown, after step 211, the image display method provided by the embodiment of the present invention may further include the following steps 212-215.
[0108] Step 212, the electronic device receives a fourth input from the user on the first image to be processed determined by the second control.
[0109] Optionally, the fourth input may be a user's click input on the first image to be processed, or a user's sliding input on the first image to be processed, or other feasible input, which is not limited in this embodiment of the present invention.
[0110] Exemplarily, for the specific description of the above-mentioned click input and slide input, reference may be made to the relevant description of the click input and slide input in the description of the second input in step 208 above, which will not be repeated here.
[0111] Step 213, the electronic device displays at least one third image on the third area of ​​the electronic device in response to the fourth input.
[0112] Each third image is an image whose similarity with the first image to be processed (including scene similarity and character similarity, etc.) is greater than or equal to the first threshold and satisfies a preset condition, and the preset condition includes at least one of the following : the frequency of use (that is, the frequency with which the user uses the corresponding third image) is greater than or equal to the second threshold, and the user score (that is, the user's rating of the display effect of the corresponding third image) is greater than or equal to the third threshold.
[0113] In the embodiment of the present invention, the values ​​of the first threshold, the second threshold, and the third threshold may be determined according to actual usage requirements, and are not limited in this embodiment of the present invention.
[0114] In response to the fourth input, the electronic device selects at least one image whose similarity with the first image to be processed is greater than or equal to the first threshold and satisfies a preset condition from images in the network, images stored in the electronic device, etc. a third image, and then display at least one third image on the third area.
[0115] Optionally, the third area may be any area on the electronic device. For details, reference may be made to the description of the preset area in step 207 above, which will not be repeated here.
[0116] Exemplarily, the third area may be an area in the electronic device that is different from the first area and the second area, that is, the third area, the first area, and the second area may be displayed in split screens on one screen of the electronic device; the third Two of the area, the first area and the second area can be displayed in split screen on one screen of the electronic device, and the other can be displayed on another screen of the electronic device; the third area, the first area and the second area can also be respectively displayed on different screens of the electronic device.
[0117] It should be noted that the electronic device may divide a third area for displaying at least one third image in response to the user's first input; the electronic device may also divide a third area for displaying at least one third image in response to a fourth input. The third area of ​​a third image; it may also be other feasible situations, which are not limited in this embodiment of the present invention.
[0118] Step 214, the electronic device receives a fifth input from the user on the target third image in the at least one third image.
[0119] Optionally, the fifth input may be the user's click input on the target third image, or the user's sliding input on the target third image, or the user's drag input on the target third image, or other Feasible input of , which is not limited in this embodiment of the present invention.
[0120]Exemplarily, for the specific description of the above-mentioned click input and slide input, please refer to the relevant description of the click input and slide input in the description of the second input in the above-mentioned step 208, and for the specific description of the above-mentioned drag input, please refer to the above-mentioned step 210 The relevant description of the drag input in the description of the second input in , will not be repeated here.
[0121] Step 215: The electronic device updates the first image to be processed to the target third image in response to the fifth input.
[0122] Exemplarily, in response to the fifth input, the electronic device removes the first image to be processed from the second image to obtain a fourth image (that is, the second image after removing the first image to be processed, that is, does not include the first image to be processed The second image of the image), the fourth image and the target third image are synthesized (or spliced) to obtain the fifth image after the first image to be processed is updated to the target third image.
[0123] It should be noted that, in the process of synthesizing the second image after removing the first image to be processed and the target third image, the electronic device may perform cropping and other processing on the target third image as required, so as to obtain and remove the first image. The image to be matched with the second image after the image to be processed.
[0124] In the embodiment of the present invention, the electronic device recommends at least one third image to the user, thereby facilitating the user to select a target third image to replace the first image to be processed in the second image, so as to obtain an image with better display effect, It can save the user's operation process of image processing on the second image, save operation time, and improve human-computer interaction performance.
[0125] Optionally, after the above step 215, the user may also trigger the electronic device to perform further image processing on the fifth image through an input, so as to obtain an image with better display effect.
[0126] Exemplary, combined with Image 6 ,like Figure 7 As shown, after step 215, the image display method provided by the embodiment of the present invention may further include the following steps 216-217.
[0127] Step 216, the electronic device receives a sixth input from the user on the second option in the second type of options.
[0128] Optionally, the sixth input may be a user's click input on the second option, or a user's sliding input on the second option, or other feasible input, which is not limited in this embodiment of the present invention.
[0129] Exemplarily, for the specific description of the above-mentioned click input and slide input, reference may be made to the relevant description of the click input and slide input in the description of the second input in step 208 above, which will not be repeated here.
[0130] In the embodiment of the present invention, the quantity of the second option is not limited, that is, the second option can be one option (then the second option indicates an image processing method), or multiple options (then the second option indicates multiple images processing method), which is not limited in the embodiment of the present invention.
[0131] Step 217: In response to the sixth input, the electronic device performs image processing on the third image of the target displayed in the second area according to the image processing manner indicated by the second option.
[0132] It can be understood that the target third image displayed in the second area is the target third image in the fifth image in step 215 above.
[0133] In the embodiment of the present invention, after the electronic device performs image processing on the third image of the target displayed in the second area according to the image processing method indicated by the second option, the display effect of the synthesized fifth image can be made more natural and more beautiful.
[0134] In the embodiment of the present invention, the user can trigger the electronic device to save the second image obtained after the above processing through an input, or save part of the second image obtained after the above processing, which is not limited in this embodiment of the present invention.
[0135] Exemplary, such as Figure 8 As shown in , the electronic device currently displays the shooting preview interface indicated by the mark "1", and the user clicks the shooting control, as shown in Figure 9 As shown, the electronic device displays the first image (original image) in the first area indicated by the mark "2", and displays the second image (image after image processing) in the second area indicated by the mark "3", and the electronic device divides Out of the third area indicated by the mark "4" (for displaying at least one third image recommended by the smart), the electronic device hovers in the preset area and displays the first control indicated by the mark "5". , Sixteen Palace, Custom Grid, Circular Selection Box, Rectangular Selection Box, Custom Selection Box” and other first category options and “Filter 1, Filter 2, Beauty 1, Beauty 2” and other options Secondary options. By comparing the display effect of the first image and the second image, if the user is still dissatisfied with the display effect of the second image, he can trigger the The electronic device displays at least one control corresponding to the at least one option on the second image. For example, if the user clicks the "Custom Selection Box" option in the first control and customizes the "Diamond Selection Box", "Oval Selection Box" and "Pentagonal Selection Box", then as Figure 10 As shown, the electronic device displays on the second image the diamond-shaped selection box indicated by the symbol "6", the oval-shaped selection box indicated by the symbol "7", and the pentagonal selection box indicated by the symbol "8". Another example is that the user clicks on the "Nine Palaces" option in the first control, then as Figure 11 As shown, the electronic device displays a nine-square grid indicated by the mark "9" on the second image. The electronic device may trigger the electronic device to adjust the position, size, and direction of the one control, switch the display state of the one control, or delete the one control by inputting any one of the at least one control. For example, if Figure 12 As shown, the user triggers the electronic device to switch the display state of the diamond-shaped selection box from the floating display state to the minimized display state indicated by the logo "10" by pinching the input with two fingers; the user drags the input to trigger the electronic device to switch the pentagon The display state of the selection box is switched from the floating display state to the adsorption display state indicated by the mark "11"; the user triggers the electronic device to delete the oval selection box by dragging the oval selection box out of the input of the second area. like Figure 13 As shown, the user can trigger the electronic device to enlarge and display the image to be processed by double-clicking any image to be processed determined by Jiugongge, so that the user can better view the display effect of the image to be processed; if the user selects the mark " In the case of the image to be processed indicated by 12", click the "filter 1" option in the first control, then the electronic device will perform filter processing on the image to be processed indicated by the mark "12" according to filter 1; if the filter processing Finally, if the user is still dissatisfied with the display effect of the image to be processed indicated by the mark "12", the user can trigger the electronic device to display the intelligently recommended "No. Three image 1, third image 2 and third image 3", for the user to select an image to replace the image to be processed indicated by the mark "12". The user can trigger the electronic device to zoom the third image 1 by double-clicking the third image 1 , so that the user can better observe the display effect of the third image 1 . After the electronic device responds to the user input and replaces the image to be processed indicated by the mark "12" with the third image 1, the user can also trigger the electronic device to perform image processing on the image to be processed indicated by the replaced "12" to Make the display effect of the spliced ​​images more natural. After the user is satisfied with the display effect of the processed second image, the user can save the processed second image by inputting, or share the processed second image with others through an instant social application.
[0136] Each drawing in the embodiments of the present invention is an example in combination with the drawings of the exclusive embodiment. During specific implementation, each drawing can also be implemented in combination with any other drawings that can be combined, which is not limited by the embodiment of the present invention. For example, combining Figure 4 After step 209, the image display method provided by the embodiment of the present invention may further include the above-mentioned steps 212-215.
[0137] like Figure 14 As shown, the embodiment of the present invention provides an electronic device 120, the electronic device 120 includes: a receiving module 121 and a display module 122; the receiving module 121 is used to receive a first input from the user, and the first input is used to trigger the electronic The device captures the first image; the display module 122 is configured to display the first image in the first area of ​​the electronic device and display the second image in the second area of ​​the electronic device in response to the first input received by the receiving module 121. An image; wherein, the second image is an image obtained after the first image is processed by a target image processing method.
[0138] Optionally, the electronic device 120 further includes: a photographing module 123, an evaluation module 124, and a processing module 125; the photographing module 123 is configured to display the first image in the first area of ​​the electronic device on the display module 122, and Before the second area of ​​the electronic device displays the second image, the first image is captured; the evaluation module 124 is configured to evaluate the image quality of the first image captured by the shooting module 123 to obtain an evaluation result; the processing module 125 , for performing image processing on the first image according to the target image processing manner corresponding to the evaluation result obtained by the evaluation module 124 to obtain a second image.
[0139] Optionally, the display module 122 is further configured to, after the receiving module 121 receives the user's first input, display the first control; wherein, the first control includes a first type of option and a second type of option, each option in the first type of option is used to determine the image to be processed, and different options in the second type of option are used to indicate different image processing way, the image to be processed is a partial image of the second image, and the preset area is any area on the electronic device; Input; the display module 122 is further configured to display a second control corresponding to the first option on the second image in response to the second input received by the receiving module 121, where the second control is a grid or selection of N*M Box; wherein, N, M are positive integers.
[0140] Optionally, the electronic device 120 further includes: an execution module 126; the receiving module 121 is further configured to receive the user's request for the second option after the display module 122 displays the second control corresponding to the first option on the second image. A third input of the control; the executing module 126 is configured to execute a target operation corresponding to the third input in response to the third input received by the receiving module 121, and the target operation includes at least one of the following: adjusting the second control at the position on the second image, adjust the size of the second control, rotate the direction of the second control, switch the display state of the second control, and delete the second control.
[0141] Optionally, the receiving module 121 is further configured to receive the fourth control of the first image to be processed determined by the user for the second control after the display module 122 displays the second control corresponding to the first option on the second image. Input; the display module 122 is also configured to display at least one third image on the third area of ​​the electronic device in response to the fourth input received by the receiving module 121, and each third image is related to the first to-be-processed image The similarity of the image is greater than or equal to the first threshold and the image meets the preset condition, the preset condition includes at least one of the following: the frequency of use is greater than or equal to the second threshold, the user score is greater than or equal to the third threshold; the receiving module 121, further configured to receive a fifth input from the user of the target third image in the at least one third image displayed by the display module 122; the display module 122 further configured to respond to the fifth input received by the receiving module 121 Input, update the first image to be processed to the target third image.
[0142] Optionally, the electronic device 120 further includes: a processing module 125; the receiving module 121 is also configured to receive the user's selection of the second type of option after the display module 122 updates the second image to be processed to the target third image. The sixth input of the second option in the second option; the processing module 125 is configured to respond to the sixth input received by the receiving module 121, according to the image processing method indicated by the second option, the third image processing.
[0143] It should be noted that, if Figure 14 As shown, the modules that must be included in the electronic device 120 are indicated by solid line boxes, such as the receiving module 121 and the display module 122; 124 , a processing module 125 and an execution module 126 .
[0144] The electronic device provided by the embodiment of the present invention can realize the above-mentioned method embodiment Figure 2 to Figure 13 Each process shown in any one, in order to avoid repetition, will not be repeated here.
[0145] An embodiment of the present invention provides an electronic device. The electronic device can trigger the electronic device to take a first image by receiving a first input from the user; in response to the first input, display in the first area of ​​the electronic device the first image, and display the second image in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by the target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image.
[0146] Figure 15 It is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention. like Figure 15 As shown, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and parts such as power supply 111. Those skilled in the art can understand that, Figure 15 The structure of the electronic device shown in the above does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the illustration, or combine some components, or arrange different components. In the embodiment of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted electronic devices, wearable devices, and pedometers.
[0147] Among them, the user input unit 107 is configured to receive a first input from the user, and the first input is used to trigger the electronic device to capture a first image; the display unit 106 is configured to display in the first area of ​​the electronic device in response to the first input the first image, and display the second image in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by the target image processing method.
[0148] In the electronic device provided by the embodiment of the present invention, the electronic device may receive a user's first input, the first input is used to trigger the electronic device to take a first image; in response to the first input, display the first image in the first area of ​​the electronic device image, and display the second image in the second area of ​​the electronic device; wherein, the second image is an image obtained after the first image is processed by the target image processing method. Through this solution, in response to the first input of capturing the first image, the electronic device can display the first image and display the second image obtained after the first image is processed by the target image processing method. Therefore, the user's operation process of image processing on the captured image can be simplified, time can be saved, and human-computer interaction performance can be improved. At the same time, the electronic device simultaneously displays the first image and the second image, which can facilitate the user to compare the display effects of the first image and the second image.
[0149] It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 110 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
[0150] The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.
[0151] The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
[0152] The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102 . The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a phone call mode.
[0153] The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, related games) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
[0154] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061 , and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
[0155] The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operate). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0156] Further, the touch panel 1071 can be covered on the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it will be sent to the processor 110 to determine the type of the touch event, and then the processor 110 can The type of event provides a corresponding visual output on the display panel 1061 . Although in Figure 15 In the above, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the electronic device The input and output functions are not limited here.
[0157] The interface unit 108 is an interface for connecting an external device to the electronic device 100 . For example, an external device may include a wired or wireless headset 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 an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
[0158] The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
[0159] The processor 110 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
[0160] The electronic device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
[0161] In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
[0162] Optionally, an embodiment of the present invention also provides an electronic device, which may include the above-mentioned Figure 15 The shown processor 110, the memory 109, and the computer program stored on the memory 109 and operable on the processor 110, when the computer program is executed by the processor 110, implements the method in the above embodiment Figure 2 to Figure 13 Each process of the image display method shown in any one can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0163]An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned method embodiments are implemented. Figure 2 to Figure 13 Each process of the image display method shown in any one can achieve the same technical effect, so to avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
[0164] It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
[0165] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
[0166] Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products