CN110908558B - Image display method and electronic equipment - Google Patents

Image display method and electronic equipment Download PDF

Info

Publication number
CN110908558B
CN110908558B CN201911046260.1A CN201911046260A CN110908558B CN 110908558 B CN110908558 B CN 110908558B CN 201911046260 A CN201911046260 A CN 201911046260A CN 110908558 B CN110908558 B CN 110908558B
Authority
CN
China
Prior art keywords
input
preview image
thumbnail
image
target object
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
CN201911046260.1A
Other languages
Chinese (zh)
Other versions
CN110908558A (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN201911046260.1A priority Critical patent/CN110908558B/en
Publication of CN110908558A publication Critical patent/CN110908558A/en
Priority to PCT/CN2020/112693 priority patent/WO2021082711A1/en
Application granted granted Critical
Publication of CN110908558B publication Critical patent/CN110908558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an image display method and electronic equipment, relates to the technical field of communication, and aims to solve the problem of low operation efficiency of amplifying a target object in a preview image in the prior art. The method comprises the following steps: receiving a first input of a user in a case where the first preview image is displayed; and responding to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image, wherein the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail comprises an imaging frame which is used for indicating the position of the partial area in the first preview image.

Description

Image display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image display method and electronic equipment.
Background
With the continuous development of terminal technology, the image preview function of the electronic device is more and more powerful. For example, in the process of image preview, the user's demand for enlarging a preview image is increasing.
Taking an example that a user enlarges a preview image in a shooting preview interface, at present, under the condition that a shot object is far away or the shot object is small, the user needs to enlarge an image of a target object in the preview image by a method of adjusting the zoom factor of the image, so that the aim of making the image of the target object clear is fulfilled. However, when the zoom factor is too large, only a partial image of the target object may be included in the preview image, or even an image of the target object may not be included. At this point, the user may need to move the electronic device so that the imaging area includes an image of the target object. However, when the zoom factor is too large or there are many objects similar to the target object in the shooting scene, the operation of the user to control the imaging area to include the image of the target object is complicated. For example, the user may need to repeatedly move the electronic device, and may even need to zoom out again, reposition the zoom position, and zoom in again to include the image of the target object in the imaging area.
Therefore, the conventional technique is inefficient in the operation of enlarging the target object in the preview image.
Disclosure of Invention
The embodiment of the invention provides an image display method and electronic equipment, and aims to solve the problem of low operation efficiency of amplifying a target object in a preview image in the prior art.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present invention provides an image display method applied to an electronic device, where the method includes: receiving a first input of a user in a case where the first preview image is displayed; and responding to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image, wherein the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail comprises an imaging frame which is used for indicating the position of the partial area in the first preview image.
In a second aspect, an embodiment of the present invention provides an electronic device, including: the device comprises a receiving module and a display module; the receiving module is used for receiving a first input of a user under the condition that the first preview image is displayed; the display module is used for responding to the first input received by the receiving module, and displaying a second preview image and a thumbnail corresponding to the first preview image, wherein the second preview image is an image obtained by amplifying a partial area of the first preview image, and the thumbnail comprises an imaging frame which is used for indicating the position of the partial area in the first preview image.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the image display method according to the first aspect.
In a fourth aspect, 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.
In the embodiment of the invention, the electronic equipment receives a first input of a user under the condition of displaying the first preview image; in response to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image (i.e., the image content of the first preview image is the same as the image content of the thumbnail, and the size of the first preview image is proportional to the size of the thumbnail), where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame for indicating the position of the partial area in the first preview image (i.e., the image content surrounded by the imaging frame in the thumbnail is the same as the image content of the second preview image, that is, the position of the second preview image in the first preview image can be determined according to the position of the imaging frame in the thumbnail). Through the scheme, the user can determine the position of the second preview image in the first preview image according to the position of the imaging frame in the thumbnail, and the user can determine the position of the target object in the first preview image according to the position of the target object which needs to be amplified by the user in the thumbnail, so that the user can determine how to input the target object according to the position relation between the imaging frame and the target object in the thumbnail, can quickly and accurately obtain the preview image (namely, the image of the amplified target object) containing the target object, and further can improve the operation efficiency of amplifying the target object in the preview image.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
FIG. 2 is a flowchart of an image display method according to an embodiment of the present invention;
FIG. 3 is a schematic view of an interface of an image display method according to an embodiment of the present invention;
FIG. 4 is a second flowchart of an image displaying method according to an embodiment of the present invention;
FIG. 5 is a third flowchart of an image displaying method according to an embodiment of the present invention;
fig. 6 (a) is a second schematic view of an interface of an image display method according to an embodiment of the present invention;
fig. 6 (b) is a third schematic view of an interface of an image display method according to an embodiment of the present invention;
FIG. 7 is a fourth flowchart of an image displaying method according to an embodiment of the present invention;
FIG. 8 is a fifth flowchart of an image displaying method according to an embodiment of the present invention;
FIG. 9 is a sixth flowchart of an image displaying method according to an embodiment of the present invention;
FIG. 10 is a fourth schematic view of an interface of an image display method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 12 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, but not all embodiments of the present application. 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 application.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, which 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," "second," "third," and "fourth," etc. in the description and claims of this application are used to distinguish between different objects, and are not used to describe a particular order of objects. For example, the first input, the second input, the third input, the fourth input, etc. are used to distinguish between the different inputs, rather than to describe a particular order of inputs.
In the present embodiments, words such as "exemplary" or "for example" are used to indicate 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 processing units means two or more processing units; plural elements means two or more elements, and the like.
The embodiment of the invention provides an image display method, wherein electronic equipment receives first input of a user under the condition of displaying a first preview image; in response to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image (i.e., the image content of the first preview image is the same as the image content of the thumbnail, and the size of the first preview image is proportional to the size of the thumbnail), where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame for indicating the position of the partial area in the first preview image (i.e., the image content surrounded by the imaging frame in the thumbnail is the same as the image content of the second preview image, that is, the position of the second preview image in the first preview image can be determined according to the position of the imaging frame in the thumbnail). Through the scheme, the user can determine the position of the second preview image in the first preview image according to the position of the imaging frame in the thumbnail, and the user can determine the position of the target object in the first preview image according to the position of the target object which needs to be amplified by the user in the thumbnail, so that the user can determine how to input the target object according to the position relation between the imaging frame and the target object in the thumbnail, can quickly and accurately obtain the preview image (namely, the image of the amplified target object) containing the target object, and further can improve the operation efficiency of amplifying the target object in the preview image.
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.
The system runtime layer comprises 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. The mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
An execution subject of the image display method provided in the embodiment of the present invention may be the electronic device (including a mobile electronic device and a non-mobile electronic device), or may also be a functional module and/or a functional entity capable of implementing the 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.
Referring to fig. 2, an embodiment of the present invention provides an image display method, which may include steps 201 to 202 described below.
Step 201, the electronic device receives a first input of a user when displaying the first preview image.
The image display method provided in the embodiment of the present invention may be applied to an image magnification scene, and specifically may include a magnification scene for an image stored in an electronic device, or a magnification scene for an image displayed on a shooting preview interface, and may further include other image magnification scenes, which is not limited in the embodiment of the present invention.
It should be noted that, in this embodiment of the present invention, the image stored in the electronic device may include an image stored locally (for example, in a gallery) in the electronic device, may also include an image cached in an application (for example, a shopping application, an instant social application, or the like), and may also include others, which is not limited in this embodiment of the present invention.
The first preview image is an image saved in the electronic device for an enlarged scene of an image stored in the electronic device. The first input is an input that increases the magnification of the first preview image.
For a magnified scene of an image displayed by a shooting preview interface, a first preview image is a preview image which is acquired by a camera of the electronic equipment and displayed in an imaging area when the camera is aligned to a first direction and the zoom factor is n. The n may be a default zoom multiple of the camera, or may not be the default zoom multiple of the camera (greater than the default zoom multiple of the camera or less than the default zoom multiple of the camera). The value range of n may be determined according to actual use requirements, and the embodiment of the present invention is not limited, for example, n is a number greater than or equal to 1. The first input is an input to increase the zoom factor.
Optionally, the first input may be a click input of the user on the first preview image (or the image preview interface), the first input may also be a slide input of the user on the first preview image (or the image preview interface), and the first input may also be other feasibility inputs, which is not limited in the embodiment of the present invention.
Illustratively, the click input may be any number of click inputs or multi-finger click inputs, such as a single click input, a double click input, a three click input, a double-finger click input, or a three-finger click input; the slide input may be a slide input in an arbitrary direction or a multi-finger slide input, for example, an upward slide input, a downward slide input, a leftward slide input, a rightward slide input, a two-finger slide input, or a three-finger slide input.
Step 202, the electronic device responds to the first input and displays the second preview image and the thumbnail corresponding to the first preview image.
The second preview image is an enlarged image of a partial region of the first preview image, and the thumbnail includes an imaging frame indicating a position of the partial region in the first preview image.
It is understood that the image content in the thumbnail is the same as the image content in the first preview image, and the image content enclosed by the imaging frame in the thumbnail is the same as the image content of the second preview image.
It can be understood that, in the case that the camera is aligned to the first orientation, in the process that the user adjusts the zoom factor to be large, the size of the image content displayed in the imaging area of the electronic device is enlarged, and the range of the displayed image content is reduced; in the process that the zoom factor is adjusted to be small by the user, the size of the image content displayed in the imaging area of the electronic equipment is reduced, and the range of the displayed image content is enlarged. When the photographing function of the electronic device is usually started, the zoom factor defaults to 1 (usually, the minimum zoom factor, indicated by 1 ×), and the user can adjust the zoom factor (increase the zoom factor or decrease the zoom factor) through a double-finger input on the preview interface.
In the embodiment of the present invention, the image (image content) of the second preview image and the image (image content) of the thumbnail are different. And when the zoom multiple of the second preview image is larger than n, the second preview image is displayed in the imaging area.
When the camera is aligned to the first direction and the zoom factor is n, the image displayed in the imaging area (the first preview image) is proportional to the thumbnail, and in the embodiment of the present invention, the ratio may be denoted as T1.
Optionally, the positional relationship between the imaging frame and the thumbnail is equal to the positional relationship between the local area and the first preview image.
It is to be understood that the positional relationship between the imaging frame and the thumbnail may be used to indicate the positional relationship between the partial region and the first preview image. When the image content of the second preview image changes (due to user input, movement of the camera, etc.), the positional relationship between the imaging frame and the thumbnail always changes with the change in the positional relationship between the second preview image (local area) and the first preview image, and both always correspond to each other.
It is further understood that the image in the imaging frame is the same as the image in the second preview image, specifically, the image content enclosed by the imaging frame in the thumbnail is the same as the image content in the second preview image, and it can also be said that the range of the image content enclosed by the imaging frame in the thumbnail is the same as the imaging range of the imaging area, but the size is proportional (the ratio is T1). In the embodiment of the invention, no matter how the user adjusts the zoom factor, the image content surrounded by the imaging frame in the thumbnail is always the same as the image content of the preview image displayed in the imaging area, so that the position of the image formed by the mobile phone imaging area in the thumbnail can be visually presented to the user. When the zoom multiple is n, the size of the imaging frame and the size of the thumbnail are the same; in the process of the user adjusting the zoom factor to be large, the thumbnail (the image obtained when the camera is always aligned to the first direction and the zoom factor is n) is not changed, the imaging frame is reduced, and the range of the image content of the preview image displayed in the imaging area is reduced (the size of the image content is enlarged).
It is understood that if a user moves the electronic device to change the position of the electronic device or if the camera of the electronic device can be automatically moved according to the input of the user (for example, a telescopic camera, the camera can be moved in a state of extending out of the housing of the electronic device, in the embodiment of the present invention, the movement includes a motion state of rotation, translation, and the like), the image formed by the imaging area of the electronic device will be changed, and the position of the imaging frame in the thumbnail will be changed.
Illustratively, as shown in fig. 3, a mark "1" indicates the second preview image, where a mark "7x" indicates that the zoom magnification of the second preview image is 7, a mark "2" indicates a thumbnail, and a mark "3" indicates an imaging frame.
It should be noted that, in the embodiment of the present invention, description is mainly performed on an enlarged scene of an image displayed on a shooting preview interface, and reference may be made to description on the enlarged scene of the image stored in the electronic device, which is related to the enlarged scene of the image displayed on the shooting preview interface, and details are not described here again.
The embodiment of the invention provides an image display method, wherein electronic equipment receives a first input of a user under the condition of displaying a first preview image; in response to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image (i.e., the image content of the first preview image is the same as the image content of the thumbnail, and the size of the first preview image is proportional to the size of the thumbnail), where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame for indicating the position of the partial area in the first preview image (i.e., the image content surrounded by the imaging frame in the thumbnail is the same as the image content of the second preview image, that is, the position of the second preview image in the first preview image can be determined according to the position of the imaging frame in the thumbnail). Through the scheme, the user can determine the position of the second preview image in the first preview image according to the position of the imaging frame in the thumbnail, and the user can determine the position of the target object in the first preview image according to the position of the target object which needs to be amplified by the user in the thumbnail, so that the user can determine how to input the target object according to the position relation between the imaging frame and the target object in the thumbnail, can quickly and accurately obtain the preview image (namely, the image of the amplified target object) containing the target object, and further can improve the operation efficiency of amplifying the target object in the preview image.
Optionally, in this embodiment of the present invention, in a case that the second preview image does not include the target object, the user may trigger the electronic device to display the preview image including the target object through an input.
Illustratively, referring to fig. 2, as shown in fig. 4, after step 202, the image display method provided by the embodiment of the present invention may further include the following steps 203 to 204.
In step 203, the electronic device receives a second input of the user when the target object is not included in the second preview image.
The second input is used to move the imaging frame to a position in the thumbnail where the target object is located.
The second input is used for triggering the electronic equipment to move the imaging frame to the position of the target object in the thumbnail.
The second preview image may include all of the target object, may include a portion of the target object, or may not include the target object at all. In the embodiment of the present invention, the situations that a part of the target object is included in the second preview image and the second preview image does not include the target object at all are recorded as that the target object is not included in the second preview image.
In the embodiment of the present invention, the second preview image does not include the target object, that is, the target object in the thumbnail is not located in the imaging frame.
Since the user can intuitively feel the position of the target object through the thumbnail, the user can operate the electronic device to change the image made by the imaging area of the electronic device according to the thumbnail, or the user can directly change the image made by the imaging area of the electronic device by operating the thumbnail.
The second input may be an input by the user to move a second preview image displayed by the image preview interface according to the position of the target object in the thumbnail for an enlarged scene of an image stored in the electronic device.
For an enlarged scene of an image displayed on the shooting preview interface, in a case that a camera of the electronic device cannot automatically move, the second input may be an input of the mobile electronic device (the user changes an image of an imaging area of the electronic device by moving the electronic device according to the thumbnail) according to a positional relationship of the target object in the thumbnail (or a positional relationship of the target object and the imaging frame in the thumbnail); in the case that the camera of the electronic device can be automatically moved, the second input may be an input that the user moves the imaging frame to the position of the thumbnail where the target object is located, and then the electronic device controls the camera to move according to the movement of the imaging frame, or the second input may also be an input that the user inputs to the target object in the thumbnail (i.e., an input that the target object is selected in the thumbnail, which may be a click input, a slide input, etc. of the target object in the thumbnail by the user) (the user changes an image of the imaging area of the electronic device by operating the thumbnail), and then the electronic device controls the camera to move according to the positional relationship between the imaging frame and the target object in the thumbnail.
For example, reference may be made to the description of the click input and the slide input in the above description of the first input in step 201, and details of the description are not repeated here.
In the embodiment of the present invention, the second preview image does not include the target object, and the user needs to capture an image including the target object (or enlarge the target object in the stored image, hereinafter referred to as enlarged target object), so that the user can trigger the electronic device to cause the preview image displayed in the imaging area to include the target object through the second input.
And step 204, the electronic equipment responds to the second input, and the third preview image is updated to be the third preview image.
The target object is included in the third preview image.
And the electronic equipment responds to the second input, the second preview image is updated to be a third preview image comprising the target object, and the user can trigger the electronic equipment to shoot the image comprising the target object according to the third preview image through shooting input.
It should be noted that, in the embodiment of the present invention, in the shooting process (or in the process of enlarging the target object), the thumbnail is used as a reference for the user to adjust the image formed in the imaging area, and may be always displayed in a floating manner on the preview image; when the shooting (or the amplification of the target object) is completed, the electronic equipment does not need to save the thumbnail and can automatically delete the thumbnail.
Optionally, in a case where the first preview image is an image stored in the electronic device, the second input is an input that the user moves the second preview image according to a position of the target object in the thumbnail. The second input may also be an input of a user moving the preview image in a direction indicated by the first identifier, the first identifier being generated by the electronic device according to the position of the target object in the thumbnail. For the description of the generation of the first identifier, reference may be made to the following description about the generation of the first identifier in the case that the first preview image is an image displayed on a shooting preview interface, and details are not repeated here.
Optionally, in a case that the first preview image is an image displayed on a shooting preview interface, the second input is any one of the following items: the user moves the input of the electronic equipment according to the position of the target object in the thumbnail; and the user moves the input of the electronic equipment according to the direction indicated by the first identifier, wherein the first identifier is generated by the electronic equipment according to the position of the target object in the thumbnail.
In one case, the second input is an input by a user to move the electronic device according to the position of the target object in the thumbnail. It can be understood that the user triggers the electronic device to move the imaging frame to the position of the target object in the thumbnail by moving the input of the electronic device according to the position of the target object in the thumbnail (which may also be the positional relationship between the target object and the imaging frame in the thumbnail).
In another case, the second input is an input of a user moving the electronic device in a direction indicated by the first identifier, and it can be understood that the user triggers the electronic device to move the imaging frame to a position of the target object in the thumbnail image by moving the input of the electronic device in the direction indicated by the first identifier, and the first identifier is generated by the electronic device according to the position of the target object in the thumbnail image (or the positional relationship between the target object and the imaging frame in the thumbnail image).
Optionally, in a case that the second input is an input that the user moves the electronic device in a direction indicated by the first identifier, before receiving the second input of the user, the electronic device needs to generate the first identifier according to the input of the user. In a possible situation, a user needs to firstly trigger the electronic device to determine a target object in the thumbnail through input, and then generate a first identifier according to the position relation between an imaging frame in the thumbnail and the target object; in another possible case, the user needs to determine the target object in the first preview image by inputting, then determine the target object in the thumbnail image when generating the thumbnail image, and finally generate the first identifier according to the positional relationship between the image frame in the thumbnail image and the target object.
Illustratively, in conjunction with fig. 4, as shown in fig. 5, before step 203, the image display method provided by the embodiment of the present invention may further include steps 205 to 206 described below.
Step 205, the electronic device receives a third input of the target object in the thumbnail from the user.
Optionally, the third input may be a click input of the user on the target object in the thumbnail, a slide input of the user on the target object in the thumbnail, or other feasible inputs of the user on the target object in the thumbnail, which is not limited in the embodiment of the present invention.
For example, reference may be made to the description of the click input and the slide input in the description of the first input in step 201, and details of the description are not repeated here.
Step 206, the electronic device generates a first identifier according to the position of the target object in the thumbnail in response to the third input.
It is to be understood that the electronic device obtains the target object in the thumbnail in response to the third input, and then generates the first identifier according to the position of the target object in the thumbnail (or the positional relationship between the target object and the imaging frame in the thumbnail).
Alternatively, the electronic device may calculate the position (coordinates) of an image (denoted as a') formed by the target object in the real scene exceeding the imaging area according to the position (coordinates) of the target object (denoted as a) in the thumbnail. Specifically, it can be obtained by the following formula: coordinate of a = coordinate of a T1 zoom factor of the electronic device. For the description of T1, reference may be made to the description of T1 in step 202, which is not repeated herein. The electronic device may generate the first identifier from the coordinates of a'.
Optionally, the electronic device may calculate a positional relationship between a ' and the imaging area according to the positional relationship between a and the imaging frame, and then obtain a coordinate of a ', so that the electronic device may generate the first identifier according to the coordinate of a '. Specific embodiments of the present invention are not described in detail.
For example, the first identifier may be a connecting line from a central point of the imaging area to a ', the first identifier may also be a connecting line from a to a', or another connecting line, and the embodiment of the present invention is not limited. The first mark may be a solid line, a dashed line, a ray with an arrow, a line segment without an arrow, or other lines, and the embodiments of the present invention are not limited.
Illustratively, as shown in fig. 6 (a), the first marker is a line connecting the center point of the imaging region to a' (indicated by a solid ray in the figure). Alternatively, as shown in fig. 6 (b), the first connecting line labeled a to a' (indicated by a solid line segment in the figure).
In the embodiment of the invention, the user triggers the electronic equipment to generate the first identifier by the third input of the target object in the thumbnail, and the user can more intuitively feel how to move the electronic equipment according to the first identifier under the condition that the electronic equipment displays the first identifier, so that the electronic equipment is more accurately moved.
Illustratively, the step 201 may be specifically realized by the following steps 201a to 201c, and the step 202 may be specifically realized by the following step 202 a.
Step 201a, in the case of displaying the first preview image, the electronic device receives a fourth input of the target object in the first preview image by the user.
The fourth input is an input by the user to select a target object in the first preview image. Optionally, the fourth input may be a click input of the user on the target object in the first preview image, a slide input of the user on the target object in the first preview image, or other feasibility inputs, which is not limited in the embodiment of the present invention.
For example, reference may be made to the description of the click input and the slide input in the description of the first input in step 201, and details of the description are not repeated here.
Step 201b, the electronic device responds to a fourth input, and displays a first mark in the first preview image.
The first marker is used to indicate the position of the target object in the first preview image.
It is appreciated that the electronic device displays a first marker at a location in the first preview image where the target object is located in response to the fourth input. The first mark may be determined according to actual use requirements, and the embodiment of the present invention is not limited. Illustratively, the first label is a'.
Step 201c, the electronic device receives a first input of the user to increase the zoom factor.
Optionally, the first input may be a two-finger input of the user on the first preview image, a click input or a slide input of the user on a control for adjusting the zoom factor, or other feasibility inputs, which is not limited in the embodiment of the present invention.
For example, the above-mentioned two-finger input may be a two-finger click input, a two-finger slide input, or the like; the click input can be click input of any number of times, such as click input, double-click input or triple-click input; the slide input may be a slide input in any direction, such as an upward slide input, a downward slide input, a leftward slide input, or a rightward slide input.
Step 202a, the electronic device, in response to the first input, updates the first preview image to a second preview image, displays the thumbnail on the second preview image, and displays the first identifier on the second preview image and the thumbnail.
The thumbnail also includes a second mark, where the second mark is used to indicate a position of the target object in the thumbnail (i.e., the second mark is displayed at a position of the target image in the thumbnail), the second mark is generated according to the first mark, and the first mark is generated according to a position of the second mark in the thumbnail (or a positional relationship between the target object and the imaging frame in the thumbnail).
The second mark is used to indicate the position of the target object in the thumbnail. The second mark may be determined according to actual use requirements, and the embodiment of the present invention is not limited. Illustratively, the second label is a. The electronic device may calculate the coordinates of a (second mark) according to the coordinates of a' (first mark), and the calculation formula may be: the coordinates of a = the coordinates of a'/zoom multiple of the electronic device/T1. For the description of T1, reference may be made to the description of T1 in step 202, which is not repeated herein.
The electronic equipment can also obtain the position relation between A' and the imaging area according to the position relation between A and the imaging frame.
For the description of the first identifier, reference may be made to the related description of the first identifier in step 206, which is not described herein again.
In the embodiment of the invention, before zooming in, the user triggers the electronic device to determine the target object on the first preview image through the fourth input, then triggers the electronic device to update the preview image (update the first preview image into the second preview image) and display the thumbnail through the first input of increasing the zooming in, determines the target object in the thumbnail according to the target object determined in the first preview image (display the second mark), and then generates the first identifier according to the position of the target object in the thumbnail. Under the condition that the electronic equipment displays the first identification, the user can more intuitively feel how to move the electronic equipment according to the first identification, so that the electronic equipment is more accurately moved.
Optionally, in a case that the first preview image is an image displayed on a shooting preview interface, if the camera of the electronic device can move automatically, the second input may be an input of the user for the thumbnail.
Illustratively, the second input is an input that the user moves the imaging frame to the position of the target object in the thumbnail, as shown in fig. 7 in conjunction with fig. 4, before step 204, the image display method provided by the embodiment of the present invention may further include step 207 described below.
And step 207, the electronic equipment responds to the second input, and moves the camera of the electronic equipment according to the movement of the imaging frame.
It can be understood that, because the camera of the electronic device can automatically move according to the control of the electronic device, the user can trigger the electronic device to move the camera according to the movement of the imaging frame through the input of the position where the target object in the thumbnail is located by moving the imaging frame, so that the camera can acquire the target object, and a preview image containing the target object can be obtained in the imaging area.
Illustratively, the second input is a user input to the target object in the thumbnail (the second input is a user input to select the target object in the thumbnail); referring to fig. 4, as shown in fig. 8, before step 204, the image display method provided in the embodiment of the present invention may further include step 208 described below.
And step 208, the electronic equipment responds to the second input, and moves the camera of the electronic equipment according to the position relation between the target object in the thumbnail and the imaging frame.
It can be understood that, because the camera of the electronic device can automatically move according to the control of the electronic device, a user can trigger the electronic device to automatically move the camera according to the positional relationship between the target object and the imaging frame in the thumbnail through the input of the target object in the thumbnail, so that the camera can acquire the target object and obtain a preview image containing the target object in the imaging area.
In the embodiment of the invention, various schemes for triggering the electronic equipment to move the imaging frame to the position of the target object in the thumbnail are provided, so that the camera can quickly acquire the target object and a preview image containing the target object is obtained in the imaging area.
Optionally, in this embodiment of the present invention, when the user triggers the electronic device to start the camera application (or start the image preview function for the stored image) through an input, the electronic device may display a popup window indicating whether the contrast shooting mode (or the contrast preview mode, that is, the preview mode for the stored image) is enabled (while the preview image is displayed, the above-mentioned thumbnail is displayed), and the user may trigger the electronic device to enable the contrast shooting mode (or the contrast preview mode) through an input selecting to enable the contrast shooting mode (or the contrast preview mode), and display a preview image interface. If the electronic device receives an input from the user to increase the zoom magnification (increase the image preview magnification), the electronic device updates the preview image and displays the thumbnail on the preview image.
Optionally, in this embodiment of the present invention, when the electronic device displays the image preview interface, a control for enabling the contrast shooting mode (or the contrast preview mode) may be included in the image preview interface, and a user may trigger the electronic device to enable the contrast shooting mode (or the contrast preview mode) by inputting the control for enabling the contrast shooting mode (or the contrast preview mode). If the electronic equipment receives input of increasing the zoom multiple by the user, the electronic equipment updates the preview image and displays the thumbnail on the preview image.
Optionally, in the embodiment of the present invention, when the electronic device displays the image preview interface, if the electronic device receives an input that a user increases a zoom multiple (increases an image preview multiple), the electronic device may display a control enabling a contrast shooting mode (or a contrast preview mode); if the electronic equipment receives the input of the user on the control for starting the contrast shooting mode (or the contrast preview mode), the electronic equipment starts the contrast shooting mode (or the contrast preview mode), updates the preview image and displays the thumbnail on the preview image.
Optionally, in one case, the requirement of the user for enlarged shooting can be met by once increasing the zoom factor, and in another case, the requirement of the user for enlarged shooting can be met by adjusting the zoom factor for multiple times. For the former case, the input of one zoom magnification increase is the user input on the preview image. For the latter case, the input of the zoom factor is adjusted to be the input of the user on the preview image before the electronic device displays the thumbnail; after the electronic device displays the thumbnail, the input for adjusting the zoom factor may be an input of the user on the preview image or an input of the user on the imaging frame, which is not limited in the embodiment of the present invention.
Illustratively, the steps 201 to 202 described above can be specifically realized by the steps 201d to 202b described below.
In step 201d, in the case of displaying the first preview image, the electronic device receives a first input of the user increasing the zoom factor.
For the description of the first input, reference may be made to the description of the first input in step 201c, and details are not repeated here.
Step 202b, the electronic device responds to the first input, updates the first preview image into a second preview image, and displays the thumbnail on the second preview image.
In the embodiment of the invention, under the condition that the electronic equipment displays the first preview image, if the input of increasing the zoom multiple by a user is received, the preview image is updated, and the thumbnail is displayed on the preview image in a suspension manner.
Illustratively, the first input is an input for increasing the zoom multiple, the first input includes a first target input and a second target input, the second target input is an input of the imaging frame by a user or the second target input is an input of the preview image by the user; referring to fig. 4, as shown in fig. 9, the above steps 201 to 202 can be specifically realized by the following steps 201e to 202c to 201f to 202 d.
Step 201e, the electronic device receives a first target input of the user when displaying the first preview image.
The first target input may be a two-finger input by the user on the first preview image.
For the description of the above-mentioned dual-finger input, reference may be specifically made to the description of the dual-finger input in the description of the first input in step 201c, and details are not repeated here.
Step 202c, the electronic device responds to the first target input, updates the first preview image into a fourth preview image, and displays the thumbnail on the fourth preview image.
Step 201f, the electronic device receives a second target input of the user.
The second target input may be a two-finger input of the user on the imaging frame, and the second target input may also be a two-finger input of the user on the fourth preview image, which is not limited in the embodiment of the present invention.
Illustratively, as shown in fig. 10, the arrow indicated by the mark "4" and the arrow indicated by the mark "5" in the figure represent that the second target input is a two-finger zoom input of the user on the preview image, and the arrow indicated by the mark "6" and the arrow indicated by the mark "7" in the figure represent that the second target input may also be a two-finger zoom input of the user on the imaging frame.
Step 202d, the electronic device responds to the second target input, updates the fourth preview image into the second preview image, and displays the thumbnail on the second preview image.
It can be understood that in the embodiment of the invention, the electronic equipment responds to the second target input, updates the preview image, keeps the thumbnail unchanged, but changes the size and the position of the imaging frame in the thumbnail.
It should be noted that, for the enlarged scene of the image stored in the electronic device, the above steps 201 to 202 may be specifically implemented by the above steps 201d to 202b, or by the above steps 201e to 202c to steps 201f to 202d, and the specific description may refer to the above description (the first input is an input for increasing the image preview multiple), which is not described herein again.
In the embodiment of the invention, an input mode for adjusting the zoom factor is added, so that the operation of a user is more flexible.
The drawings in the embodiments of the present invention are all exemplified by the drawings in the independent embodiments, and when the embodiments of the present invention are specifically implemented, each of the drawings can also be implemented by combining any other drawings which can be combined, and the embodiments of the present invention are not limited. For example, as shown in fig. 2, fig. 7 or fig. 8, the steps 201 to 202 may be specifically implemented by the steps 201e to 202c to 201f to 202 d.
As shown in fig. 11, an embodiment of the present invention provides an electronic device 120, where the electronic device 120 includes: a receiving module 121 and a display module 122; the receiving module 121 is configured to receive a first input of a user when the first preview image is displayed; the display module 122 is configured to, in response to the first input received by the receiving module 121, display a second preview image and a thumbnail corresponding to the first preview image, where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame, and the imaging frame is used to indicate a position of the partial area in the first preview image.
Optionally, the positional relationship between the imaging frame and the thumbnail is equal to the positional relationship between the local area and the first preview image.
Optionally, the receiving module 121 is further configured to receive a second input of the user after the display module 122 displays the second preview image and the thumbnail corresponding to the first preview image and when the target object is not included in the second preview image, where the second input is used to move the imaging frame to a position where the target object in the thumbnail is located; the display module 122 is further configured to update the second preview image to a third preview image in response to the second input received by the receiving module 121, where the third preview image includes the target object.
Optionally, in a case that the first preview image is an image stored in the electronic device, the second input is an input that the user moves the second preview image according to a position of the target object in the thumbnail; when the first preview image is an image displayed on the shooting preview interface, the second input is any one of the following items: the user moves the input of the electronic equipment according to the position of the target object in the thumbnail; and the user moves the input of the electronic equipment according to the direction indicated by the first identifier, wherein the first identifier is generated by the electronic equipment according to the position of the target object in the thumbnail.
Optionally, in a case that the second input is an input that the user moves the electronic device in a direction indicated by the first identifier, the electronic device 120 further includes: a generating module 123; the receiving module 121 is further configured to receive a third input to the target object in the thumbnail from the user before the second input from the user is received; the generating module 123 is configured to generate the first identifier according to the position of the target object in the thumbnail image in response to the third input received by the receiving module 121.
Optionally, in a case that the second input is an input that the user moves the electronic device in a direction indicated by the first identifier, the receiving module 121 is specifically configured to receive a fourth input of the target object in the first preview image by the user in a case that the first preview image is displayed; displaying a first mark in the first preview image in response to a fourth input, the first mark indicating a position of the target object in the first preview image; receiving a first input of a user for increasing zoom times; the display module 122 is specifically configured to, in response to the first input received by the receiving module 121, update the first preview image to a second preview image, display the thumbnail on the second preview image, and display a first identifier on the second preview image and the thumbnail, where the thumbnail further includes a second mark, the second mark is used to indicate a position of the target object in the thumbnail, the second mark is generated according to the first mark, and the first identifier is generated according to a position of the second mark in the thumbnail.
Optionally, in a case that the first preview image is an image displayed on the shooting preview interface, the electronic device 120 further includes: a movement module 124; the second input is input of moving the imaging frame to the position of the target object in the thumbnail by the user; the moving module 124 is configured to move the camera of the electronic device according to the movement of the imaging frame before the display module 122 updates the second preview image into the third preview image; or the second input is input of the target object in the thumbnail by the user; the moving module 124 is configured to move the camera of the electronic device according to the positional relationship between the target object in the thumbnail and the imaging frame before the display module 122 updates the second preview image into the third preview image.
Optionally, the first input is an input for increasing the zoom multiple, the first input includes a first target input and a second target input, and the second target input is an input of the user to the imaging frame; the display module 122 is specifically configured to update the first preview image to a fourth preview image in response to the first target input, and display the thumbnail on the fourth preview image; in response to the second target input, the fourth preview image is updated to the second preview image, and the thumbnail is displayed on the second preview image.
It should be noted that, as shown in fig. 11, modules that are necessarily included in the electronic device 120 are illustrated by solid line boxes, such as a receiving module 121 and a display module 122; modules that may or may not be included in the electronic device 120 are illustrated with dashed boxes, such as a generation module 123 and a movement module 124.
The electronic device provided in the embodiment of the present invention is capable of implementing each process shown in any one of fig. 2 to fig. 10 in the above method embodiments, and details are not described here again to avoid repetition.
The embodiment of the invention provides electronic equipment, which receives a first input of a user under the condition of displaying a first preview image; in response to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image (i.e., the image content of the first preview image is the same as the image content of the thumbnail, and the size of the first preview image is proportional to the size of the thumbnail), where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame for indicating the position of the partial area in the first preview image (i.e., the image content surrounded by the imaging frame in the thumbnail is the same as the image content of the second preview image, that is, the position of the second preview image in the first preview image can be determined according to the position of the imaging frame in the thumbnail). Through the scheme, the user can determine the position of the second preview image in the first preview image according to the position of the imaging frame in the thumbnail, and the user can determine the position of the target object in the first preview image according to the position of the target object which needs to be amplified by the user in the thumbnail, so that the user can determine how to input the target object according to the position relation between the imaging frame and the target object in the thumbnail, can quickly and accurately obtain the preview image (namely, the image of the amplified target object) containing the target object, and further can improve the operation efficiency of amplifying the target object in the preview image.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing various embodiments of the present application. As shown in fig. 12, 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. 12 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 electronic device, a wearable device, a pedometer, and the like.
A user input unit 107, configured to receive a first input of a user when the first preview image is displayed; the display unit 106 is configured to display, in response to a first input, a second preview image and a thumbnail corresponding to the first preview image, where the second preview image is an enlarged image of a partial region of the first preview image, and the thumbnail includes an imaging frame indicating a position of the partial region in the first preview image.
According to the electronic equipment provided by the embodiment of the invention, the electronic equipment receives a first input of a user under the condition of displaying the first preview image; in response to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image (i.e., the image content of the first preview image is the same as the image content of the thumbnail, and the size of the first preview image is proportional to the size of the thumbnail), where the second preview image is an enlarged image of a partial area of the first preview image, and the thumbnail includes an imaging frame for indicating the position of the partial area in the first preview image (i.e., the image content surrounded by the imaging frame in the thumbnail is the same as the image content of the second preview image, that is, the position of the second preview image in the first preview image can be determined according to the position of the imaging frame in the thumbnail). Through the scheme, the user can determine the position of the second preview image in the first preview image according to the position of the imaging frame in the thumbnail, and the user can determine the position of the target object in the first preview image according to the position of the target object which needs to be amplified by the user in the thumbnail, so that the user can determine how to input the target object according to the position relation between the imaging frame and the target object in the thumbnail, can quickly and accurately obtain the preview image (namely, the image of the amplified target object) containing the target object, and further can improve the operation efficiency of amplifying the target object in the preview image.
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, receives downlink data from a base station and then processes the received downlink data to the processor 110; in addition, 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 still pictures 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, the other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
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 is transmitted 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. 12, 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 for 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 may include the processor 110 shown in fig. 12, the memory 109, and a computer program stored on the memory 109 and capable of being executed on the processor 110, where the computer program, when executed by the processor 110, implements each process of the image display method shown in any one of fig. 2 to fig. 10 in the foregoing method embodiments, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
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 image display method shown in any one of fig. 2 to 10 in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 a … …" does not exclude the presence of another identical element 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 application 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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. An image display method applied to an electronic device, the method comprising:
receiving a first input of a user in a case where the first preview image is displayed;
responding to the first input, displaying a second preview image and a thumbnail corresponding to the first preview image, wherein the second preview image is an image obtained by amplifying a partial area of the first preview image, and the thumbnail comprises an imaging frame which is used for indicating the position of the partial area in the first preview image;
after the displaying the second preview image and the thumbnail corresponding to the first preview image, the method further includes:
receiving a second input of a user for moving the imaging frame to a position in the thumbnail where the target object is located, in a case where the target object is not included in the second preview image;
updating the second preview image to a third preview image in response to the second input, the third preview image including the target object therein;
in the case where the first preview image is an image displayed on the photographing preview interface,
the second input is input of moving the imaging frame to the position of the target object in the thumbnail by the user; before the updating the second preview image into the third preview image, the method further includes:
moving a camera of the electronic equipment according to the movement of the imaging frame;
alternatively, the first and second electrodes may be,
the second input is input of the target object in the thumbnail by a user; before the updating the second preview image into the third preview image, the method further includes:
and moving a camera of the electronic equipment according to the position relation between the target object and the imaging frame in the thumbnail.
2. The method according to claim 1, wherein a positional relationship between the imaging frame and the thumbnail is equivalent to a positional relationship between the partial region and the first preview image.
3. The method according to claim 1, wherein in a case where the first preview image is an image stored in the electronic device, the second input is an input by a user to move the second preview image according to a position of the target object in the thumbnail image;
when the first preview image is an image displayed on a shooting preview interface, the second input is any one of the following items: the user moves the input of the electronic equipment according to the position of the target object in the thumbnail; and the user moves the input of the electronic equipment according to the direction indicated by the first identifier, wherein the first identifier is generated by the electronic equipment according to the position of the target object in the thumbnail.
4. The method of claim 3, wherein, in the case that the second input is an input of a user moving the electronic device in a direction indicated by the first identifier, before the receiving the second input of the user, further comprising:
receiving a third input of the target object in the thumbnail from the user;
in response to the third input, generating the first identifier according to a position of the target object in the thumbnail.
5. The method of claim 3, wherein in the event that the second input is an input by a user moving the electronic device in a direction indicated by the first indicator, receiving the first input in the event that the first preview image is displayed comprises:
receiving a fourth input of the target object in the first preview image by a user in a case of displaying the first preview image;
in response to the fourth input, displaying a first marker in the first preview image, the first marker indicating a location of the target object in the first preview image;
receiving the first input of the user for increasing the zoom factor;
the displaying, in response to the first input, a second preview image and a thumbnail corresponding to the first preview image includes:
in response to the first input, updating the first preview image to the second preview image, displaying the thumbnail on the second preview image, and displaying the first identifier on the second preview image and the thumbnail, wherein the thumbnail further includes a second mark for indicating a position of the target object in the thumbnail, the second mark being generated according to the first mark, and the first identifier being generated according to a position of the second mark in the thumbnail.
6. The method according to any one of claims 1 to 4, wherein the first input is an input to increase a zoom factor, the first input includes a first target input and a second target input, the second target input is an input of the imaging box by a user;
the displaying, in response to the first input, a second preview image and a thumbnail corresponding to the first preview image includes:
updating the first preview image to a fourth preview image and displaying the thumbnail on the fourth preview image in response to the first target input;
in response to the second target input, updating the fourth preview image to the second preview image and displaying the thumbnail on the second preview image.
7. An electronic device, characterized in that the electronic device comprises: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user under the condition of displaying the first preview image;
the display module is configured to display, in response to the first input received by the receiving module, a second preview image and a thumbnail corresponding to the first preview image, where the second preview image is an image obtained by enlarging a local area of the first preview image, and the thumbnail includes an imaging frame, and the imaging frame is used to indicate a position of the local area in the first preview image;
the receiving module is further configured to receive a second input of the user after the display module displays a second preview image and a thumbnail corresponding to the first preview image and when a target object is not included in the second preview image, where the second input is used to move the imaging frame to a position of the target object in the thumbnail;
the display module is further configured to update the second preview image to a third preview image in response to the second input received by the receiving module, where the third preview image includes the target object;
in a case that the first preview image is an image displayed on a shooting preview interface, the electronic device further includes: a moving module;
the second input is input of moving the imaging frame to the position of the target object in the thumbnail by the user; the moving module is used for moving the camera of the electronic equipment according to the movement of the imaging frame before the display module updates the second preview image into a third preview image;
alternatively, the first and second electrodes may be,
the second input is input of the target object in the thumbnail by a user; and the moving module is used for moving the camera of the electronic equipment according to the position relation between the target object in the thumbnail and the imaging frame before the second preview image is updated to the third preview image by the display module.
8. The electronic device according to claim 7, wherein a positional relationship between the imaging frame and the thumbnail is equivalent to a positional relationship between the partial region and the first preview image.
9. The electronic device according to claim 8, wherein in a case where the first preview image is an image stored in the electronic device, the second input is an input of a user moving the second preview image in accordance with a position of the target object in the thumbnail image;
when the first preview image is an image displayed on a shooting preview interface, the second input is any one of the following items: the user moves the input of the electronic equipment according to the position of the target object in the thumbnail; and the user moves the input of the electronic equipment according to the direction indicated by the first identifier, wherein the first identifier is generated by the electronic equipment according to the position of the target object in the thumbnail.
10. The electronic device of claim 9, wherein in the case that the second input is an input by a user moving the electronic device in a direction indicated by the first identifier, the electronic device further comprises: a generation module;
the receiving module is further configured to receive a third input of the target object in the thumbnail from the user before the receiving of the second input of the user;
the generating module is configured to generate the first identifier according to a position of the target object in the thumbnail in response to the third input received by the receiving module.
11. The electronic device according to claim 9, wherein in a case that the second input is an input of a user moving the electronic device in a direction indicated by the first identifier, the receiving module is specifically configured to receive, in a case that the first preview image is displayed, a fourth input of the user on the target object in the first preview image; in response to the fourth input, displaying a first marker in the first preview image, the first marker indicating a location of the target object in the first preview image; receiving the first input of a user for increasing zoom multiple;
the display module is specifically configured to update the first preview image to the second preview image, display the thumbnail on the second preview image, and display the first identifier on the second preview image and the thumbnail, where the thumbnail further includes a second mark, the second mark is used to indicate a position of the target object in the thumbnail, the second mark is generated according to the first mark, and the first identifier is generated according to a position of the second mark in the thumbnail.
12. The electronic device of any one of claims 7-10, wherein the first input is an input to increase a zoom factor, the first input comprising a first target input and a second target input, the second target input being a user input to the imaging box;
the display module is specifically configured to update the first preview image to a fourth preview image in response to the first target input, and display the thumbnail on the fourth preview image; in response to the second target input, updating the fourth preview image to the second preview image and displaying the thumbnail on the second preview image.
13. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the image display method according to any one of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the image display method according to any one of claims 1 to 6.
CN201911046260.1A 2019-10-30 2019-10-30 Image display method and electronic equipment Active CN110908558B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911046260.1A CN110908558B (en) 2019-10-30 2019-10-30 Image display method and electronic equipment
PCT/CN2020/112693 WO2021082711A1 (en) 2019-10-30 2020-08-31 Image display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911046260.1A CN110908558B (en) 2019-10-30 2019-10-30 Image display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN110908558A CN110908558A (en) 2020-03-24
CN110908558B true CN110908558B (en) 2022-10-18

Family

ID=69815087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911046260.1A Active CN110908558B (en) 2019-10-30 2019-10-30 Image display method and electronic equipment

Country Status (2)

Country Link
CN (1) CN110908558B (en)
WO (1) WO2021082711A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908558B (en) * 2019-10-30 2022-10-18 维沃移动通信(杭州)有限公司 Image display method and electronic equipment
CN111010506A (en) 2019-11-15 2020-04-14 华为技术有限公司 Shooting method and electronic equipment
CN113497888B (en) * 2020-04-07 2023-05-02 华为技术有限公司 Photo preview method, electronic device and storage medium
CN113542574A (en) * 2020-04-15 2021-10-22 华为技术有限公司 Shooting preview method under zooming, terminal, storage medium and electronic equipment
CN112181548B (en) * 2020-08-25 2024-04-30 北京中联合超高清协同技术中心有限公司 Display and image display method
CN113014798A (en) * 2021-01-27 2021-06-22 维沃移动通信有限公司 Image display method and device and electronic equipment
CN112954220A (en) * 2021-03-03 2021-06-11 北京蜂巢世纪科技有限公司 Image preview method and device, electronic equipment and storage medium
CN113067982A (en) * 2021-03-29 2021-07-02 联想(北京)有限公司 Collected image display method and electronic equipment
CN114222064A (en) * 2021-12-16 2022-03-22 Oppo广东移动通信有限公司 Auxiliary photographing method and device, terminal equipment and storage medium
WO2023220957A1 (en) * 2022-05-18 2023-11-23 北京小米移动软件有限公司 Image processing method and apparatus, and mobile terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998057A (en) * 2009-08-21 2011-03-30 奥林巴斯映像株式会社 Camera and display control method of the same
CN102348059A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Image pickup apparatus
CN102547193A (en) * 2010-12-07 2012-07-04 索尼公司 Information processing apparatus, information processing method, and program
CN104012073A (en) * 2011-12-16 2014-08-27 奥林巴斯映像株式会社 Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN106131394A (en) * 2016-06-15 2016-11-16 青岛海信移动通信技术股份有限公司 A kind of method and device taken pictures
CN106445219A (en) * 2015-08-10 2017-02-22 Lg电子株式会社 Mobile terminal and method for controlling the same
CN106502693A (en) * 2016-10-17 2017-03-15 努比亚技术有限公司 A kind of method for displaying image and device
CN107765964A (en) * 2017-09-07 2018-03-06 深圳岚锋创视网络科技有限公司 A kind of method, apparatus and portable terminal of the regional area for browsing full-view image file
CN110209325A (en) * 2019-05-07 2019-09-06 高新兴科技集团股份有限公司 A kind of 3D scene display control method, system and equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100134641A1 (en) * 2008-12-01 2010-06-03 Samsung Electronics Co., Ltd. Image capturing device for high-resolution images and extended field-of-view images
US9158455B2 (en) * 2011-07-12 2015-10-13 Apple Inc. Multifunctional environment for image cropping
DE102013000066A1 (en) * 2013-01-08 2014-07-10 Audi Ag Zooming and moving an image content of a display device
CN103327298A (en) * 2013-05-29 2013-09-25 山西绿色光电产业科学技术研究院(有限公司) Linkage browse method for panoramic speed dome all-in-one machine
KR20160029536A (en) * 2014-09-05 2016-03-15 엘지전자 주식회사 Mobile terminal and control method for the mobile terminal
CN105872349A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 Photographing method, photographing device and mobile terminal
CN106055247A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Picture display device, method and mobile terminal
CN108307111A (en) * 2018-01-22 2018-07-20 努比亚技术有限公司 A kind of zoom photographic method, mobile terminal and storage medium
CN108881723A (en) * 2018-07-11 2018-11-23 维沃移动通信有限公司 A kind of image preview method and terminal
CN109743498B (en) * 2018-12-24 2021-01-08 维沃移动通信有限公司 Shooting parameter adjusting method and terminal equipment
CN110908558B (en) * 2019-10-30 2022-10-18 维沃移动通信(杭州)有限公司 Image display method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998057A (en) * 2009-08-21 2011-03-30 奥林巴斯映像株式会社 Camera and display control method of the same
CN102348059A (en) * 2010-07-27 2012-02-08 三洋电机株式会社 Image pickup apparatus
CN102547193A (en) * 2010-12-07 2012-07-04 索尼公司 Information processing apparatus, information processing method, and program
CN104012073A (en) * 2011-12-16 2014-08-27 奥林巴斯映像株式会社 Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN106445219A (en) * 2015-08-10 2017-02-22 Lg电子株式会社 Mobile terminal and method for controlling the same
CN106131394A (en) * 2016-06-15 2016-11-16 青岛海信移动通信技术股份有限公司 A kind of method and device taken pictures
CN106502693A (en) * 2016-10-17 2017-03-15 努比亚技术有限公司 A kind of method for displaying image and device
CN107765964A (en) * 2017-09-07 2018-03-06 深圳岚锋创视网络科技有限公司 A kind of method, apparatus and portable terminal of the regional area for browsing full-view image file
CN110209325A (en) * 2019-05-07 2019-09-06 高新兴科技集团股份有限公司 A kind of 3D scene display control method, system and equipment

Also Published As

Publication number Publication date
CN110908558A (en) 2020-03-24
WO2021082711A1 (en) 2021-05-06

Similar Documents

Publication Publication Date Title
CN110908558B (en) Image display method and electronic equipment
CN110851051B (en) Object sharing method and electronic equipment
CN110891144B (en) Image display method and electronic equipment
CN110913132B (en) Object tracking method and electronic equipment
CN109862267B (en) Shooting method and terminal equipment
CN109002243B (en) Image parameter adjusting method and terminal equipment
CN108495029B (en) Photographing method and mobile terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN111273993B (en) Icon arrangement method and electronic equipment
CN110752981B (en) Information control method and electronic equipment
CN110769174B (en) Video viewing method and electronic equipment
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN110908554B (en) Long screenshot method and terminal device
CN111064848B (en) Picture display method and electronic equipment
CN110968229A (en) Wallpaper setting method and electronic equipment
CN111026350A (en) Display control method and electronic equipment
CN111596990A (en) Picture display method and device
CN110830713A (en) Zooming method and electronic equipment
CN110989896A (en) Control method and electronic equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110944113B (en) Object display method and electronic equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN109104573B (en) Method for determining focusing point and terminal equipment
CN110750200A (en) Screenshot picture processing 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