CN111049989B - Image display method and electronic equipment - Google Patents

Image display method and electronic equipment Download PDF

Info

Publication number
CN111049989B
CN111049989B CN201911366277.5A CN201911366277A CN111049989B CN 111049989 B CN111049989 B CN 111049989B CN 201911366277 A CN201911366277 A CN 201911366277A CN 111049989 B CN111049989 B CN 111049989B
Authority
CN
China
Prior art keywords
image
root
input
processing information
derivative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911366277.5A
Other languages
Chinese (zh)
Other versions
CN111049989A (en
Inventor
崔雪巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911366277.5A priority Critical patent/CN111049989B/en
Publication of CN111049989A publication Critical patent/CN111049989A/en
Application granted granted Critical
Publication of CN111049989B publication Critical patent/CN111049989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Abstract

The embodiment of the invention provides an image display method and electronic equipment, relates to the technical field of image processing, and can solve the problems that the process of viewing photos of multiple versions of the same photo by a user is complicated and time-consuming. The scheme comprises the following steps: receiving a first input of a user to a first root image in the at least one root image under the condition that the at least one root image is displayed in the image preview interface; generating at least one derivative image of the first root image according to the first root image and at least one piece of processing information in response to a first input, wherein the at least one piece of processing information is historical processing information stored in the electronic equipment for processing the first root image; displaying at least one derivative image. The scheme is applied to a scene for viewing photos.

Description

Image display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to an image display method and electronic equipment.
Background
Currently, an electronic device may process a photo through an image processing application in the electronic device and store the processed photo in the electronic device. As such, multiple versions of the same photograph may be stored in the electronic device.
In this case, if the storage time of the multiple versions of the same photo in the electronic device is not continuous, when the user needs to view the multiple versions of the photo, the user may search the multiple versions of the photo in the gallery of the electronic device, which results in a tedious and time-consuming process for viewing the multiple versions of the photo of the same photo.
Disclosure of Invention
The embodiment of the invention provides an image display method and electronic equipment, and aims to solve the problems that a process of viewing photos of multiple versions of the same photo by a user is complicated and time-consuming.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an image display method, which is applied to an electronic device, and includes: receiving a first input of a user to a first root image in the at least one root image under the condition that the at least one root image is displayed in the image preview interface; and in response to the first input, generating at least one derivative image of the first root image from the first root image and the at least one processing information; and displaying the at least one derived image. Wherein, at least one piece of processing information is history processing information of processing the first root image stored in the electronic equipment.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes a receiving module, a processing module, and a display module. The receiving module is used for receiving a first input of a user to a first root image in at least one root image under the condition that the at least one root image is displayed in the image preview interface; the processing module is used for responding to the first input received by the receiving module, and generating at least one derivative image of the first root image according to the first root image and at least one piece of processing information, wherein the at least one piece of processing information is historical processing information which is stored in the electronic equipment and used for processing the first root image; and the display module is used for displaying the at least one derivative image generated by the processing module.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the image display method as in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the image display method as in the first aspect described above.
In an embodiment of the present invention, in a case that at least one root image is displayed in an image preview interface of an electronic device, if the electronic device receives a first input of a user to a first root image of the at least one root image, the electronic device may generate, in response to the first input, at least one derivative image of the first root image according to the first root image and at least one processing information (history processing information for processing the first root image stored in the electronic device), and then the electronic device may display the at least one derivative image. According to the scheme, the root image and the history processing information for processing the root image can be correspondingly stored in the electronic equipment, so that a user can trigger the electronic equipment to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image is processed according to the root image and the history processing information correspondingly stored with the root image through one input, and display the plurality of versions of images, and the user does not need to sequentially search the plurality of versions of images in a gallery of the electronic equipment, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images is improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an image display method according to an embodiment of the present invention;
fig. 3 is one of schematic interface diagrams of an application of an image display method according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an image display method according to an embodiment of the present invention;
FIG. 5 is a second schematic interface diagram of an application of an image display method according to an embodiment of the present invention;
fig. 6 is a third schematic interface diagram of an application of an image display method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," etc. herein are used to distinguish between different objects and are not used to describe a particular order of objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
Root image: an image that has not been processed by the electronic device is referred to as a root image.
Derivative image: the image that has been processed at least once by the electronic device is referred to as a derivative image.
For example, after an image is captured by the electronic device, the image may be referred to as a root image, and an image obtained by processing the root image by a mosaic, a filter, or the like may be referred to as a derivative image.
The embodiment of the invention provides an image display method and electronic equipment. Specifically, in a case that at least one root image is displayed in an image preview interface of the electronic device, if the electronic device receives a first input of a user to a first root image of the at least one root image, the electronic device may generate, in response to the first input, at least one derivative image of the first root image according to the first root image and at least one piece of processing information (history processing information for processing the first root image stored in the electronic device), and then the electronic device may display the at least one derivative image. According to the scheme, the root image and the history processing information for processing the root image can be correspondingly stored in the electronic equipment, so that a user can trigger the electronic equipment to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image is processed according to the root image and the history processing information correspondingly stored with the root image through one input, and display the plurality of versions of images, and the user does not need to sequentially search the plurality of versions of images in a gallery of the electronic equipment, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images is improved.
The electronic device in the embodiment of the invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the image display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, an application displaying at least one root image in embodiments of the present invention may be developed based on an application framework. For example: a gallery application.
Generally, the gallery application program in the embodiment of the present invention may include two parts, where one part refers to a service (service) running in a background of an electronic device, and may be configured to detect an input of a user on at least one root image displayed by the application program, and generate at least one derivative image according to the input; the other part refers to content displayed on the screen of the electronic device. For example, at least one root image or at least one derivative image displayed on a screen of the electronic device.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the image display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the image display method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the image display method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution subject of the image display method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the image display method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily explain an image display method provided by an embodiment of the present invention.
In an embodiment of the present invention, a user may process an image through an image processing application in an electronic device (e.g., a gallery application in an electronic device system or other third-party image processing application). Specifically, after the user triggers the electronic device to run the image processing application, the electronic device may display an interface of the image processing application. The user may interact with the image processing application by operating on the interface to cause the screen of the electronic device to display an image. The user may then trigger the electronic device to perform some processing on the image, such as mosaic processing, filter processing, brightness processing, color temperature processing, or blurring processing, etc. Taking the mosaic process as an example, after the electronic device performs the mosaic process on the image, the electronic device may store the relevant processing information.
Further, according to the method, the user may trigger the electronic device to perform processing on the same image multiple times, and trigger the electronic device to correspondingly store the image and processing information for processing the image multiple times (for example, history processing information for processing the first root image in the embodiment of the present invention).
After a user triggers the electronic device to correspondingly store an image and history processing information for processing the image for multiple times, if the user needs to view the image processed by history (hereinafter referred to as a derivative image of the image), the user performs an input on the image, that is, the electronic device can be triggered to acquire the history processing information stored corresponding to the image, and then the electronic device can automatically generate the derivative image of the image directly according to the image and the history processing information and can display the derivative images, so that the user can view the derivative images. Therefore, the user can trigger the electronic equipment to automatically generate a plurality of derivative images after the history is processed on the root image according to the image and the history processing information stored corresponding to the image through one input, and the plurality of derivative images are displayed, so that the user does not need to sequentially search the plurality of derivative images in a gallery of the electronic equipment, the process of viewing the plurality of derivative images of the same image by the user can be simplified, and the efficiency of viewing the plurality of derivative images is improved.
Optionally, the root image (for example, the first root image) in the embodiment of the present invention may be an image shot by the user triggering the electronic device, may also be an image downloaded from the server by the user triggering the electronic device, and may also be an image shared by other users with the user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
An image display method provided by an embodiment of the present invention is described below with reference to the drawings.
The image display method provided by the embodiment of the invention can comprise two processes, wherein one process is a process of the electronic device correspondingly storing the root image and historical processing information for processing the root image, and the other process is a process of the electronic device generating and displaying a derivative image of the root image. The two processes are described below in an exemplary manner with reference to the respective figures.
The first process is that the electronic device correspondingly stores the root image and historical processing information for processing the root image.
As shown in fig. 2, the image display method according to the first embodiment of the present invention may include the following steps S201 to S202.
S201, when the electronic equipment displays the first root image, the electronic equipment receives a sixth input of the first root image from the user.
Optionally, in the embodiment of the present invention, the electronic device may display the first root image on an interface of a camera application of the electronic device, or may display the first root image on an interface of an image processing application of the electronic device (for example, a gallery application in an electronic device system, a third party image beautifying application, or the like).
In order to more clearly describe the image display method provided by the embodiment of the present invention, in the following embodiments, the electronic device displays the first root image on the interface of the image processing application program of the electronic device.
Optionally, in this embodiment of the present invention, when the interface of the image processing application of the electronic device displays the first root image, the interface may further display at least one image processing control, such as a mosaic control, a filter control, a brightness control, a color temperature control, or a blurring control. The mosaic control can be used for triggering the electronic equipment to execute mosaic processing on the image, the filter control can be used for triggering the electronic equipment to execute filter processing on the image, the brightness control can be used for triggering the electronic equipment to execute brightness processing on the image, the color temperature control can be used for triggering the electronic equipment to execute color temperature processing on the image, and the blurring control can be used for triggering the electronic equipment to execute blurring processing on the image.
Optionally, in this embodiment of the present invention, the sixth input may include a first sub input and a second sub input. The first sub-input may be an input of a user to a target image processing control in the at least one image processing control; the second sub-input may be a user input to a completion control (e.g., the control shown at 36 in fig. 3) of an interface display of an image processing application of the electronic device.
The target image processing control may be one image processing control of at least one image processing control, or may be multiple image processing controls of at least one image processing control. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S202, the electronic equipment responds to a sixth input, performs processing corresponding to the sixth input on the first root image, and correspondingly stores processing information corresponding to the first root image and the sixth input.
Optionally, in this embodiment of the present invention, the performing, on the first root image, the processing corresponding to the sixth input may specifically be performing, on the first root image, the processing corresponding to the first sub-input. Wherein, performing the processing corresponding to the first sub-input on the first root image may be understood as: and executing the processing of the function corresponding to the target image processing control on the first root image. For example, assuming that the target image processing control is a mosaic control, performing the processing corresponding to the first sub-input on the first root image may be understood as: the mosaic process is performed on the first root image.
Optionally, in this embodiment of the present invention, the processing information corresponding to the sixth input may specifically be processing information corresponding to the first sub-input. Wherein, the processing information corresponding to the first sub-input can be understood as: and executing the processing information of the function corresponding to the target image processing control on the first root image. For example, assuming that the target image processing control is a mosaic control, the processing information corresponding to the first sub-input may be understood as: processing information for performing mosaic processing on the first root image.
In the embodiment of the present invention, after the electronic device receives a sixth input of the first root image by the user, the electronic device may perform, in response to the sixth input, processing corresponding to the sixth input on the first root image, and correspondingly store processing information corresponding to the first root image and the sixth input. Specifically, after the electronic device receives a first sub-input of the target image processing control from the user, the electronic device may perform processing on the first root image by using a function corresponding to the target image processing control, obtain a processed image (hereinafter referred to as a target derivative image), and display the target derivative image. Then, after the electronic device receives a second sub-input of the user to the completion control, the electronic device may acquire processing information for executing a function corresponding to the target image processing control on the first root image, and correspondingly store the first root image and the processing information.
Optionally, in the embodiment of the present invention, after the electronic device performs processing corresponding to the first sub-input on the first root image to obtain the target derivative image, the electronic device may further generate a thumbnail of the target derivative image, and then after the electronic device receives the second sub-input of the user to the completion control, the electronic device may correspondingly store the first root image, the processing information corresponding to the first sub-input, and the thumbnail of the target derivative image. Wherein a thumbnail of the target derived image may be used to indicate the target derived image.
It should be noted that, in the embodiment of the present invention, the user may perform a sixth input on the first root image once, that is, may trigger the electronic device to correspondingly store the processing information of the first root image corresponding to the sixth input. In this manner, after the user performs the sixth input on the first root image a plurality of times, the electronic device may correspondingly store the processing information of the first root image corresponding to the plurality of times of the sixth input (i.e., the history processing information of the processing on the first root image). Thus, the first root image and the history processing information of the plurality of times of processing of the first root image can be stored in the electronic device correspondingly.
The above-mentioned S201 to S202 will be exemplarily described with reference to fig. 3.
Illustratively, assuming that the target image processing control is a mosaic control, as shown in (a) of fig. 3, an interface diagram of an image processing application is displayed for the electronic device. The first root image 30, the mosaic control 31, the filter control 32, the brightness control 33, the color temperature control 34, the blurring control 35 and the completion control 36 are displayed in the interface. After the user performs the first sub-input to the mosaic control 31, that is, the electronic device receives the first sub-input of the user, the electronic device may perform mosaic processing on the first root image 30 in response to the first sub-input, obtain a first derivative image 37, and display the first derivative image 37 as shown in (b) of fig. 3. After the user performs the second sub-input to the completion control 36, that is, the electronic device receives the second sub-input of the user, the electronic device may acquire processing information for performing mosaic processing on the first root image 30, and correspondingly store the first root image 30 and the processing information.
In the embodiment of the invention, because the root image and the history processing information for processing the root image can be correspondingly stored in the electronic equipment, a user can trigger the electronic equipment to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image according to the root image and the history processing information which is correspondingly stored with the root image through one input, and display the plurality of versions of images, without the need that the user sequentially searches the plurality of versions of images in a gallery of the electronic equipment, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images can be improved.
Further, compared with the image processed by the history processing on the first root image, the electronic device only stores the history processing information processed on the first root image, and the processing information occupies less storage space of the electronic device, so that the waste of the storage space of the electronic device can be effectively reduced.
It should be noted that, in the embodiment of the present invention, a first root image is taken as an example to describe a process of correspondingly storing a root image and history processing information for processing the root image in an electronic device. In practical implementation, multiple sets of contents may be stored in the electronic device, each set of contents may include a root image stored correspondingly and at least one piece of history processing information for processing the root image, and for the description of storing the multiple sets of contents in the electronic device, reference may be made to the description related to the storing of the first root image and the history processing information for processing the first root image in the above embodiment, and details are not repeated here to avoid repetition.
After the electronic device stores the plurality of sets of contents through the first process, the electronic device can generate and display a plurality of derivative images corresponding to the first process through a second process according to the plurality of sets of contents.
It should be noted that, in the embodiment of the present invention, the electronic device that executes the first process and the electronic device that executes the second process may be the same electronic device, or may be different electronic devices, which may be determined specifically according to actual usage requirements, and the embodiment of the present invention is not limited.
And secondly, generating and displaying a derivative image of the root image by the electronic equipment.
As shown in fig. 4, corresponding to the second process, the image display method according to the embodiment of the present invention may further include S301 to S303 described below.
S301, under the condition that at least one root image is displayed in an image preview interface of the electronic equipment, the electronic equipment receives first input of a user on a first root image in the at least one root image.
The image preview interface may be an image preview interface of a camera application of the electronic device, or an image preview interface of an image processing application of the electronic device (for example, a gallery application in an electronic device system, a third-party art designing application, etc.).
Optionally, in the embodiment of the present invention, the electronic device may display at least one root image in the form of a thumbnail in the image preview interface. For example, as shown in fig. 5 (a), the electronic device may display a root image a, a root image B, a root image C, a root image D, a root image E, and a root image F in the form of thumbnails in the image preview interface.
Optionally, in this embodiment of the present invention, the first root image may be one root image in the at least one root image, or may be multiple root images in the at least one root image. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the first input may be a click input of the user on the first root image, a re-press input of the user on the first root image, a long-press input of the user on the first root image, or the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S302, the electronic equipment responds to the first input, and generates at least one derivative image of the first root image according to the first root image and the at least one piece of processing information.
The at least one piece of processing information is history processing information of processing the first root image, which is stored in the electronic equipment. It can be understood that the history processing information for processing the first root image in the second process is history processing information for processing the first root image in the first process.
In an embodiment of the present invention, after the electronic device receives a first input from the user, the electronic device may generate, in response to the first input, at least one derivative image of the first root image from the first root image and the at least one processing information. Specifically, after the electronic device receives a first input from the user, the electronic device may search, in response to the first input, at least one piece of processing information stored in correspondence with the first root image from multiple sets of contents (see the related description in the process one above) stored in the electronic device. After the electronic device obtains the at least one piece of processing information stored in correspondence with the first root image, the electronic device may process the first root image according to the at least one piece of processing information to obtain at least one derivative image of the first root image.
Optionally, in this embodiment of the present invention, in the above S302, the process that the electronic device generates the at least one derivative image according to the first root image and the at least one piece of processing information may be implemented by the following two possible implementation manners.
In a possible implementation manner, the electronic device may generate a derivative image of the first root image according to the first root image and one piece of processing information, and so on, and after the electronic device processes the first root image according to each piece of processing information, at least one derivative image of the first root image may be obtained.
For example, in the possible implementation manner, the above S302 may be specifically implemented by the below-described S302 a.
S302a, for each piece of processing information in the at least one piece of processing information, the electronic device generates a derivative image of the first root image according to the first root image and the one piece of processing information, and obtains at least one derivative image.
In the embodiment of the present invention, after the electronic device acquires at least one piece of processing information stored in correspondence with the first root image, the electronic device processes the first root image according to one piece of processing information in the at least one piece of processing information to obtain one derivative image of the first root image, and so on.
Illustratively, it is assumed that the at least one processing information includes three processing information, which are: mosaic information, luminance information, and blurring information. After the electronic device obtains the processing information, the electronic device may process the first root image according to the mosaic information to generate a derivative image, and then the electronic device may process the first root image according to the luminance information to generate a derivative image, and then the electronic device may process the first root image according to the blurring information to generate a first derivative image, so that the electronic device may obtain three derivative images.
In another possible implementation manner, the electronic device may generate a derivative image of the first root image according to the first root image and the plurality of processing information, and so on, the electronic device may generate at least one derivative image.
For example, in another possible implementation manner, it is assumed that the at least one piece of processing information includes three pieces of processing information, which are: mosaic information, luminance information, and blurring information. After the electronic device acquires the processing information, the electronic device may process the first root image according to the mosaic information and the luminance information to generate a derivative image; the electronic equipment can process the first image according to the mosaic information and the blurring information to generate a derivative image; the electronic equipment can process the first root image according to the brightness information and the blurring information to generate a first derivative image; then the electronic equipment can process the first image according to the mosaic information, the brightness information and the blurring information to generate a derivative image; so that the electronic device can obtain four derivative images.
S303, the electronic equipment displays at least one derivative image.
In an embodiment of the present invention, after the electronic device generates at least one derivative image of the first root image, the electronic device may display the at least one derivative image.
Illustratively, as shown in fig. 6, after the electronic device generates at least one derivative image of the first root image, the electronic device may display the at least one derivative image. Wherein the at least one derived image comprises derived image 1, derived image 2, derived image 3, derived image 4 and derived image 5.
In the image display method provided by the embodiment of the invention, because the root image and the history processing information for processing the root image can be correspondingly stored in the electronic device, a user can trigger the electronic device to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image according to the root image and the history processing information which is correspondingly stored with the root image through one input, and display the plurality of versions of images without sequentially searching the plurality of versions of images in a gallery of the electronic device by the user, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images can be improved.
Optionally, in this embodiment of the present invention, after the electronic device receives the first input of the user, before the electronic device generates at least one derivative image of the first root image according to the first root image and the at least one piece of processing information, the electronic device may display at least one thumbnail. The user inputs one or more thumbnails of the at least one thumbnail, that is, the electronic device may be triggered to generate a derivative image indicated by the first thumbnail from the derivative images of the first root image according to the processing information corresponding to the first root image and the thumbnails (that is, the first thumbnail described below). For the description of the thumbnail, reference may be specifically made to the related description of the thumbnail in the above-mentioned process one, and details are not repeated here to avoid repetition.
For example, after the above S301 and before the above S302, the image display method according to the embodiment of the present invention may include the following S304, and the above S302 may be specifically implemented by the following S302b to S302 c.
S304, the electronic equipment responds to the first input and displays at least one thumbnail.
Each thumbnail in the at least one thumbnail may be a thumbnail of one derivative image in the derivative image of the first root image.
In an embodiment of the present invention, after the electronic device receives a first input of a user to a first root image of the at least one root image, the electronic device may display at least one thumbnail in the image preview interface. Specifically, the electronic device may first search for a thumbnail image stored in correspondence with the first root image from multiple sets of content stored in the electronic device, and after the electronic device finds at least one thumbnail image stored in correspondence with the first root image, the electronic device may display the at least one thumbnail image.
Optionally, in the embodiment of the present invention, the electronic device may further display a thumbnail of the first root image in the image preview interface, so that the user may view the first root image conveniently. Specifically, after the user performs one input on the thumbnail of the first root image, the electronic device may enlarge and display the thumbnail of the first root image.
It will be appreciated that the thumbnail of the derivative image and the thumbnail of the first root image displayed in the image preview interface may be in different forms. Specifically, after the user triggers the electronic device to perform a thumbnail operation on the derivative image, the electronic device may generate the derivative image; after the user triggers the thumbnail operation of the first root image by the electronic device, the electronic device may enlarge and display the thumbnail of the first root image.
S302, the electronic device receives a second input of the user to the first thumbnail in the at least one thumbnail.
Optionally, in the embodiment of the present invention, the second input may be a click input of the user on the first thumbnail, a re-press input of the user on the first thumbnail, a long-press input of the user on the first thumbnail, or the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the first thumbnail may be one thumbnail in at least one thumbnail, or may be multiple thumbnails in at least one thumbnail.
S302c, the electronic device responds to the second input, and generates a derivative image indicated by the first thumbnail in the derivative images of the first root image according to the processing information corresponding to the first root image and the first thumbnail.
The processing information corresponding to the first thumbnail can be understood as: and processing information stored corresponding to the first thumbnail in the plurality of groups of contents stored by the electronic equipment.
In the embodiment of the present invention, after the electronic device receives a second input from the user, the electronic device may generate, in response to the second input, a derivative image indicated by the first thumbnail in the derivative images of the first root image according to the processing information corresponding to the first root image and the first thumbnail. Specifically, after the electronic device receives the second input of the user, the electronic device may search, in the multiple sets of content stored in the electronic device, for the processing information stored in correspondence with the first thumbnail. After the electronic device finds the processing information stored corresponding to the first thumbnail, the electronic device may process the first root image according to the processing information, so as to obtain a derivative image indicated by the first thumbnail.
Further, the electronic device can display a derivative image indicated by the first thumbnail in the image preview interface.
It will be appreciated that where the first thumbnail is a plurality of thumbnails in at least one thumbnail, the electronic device may perform the above-described process for each thumbnail so that a derivative image indicated by each thumbnail may be obtained.
The above-mentioned S304, S302b, and S302c are exemplarily described below with reference to fig. 5.
For example, in the case where the electronic device displays the root image a, the root image B, the root image C, the root image D, the root image E, and the root image F, as shown in (a) of fig. 5, after the user performs the first input to the root image a, the electronic device may search for at least one thumbnail image stored corresponding to the root image a from among the plurality of sets of contents stored in the electronic device, and, as shown in (B) of fig. 5, the electronic device may display the at least one thumbnail image. Wherein the at least one thumbnail may include: thumbnail 1, thumbnail 2, thumbnail 3, thumbnail 4, and thumbnail 5. After the user performs the second input on the thumbnail 1, the electronic device may search, from the multiple sets of content stored in the electronic device, processing information stored in correspondence with the thumbnail 1, process the root image a according to the processing information, obtain a derivative image indicated by the thumbnail 1, and display the derivative image.
In the embodiment of the invention, the electronic equipment can display the thumbnail indicating each derivative image, so that a user can know the content of the derivative image by looking up the thumbnail, the user can trigger the generation of the derivative image indicated by the specific thumbnail according to actual requirements, and the convenience and the flexibility of generating the derivative image can be improved.
Optionally, in the embodiment of the present invention, after the electronic device displays at least one thumbnail, a user may trigger the electronic device to delete the thumbnail and the processing information corresponding to the thumbnail by inputting a certain thumbnail.
The thumbnail deletion and the processing information corresponding to the thumbnail can be understood as the derivative image indicated by the thumbnail cannot be recovered, so that the images which do not meet the user requirements in the images after the historical processing can be removed by the user conveniently, and the storage space of the electronic equipment can be saved.
For example, after S303 described above, the image display method according to the embodiment of the present invention may further include S305 to S306 described below.
S305, the electronic equipment receives a third input of the user to a second thumbnail in the at least one thumbnail.
Optionally, in this embodiment of the present invention, the third input may include a third sub-input and a fourth sub-input. The third sub-input is input of a user to the second thumbnail; the fourth sub-input is a user input to a delete control, such as the control shown at 51 of (b) in fig. 5.
Optionally, in this embodiment of the present invention, the second thumbnail may be one of the at least one thumbnail, or may be multiple thumbnails of the at least one thumbnail. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, the second thumbnail and the first thumbnail may be the same or different. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
S306, the electronic equipment responds to the third input, and the second thumbnail and the processing information corresponding to the second thumbnail are deleted.
In the embodiment of the present invention, after the electronic device receives a third input from the user, the electronic device may delete the second thumbnail and the processing information corresponding to the second thumbnail in response to the third input. Specifically, after the user performs the third sub-input on the second thumbnail, that is, the electronic device receives the third sub-input of the user, the electronic device may lock the second thumbnail, and then the user may perform the fourth sub-input on the deletion control, that is, after the electronic device receives the fourth sub-input of the user, the electronic device may delete the second thumbnail and delete the processing information stored corresponding to the second thumbnail from the sets of content stored in the electronic device.
In the embodiment of the invention, after the electronic equipment displays at least one thumbnail, because the user can trigger the electronic equipment to delete the thumbnail and the processing information corresponding to the thumbnail through inputting a certain thumbnail, namely the electronic equipment cannot recover the derivative image indicated by the thumbnail, the user can conveniently remove the image which does not meet the user requirement in the image after the user is subjected to historical processing, and further the storage space of the electronic equipment can be saved.
Optionally, in the embodiment of the present invention, after the electronic device displays at least one root image, a user may trigger the electronic device to delete the root image through an input to a certain root image in the at least one root image, and the electronic device may replace the root image with a derivative image with the highest similarity to the root image in the derivative images corresponding to the root image.
It should be noted that the derivative image with the highest similarity to the root image may be understood as: and the derivative image with the highest image information similarity with the root image. The image information may include image content, image display parameters (e.g., image brightness, image contrast), and the like.
Illustratively, the image display method provided by the embodiment of the present invention may further include S307 to S308 described below.
And S307, under the condition that the at least one root image is displayed in the image preview interface of the electronic equipment, the electronic equipment receives fourth input of a user to a second root image in the at least one root image.
Optionally, in an embodiment of the present invention, the fourth input may include a fifth sub-input and a sixth sub-input. The fifth sub-input is input of a second image by the user; the sixth child input is a user input to a delete control, such as the control shown at 50 of (a) in fig. 5.
Optionally, in this embodiment of the present invention, the second image and the first image may be the same or different. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And S308, the electronic device responds to a fourth input and replaces the second root image with the first derivative image.
The first derivative image may be a derivative image with the highest similarity to the second image among the derivative images of the second image.
In an embodiment of the present invention, after the electronic device receives a fourth input from the user, the electronic device may replace the second root image with the first derivative image in response to the fourth input. Specifically, after the user performs the fifth sub-input on the second root image, that is, the electronic device receives the fifth sub-input of the user, the electronic device may lock the second root image. The user may then perform a sixth sub-input to the delete control, i.e. after the electronic device receives the sixth sub-input of the user, the electronic device may retrieve, from the plurality of sets of content stored by the electronic device, at least one processing information stored in correspondence with the second image, and the electronic device may then determine, based on the at least one processing information, processing the second image to obtain at least one derivative image of the second image, and then the electronic device may compare image information of the at least one derivative image with image information of the second image to determine a derivative image with the highest similarity to the image information of the second image (i.e. the first derivative image) in the at least one derivative image, the electronic device may thus replace the second root image with the first derivative image, i.e. the electronic device deletes the second root image and takes the first derivative image as a new root image.
Further, the electronic device may delete the processing information corresponding to the first derivative image and the thumbnail of the first derivative image.
Optionally, in this embodiment of the present invention, the electronic device may compare each image information of the at least one derived image with the image information of the second image, so as to determine a derived image with the highest matching degree with all image information of the second image in the at least one derived image.
In the embodiment of the invention, as the electronic equipment can display at least one root image, the user can trigger the electronic equipment to delete the root image by inputting the root image, so that the user can trigger the electronic equipment to delete the specific root image according to actual requirements, and the convenience and flexibility for deleting the root image can be improved.
Further, after the electronic device deletes the root image, the electronic device may automatically determine, from the derivative images corresponding to the root image, a derivative image with the highest similarity to the root image, and may replace the derivative image with the determined derivative image, so as to improve a viewing entry for other derivative images.
Optionally, in this embodiment of the present invention, after the electronic device displays the at least one derivative image of the first root image, if the user performs some (for example, mosaic processing, filter processing, and the like) processing on a certain derivative image of the at least one derivative image, the electronic device may update the processing information corresponding to the derivative image to include the processing information corresponding to the derivative image and the processing information for processing the derivative image.
For example, after S303, the image display method according to the embodiment of the present invention may further include S309 to S010 described below.
S309, the electronic device receives a fifth input of the user to a second derivative image of the at least one derivative image.
Optionally, in an embodiment of the present invention, the fifth input may include a seventh sub-input, an eighth sub-input, and a ninth sub-input. Wherein the seventh sub-input is input by the user to the second derivative image; the eighth sub-input is user input to an image processing control of the at least one image processing control in process one above, and the ninth sub-input is user input to a completion control (e.g., the control shown at 60 in FIG. 6).
S3010, the electronic device updates the first processing information to the second processing information in response to the fifth input.
The first processing information may be processing information corresponding to the second derivative image before the electronic device receives the fifth input, and the second processing information may include the first processing information and the processing information corresponding to the fifth input.
Optionally, in this embodiment of the present invention, the processing information corresponding to the fifth input may specifically be processing information corresponding to an eighth sub-input. Wherein, the processing information corresponding to the eighth sub-input can be understood as: processing information for performing a function corresponding to the image processing control on the second derivative image.
In the embodiment of the present invention, after the electronic device receives the fifth input from the user, the electronic device may update the first processing information to the second processing information in response to the fifth input. Specifically, after the user performs the seventh sub-input on the second derivative image, that is, the electronic device receives the seventh sub-input of the user, the electronic device may lock the second derivative image, and then the user may perform the eighth sub-input on one of the at least one image processing control, that is, after the electronic device receives the eighth sub-input of the user, the electronic device may perform processing on the second derivative image according to a function corresponding to the image processing control, obtain a processed derivative image (hereinafter, referred to as a third derivative image), and display the third derivative image. Finally, the user may execute a ninth sub-input on the completion control, and after the electronic device receives the ninth sub-input of the user, the electronic device may update the processing information corresponding to the second derivative image to the second processing information, that is, the processing information corresponding to the second derivative image and the processing information corresponding to the fifth input. Therefore, the electronic device can finally store the processing information corresponding to the first root image, the second derivative image and the fifth input.
In the embodiment of the invention, after the user triggers the electronic equipment to process a certain derivative image, the electronic equipment can automatically update the processing information corresponding to the derivative image, so that the processing information corresponding to the derivative image can be accurately updated in real time when the certain derivative image is modified, and the user can conveniently view the updated derivative image.
In the embodiment of the present invention, the image display methods shown in the above-mentioned method drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the image display methods shown in the above method drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and are not described herein again.
As shown in fig. 7, an embodiment of the present invention provides an electronic device 400, where the electronic device 400 includes a receiving module 401, a processing module 402, and a display module 403. The receiving module 401 may be configured to receive a first input of a user to a first root image in the at least one root image in a case that the at least one root image is displayed in the image preview interface; a processing module 402, configured to generate, in response to the first input received by the receiving module 401, at least one derivative image of the first root image according to the first root image and at least one piece of processing information, where the at least one piece of processing information may be historical processing information of processing on the first root image stored in the electronic device; a display module 403, which may be configured to display the at least one derived image generated by the processing module 402.
Optionally, in this embodiment of the present invention, the processing module 402 may be specifically configured to, for each processing information in the at least one processing information, generate a derivative image of the first root image according to the first root image and the one processing information, and obtain at least one derivative image.
Optionally, in this embodiment of the present invention, the display module 403 may be further configured to display at least one thumbnail before the processing module 402 generates at least one derivative image of the first root image according to the first root image and the at least one processing information, where each thumbnail may be a thumbnail of one derivative image in the first root image; the receiving module 401 may be further configured to receive a second input of the user to a first thumbnail in the at least one thumbnail displayed by the display module 403; the processing module 402 may be specifically configured to generate, in response to the second input received by the receiving module 401, a derivative image indicated by the first thumbnail in the derivative images of the first root image according to the processing information corresponding to the first root image and the first thumbnail.
Optionally, in this embodiment of the present invention, the receiving module 401 may be further configured to receive a third input of a user to a second thumbnail of the at least one thumbnail after the display module 403 displays the at least one thumbnail; the processing module 402 may be further configured to delete the second thumbnail and the processing information corresponding to the second thumbnail in response to the third input received by the receiving module 401.
Optionally, in this embodiment of the present invention, the receiving module 401 may be further configured to receive, when the at least one root image is displayed in the image preview interface, a fourth input of the second root image in the at least one root image by the user; a processing module 402, further operable to replace the second root image with the first derivative image in response to a fourth input received by the receiving module 401; the first derived image may be a derived image with the highest similarity to the second image in the derived images of the second image.
Optionally, in an embodiment of the present invention, the receiving module 401 may be further configured to receive a fifth input of a second derived image in the at least one derived image from the user after the display module 403 displays the at least one derived image; the processing module 402 may be further configured to update the first processing information to the second processing information in response to a fifth input received by the receiving module 401; the first processing information is processing information corresponding to the second derivative image before the fifth input is received, and the second processing information may include the first processing information and processing information corresponding to the fifth input.
Optionally, in this embodiment of the present invention, the receiving module 401 may be further configured to receive a sixth input of the first root image from the user when the first root image is displayed; the processing module 402 may be further configured to, in response to the sixth input received by the receiving module 401, perform processing corresponding to the sixth input on the first root image, and correspondingly store the first root image and processing information corresponding to the sixth input.
The electronic device 400 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described here again to avoid repetition.
In a case that at least one root image is displayed in an image preview interface of an electronic device, if the electronic device receives a first input of a user to a first root image of the at least one root image, the electronic device may generate, in response to the first input, at least one derivative image of the first root image according to the first root image and at least one piece of processing information (history processing information for processing the first root image stored in the electronic device), and then the electronic device may display the at least one derivative image. According to the scheme, the root image and the history processing information for processing the root image can be correspondingly stored in the electronic equipment, so that a user can trigger the electronic equipment to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image is processed according to the root image and the history processing information correspondingly stored with the root image through one input, and display the plurality of versions of images, and the user does not need to sequentially search the plurality of versions of images in a gallery of the electronic equipment, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images is improved.
Fig. 8 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 8, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 107 may be configured to receive a first input of a user to a first root image of the at least one root image when the at least one root image is displayed in the image preview interface; a processor 110 operable to generate at least one derivative image of the first root image from the first root image and the at least one processing information in response to a first input received by the user input unit 107; the display unit 106 may also be configured to display at least one derived image generated by the processor 110. Wherein the at least one piece of processing information may be history processing information of processing the first root image stored in the electronic device.
It can be understood that, in the embodiment of the present invention, the receiving module 401 in the structural schematic diagram of the electronic device (for example, fig. 7) may be implemented by the user input unit 107. The processing module 402 in the structural schematic diagram of the electronic device (for example, fig. 7) may be implemented by the processor 110. The display module 403 in the structural schematic diagram of the electronic device (for example, fig. 7) can be implemented by the display unit 106.
In a case that at least one root image is displayed in an image preview interface of an electronic device, if the electronic device receives a first input of a user to a first root image of the at least one root image, the electronic device may generate, in response to the first input, at least one derivative image of the first root image according to the first root image and at least one piece of processing information (history processing information for processing the first root image stored in the electronic device), and then the electronic device may display the at least one derivative image. According to the scheme, the root image and the history processing information for processing the root image can be correspondingly stored in the electronic equipment, so that a user can trigger the electronic equipment to automatically generate a plurality of versions of images (namely a plurality of derivative images of the root image) after the history processing of the root image is processed according to the root image and the history processing information correspondingly stored with the root image through one input, and display the plurality of versions of images, and the user does not need to sequentially search the plurality of versions of images in a gallery of the electronic equipment, so that the process of viewing the plurality of versions of images of the same image can be simplified, and the efficiency of viewing the plurality of versions of images is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
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 apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a 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 (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs 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. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 8, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Optionally, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the image display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An image display method applied to an electronic device, the method comprising:
receiving a first input of a user to a first root image in at least one root image under the condition that the at least one root image is displayed in an image preview interface;
generating at least one derivative image of the first root image according to the first root image and at least one piece of processing information in response to the first input, wherein the at least one piece of processing information is historical processing information of the first root image stored in the electronic equipment;
displaying the at least one derived image;
receiving a fourth input of a user to a second root image of the at least one root image under the condition that the at least one root image is displayed in the image preview interface;
replacing the second root image with a first derivative image in response to the fourth input;
wherein the first derivative image is a derivative image with the highest similarity to the second image in the derivative images of the second image.
2. The method of claim 1, wherein generating at least one derivative image of the first root image from the first root image and at least one processing information comprises:
and for each piece of processing information in the at least one piece of processing information, generating a derivative image of the first root image according to the first root image and one piece of processing information to obtain the at least one derivative image.
3. The method according to claim 1 or 2, wherein before generating at least one derivative image of the first root image from the first root image and at least one processing information, the method further comprises:
displaying at least one thumbnail, wherein each thumbnail is a thumbnail of one derivative image in the derivative images of the first root image;
receiving a second input of a user to a first thumbnail of the at least one thumbnail;
said generating at least one derivative image of said first root image from said first root image and at least one processing information comprises:
and responding to the second input, and generating a derivative image indicated by the first thumbnail in the derivative images of the first root image according to the processing information corresponding to the first root image and the first thumbnail.
4. The method of claim 3, wherein after the displaying at least one thumbnail, the method further comprises:
receiving a third input of a user to a second thumbnail of the at least one thumbnail;
and in response to the third input, deleting the second thumbnail and the processing information corresponding to the second thumbnail.
5. The method of claim 1, wherein after said displaying said at least one derived image, said method further comprises:
receiving a fifth input of a user to a second derivative image of the at least one derivative image;
updating the first processing information to second processing information in response to the fifth input;
wherein the first processing information is processing information corresponding to the second derivative image before the fifth input is received; the second processing information includes the first processing information and processing information corresponding to the fifth input.
6. The method of claim 1, further comprising:
receiving a sixth input of the first root image by a user in a case where the first root image is displayed;
and responding to the sixth input, executing the processing corresponding to the sixth input on the first root image, and correspondingly storing the processing information corresponding to the first root image and the sixth input.
7. An electronic device, comprising a receiving module, a processing module, and a display module;
the receiving module is used for receiving a first input of a user to a first root image in at least one root image under the condition that the at least one root image is displayed in the image preview interface;
the processing module is configured to generate, in response to the first input received by the receiving module, at least one derivative image of the first root image according to the first root image and at least one piece of processing information, where the at least one piece of processing information is history processing information stored in the electronic device for processing the first root image;
the display module is used for displaying the at least one derived image generated by the processing module;
the receiving module is further configured to receive a fourth input of a second root image of the at least one root image from a user in a case that the at least one root image is displayed in the image preview interface;
the processing module further configured to replace the second root image with a first derivative image in response to the fourth input received by the receiving module; wherein the first derivative image is a derivative image with the highest similarity to the second image in the derivative images of the second image.
8. The electronic device of claim 7,
the processing module is specifically configured to, for each piece of processing information in the at least one piece of processing information, generate a derivative image of the first root image according to the first root image and one piece of processing information, and obtain the at least one derivative image.
9. The electronic device of claim 7 or 8,
the display module is further configured to display at least one thumbnail before the processing module generates at least one derivative image of the first root image according to the first root image and the at least one piece of processing information, where each thumbnail is a thumbnail of one derivative image in the derivative images of the first root image;
the receiving module is further used for receiving a second input of a user to a first thumbnail in the at least one thumbnail displayed by the display module;
the processing module is specifically configured to generate, in response to the second input received by the receiving module, a derivative image indicated by the first thumbnail in a derivative image of the first root image according to processing information corresponding to the first root image and the first thumbnail.
10. The electronic device of claim 9,
the receiving module is further configured to receive a third input of a user to a second thumbnail of the at least one thumbnail after the display module displays the at least one thumbnail;
the processing module is further configured to delete the second thumbnail and the processing information corresponding to the second thumbnail in response to the third input received by the receiving module.
11. The electronic device of claim 7,
the receiving module is further configured to receive a fifth input of a user to a second derivative image of the at least one derivative image after the display module displays the at least one derivative image;
the processing module is further configured to update the first processing information to the second processing information in response to the fifth input received by the receiving module; wherein the first processing information is processing information corresponding to the second derivative image before the fifth input is received; the second processing information includes the first processing information and processing information corresponding to the fifth input.
12. The electronic device of claim 7,
the receiving module is further configured to receive a sixth input of the first root image from the user in a case where the first root image is displayed;
the processing module is further configured to, in response to the sixth input received by the receiving module, perform processing corresponding to the sixth input on the first root image, and correspondingly store processing information corresponding to the first root image and the sixth input.
CN201911366277.5A 2019-12-26 2019-12-26 Image display method and electronic equipment Active CN111049989B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911366277.5A CN111049989B (en) 2019-12-26 2019-12-26 Image display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911366277.5A CN111049989B (en) 2019-12-26 2019-12-26 Image display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111049989A CN111049989A (en) 2020-04-21
CN111049989B true CN111049989B (en) 2021-04-06

Family

ID=70240160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911366277.5A Active CN111049989B (en) 2019-12-26 2019-12-26 Image display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111049989B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949785A (en) * 2020-07-16 2022-01-18 北京字节跳动网络技术有限公司 Image processing operation processing method and device, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110886A (en) * 2006-07-21 2008-01-23 鸿富锦精密工业(深圳)有限公司 Method and apparatus for processing, saving and displaying digital photograph
CN101662584A (en) * 2008-08-28 2010-03-03 索尼株式会社 Information processing apparatus and method and computer program
CN103440304A (en) * 2013-08-22 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method and device for storing picture
JP2014154971A (en) * 2013-02-06 2014-08-25 Canon Inc Image display device, image display method, and program
CN104240175A (en) * 2013-06-08 2014-12-24 阿里巴巴集团控股有限公司 Image editing and rendering method and device
CN105589942A (en) * 2015-12-16 2016-05-18 北京金山安全软件有限公司 Picture display method and device and electronic equipment
CN106993093A (en) * 2017-03-30 2017-07-28 努比亚技术有限公司 A kind of image processing apparatus and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885862B (en) * 2012-12-20 2020-04-24 联想(北京)有限公司 Image display method and device
US9830687B2 (en) * 2013-02-28 2017-11-28 Hitachi, Ltd. Image processing device, magnetic resonance imaging apparatus and image processing method
US9489727B2 (en) * 2015-01-30 2016-11-08 Multimedia Image Solution Limited Method for generating a preferred image by replacing a region of a base image
CN109816679A (en) * 2018-12-19 2019-05-28 维沃移动通信有限公司 A kind of image processing method and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110886A (en) * 2006-07-21 2008-01-23 鸿富锦精密工业(深圳)有限公司 Method and apparatus for processing, saving and displaying digital photograph
CN101662584A (en) * 2008-08-28 2010-03-03 索尼株式会社 Information processing apparatus and method and computer program
JP2014154971A (en) * 2013-02-06 2014-08-25 Canon Inc Image display device, image display method, and program
CN104240175A (en) * 2013-06-08 2014-12-24 阿里巴巴集团控股有限公司 Image editing and rendering method and device
CN103440304A (en) * 2013-08-22 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Method and device for storing picture
CN105589942A (en) * 2015-12-16 2016-05-18 北京金山安全软件有限公司 Picture display method and device and electronic equipment
CN106993093A (en) * 2017-03-30 2017-07-28 努比亚技术有限公司 A kind of image processing apparatus and method

Also Published As

Publication number Publication date
CN111049989A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN110891144B (en) Image display method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN110908558B (en) Image display method and electronic equipment
CN109917995B (en) Object processing method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN109828731B (en) Searching method and terminal equipment
CN110099296B (en) Information display method and terminal equipment
CN111596990B (en) Picture display method and device
CN110703972B (en) File control method and electronic equipment
CN110231972B (en) Message display method and terminal equipment
CN110457935B (en) Permission configuration method and terminal equipment
JP7371254B2 (en) Target display method and electronic equipment
CN111142723A (en) Icon moving method and electronic equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN110209324B (en) Display method and terminal equipment
CN109067975B (en) Contact person information management method and terminal equipment
CN111399715B (en) Interface display method and electronic equipment
CN111049989B (en) Image display method and electronic equipment
CN109840126B (en) Interface display method and terminal equipment
CN111050223A (en) Bullet screen information processing method and electronic equipment
CN110750200A (en) Screenshot picture processing method and terminal equipment
CN111026454A (en) Function starting method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant