CN104866163A - Image display method and device and electronic equipment - Google Patents
Image display method and device and electronic equipment Download PDFInfo
- Publication number
- CN104866163A CN104866163A CN201410059194.2A CN201410059194A CN104866163A CN 104866163 A CN104866163 A CN 104866163A CN 201410059194 A CN201410059194 A CN 201410059194A CN 104866163 A CN104866163 A CN 104866163A
- Authority
- CN
- China
- Prior art keywords
- image
- display
- control information
- displaying
- electronic device
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000001514 detection method Methods 0.000 claims abstract description 112
- 230000004044 response Effects 0.000 claims abstract description 26
- 230000002596 correlated effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 25
- 230000003321 amplification Effects 0.000 description 10
- 238000003199 nucleic acid amplification method Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an image display method and device and electronic equipment, and belongs to the technical field of networks. The image display method comprises the following steps: when a first image and a second image are stored in the electronic equipment and a command for displaying the first image is obtained, displaying the first image in a first state; receiving first operation; displaying the first image in a second state in response to the first operation; receiving second operation; detecting whether or not the first image and the second image satisfy a first predetermined condition to obtain a first detection result; and if the first detection result indicates that the first mage and the second image satisfy the first predetermined condition, displaying the second image in the second state in response to the second operation. The problem of high complexity due to the need of magnification operation by a user during viewing of the second image which is correlated with the first image is solved.
Description
Technical Field
The present invention relates to the field of network technologies, and in particular, to an image display method and apparatus, and an electronic device.
Background
Photo continuous shooting is one of the functions commonly used in electronic devices with a shooting function, such as cameras, smart phones, tablet computers, or notebooks. After the electronic device takes a picture, the electronic device usually needs to display the taken picture for the user to view and browse.
However, since a user often needs to view detailed parts of a photo when browsing the photo, that is, the user needs to view an enlarged photo, the electronic device generally needs to display the enlarged photo. An existing picture display method may include: the electronic equipment displays the picture selected by the user; when a user wants to view a certain detail in the picture, the user can zoom in the picture by performing a stretching action on the touch screen through fingers or other zooming-in gestures, and accordingly, after receiving a zooming-in signal of the user, the electronic device displays the zoomed-in picture.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
when the user selects to browse the next picture or the previous picture in the multiple continuously shot pictures, the electronic device still displays the pictures in the original size, so that the user still needs to perform the zooming operation to view the same detailed parts in the pictures, and the operation complexity is high.
Disclosure of Invention
In order to solve the problem of high complexity of user operation in the prior art, embodiments of the present invention provide an image display method, an image display device, and an electronic device. The technical scheme is as follows:
in a first aspect, an image display method is provided, the method comprising:
when a first image and a second image are stored in the electronic equipment and an instruction for displaying the first image is obtained, displaying the first image in a first state;
receiving a first operation, wherein the first operation is at least used for adjusting the display scale of the first image;
displaying the first image in a second state in response to the first operation;
receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display the second image;
detecting whether the first image and the second image meet a first preset condition or not to obtain a first detection result;
responding to the second operation, and if the first detection result shows that the first image and the second image meet the first preset condition, displaying the second image in the second state.
In a second aspect, there is provided an image display apparatus, the apparatus comprising:
the first display module is used for displaying a first image in a first state when the electronic equipment stores the first image and a second image and obtains an instruction for displaying the first image;
a first receiving module, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
the second display module is used for responding to the first operation received by the first receiving module and displaying the first image in a second state;
a second receiving module, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
the image detection module is used for detecting whether the first image and the second image meet a first preset condition or not to obtain a first detection result;
and a third display module, configured to respond to the second operation received by the second receiving module, and display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
In a third aspect, an electronic device is provided, which includes the image display apparatus of the second aspect.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
obtaining a first detection result by detecting whether the first image and the second image satisfy a first predetermined condition after receiving a second operation for controlling the electronic device to display the second image, and displaying the second image in the same display state as the first image in response to the second operation and when the first detection result is that the first image and the second image satisfy the first predetermined condition; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a method of displaying an image according to an embodiment of the present invention;
FIG. 2A is a flowchart of a method for displaying an image according to another embodiment of the present invention;
fig. 2B is a schematic display diagram of an electronic device displaying a first image in a first state according to another embodiment of the invention;
fig. 2C is a schematic display diagram of an electronic device displaying a first image in a second state according to another embodiment of the invention;
FIG. 2D is a schematic diagram of an electronic device receiving a second operation according to another embodiment of the present invention;
FIG. 2E is a schematic diagram of another display of the electronic device receiving a second operation according to another embodiment of the present invention;
FIG. 2F is a schematic diagram of another display of the electronic device receiving a second operation according to another embodiment of the present invention;
fig. 2G is a schematic display diagram of the electronic device displaying a second image in a second state according to another embodiment of the invention;
FIG. 3A is a flowchart of a method for displaying an image according to another embodiment of the present invention;
FIG. 3B is a schematic diagram of a first image and a second image provided by yet another embodiment of the present invention;
FIG. 4A is a flowchart of a method for displaying an image according to another embodiment of the present invention;
fig. 4B is a schematic display diagram of an electronic device displaying a first image in a first state and a second state according to yet another embodiment of the invention;
fig. 4C is a schematic display diagram of an electronic device displaying a second image in a second state according to yet another embodiment of the invention;
FIG. 5A is a flowchart of a method for displaying an image according to another embodiment of the present invention;
fig. 5B is a schematic display diagram illustrating an electronic device displaying a first image in a second state according to yet another embodiment of the invention;
fig. 5C is a schematic display diagram of an electronic device displaying a second image in a second state according to yet another embodiment of the invention;
fig. 6 is a block diagram showing the structure of an image display apparatus according to an embodiment of the present invention;
fig. 7A is a block diagram showing a structure of an image display apparatus according to another embodiment of the present invention;
FIG. 7B is a block diagram showing another structure of an image display apparatus according to another embodiment of the present invention;
fig. 7C is a block diagram showing still another structure of an image display apparatus according to another embodiment of the present invention;
fig. 8 is a block diagram showing a configuration of an image display apparatus according to still another embodiment of the present invention;
fig. 9 is a block diagram showing a configuration of an image display apparatus according to still another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a method for displaying an image according to an embodiment of the present invention is shown, where the method for displaying an image includes:
step 101, when the electronic device stores a first image and a second image and obtains an instruction for displaying the first image, displaying the first image in a first state;
102, receiving a first operation, wherein the first operation is at least used for adjusting the display scale of a first image;
103, responding to the first operation, and displaying the first image in a second state;
104, receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display a second image;
step 105, detecting whether the first image and the second image meet a first preset condition or not, and obtaining a first detection result;
and 106, responding to the second operation, and displaying the second image in a second state if the first detection result shows that the first image and the second image meet the first preset condition.
In summary, in the image display method provided in this embodiment, after receiving a second operation for controlling the electronic device to display a second image, whether the first image and the second image satisfy the first predetermined condition is detected, so as to obtain a first detection result, and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the second image is displayed in the same display state as that of the first image in response to the second operation; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 2A, a flowchart of an image display method according to another embodiment of the present invention is shown, where the image display method includes:
step 201, when the electronic device stores a first image and a second image and obtains an instruction for displaying the first image, displaying the first image in a first state;
the electronic device may store two or more images at the same time, for example, store the first image, the second image, the third image, and so on at the same time, when the user needs to view the first image, the user may apply an instruction requesting the electronic device to display the first image, and accordingly, the electronic device may obtain the instruction to display the first image, and after obtaining the instruction, display the first image in the first state.
Step 202, receiving a first operation, wherein the first operation is at least used for adjusting the display scale of a first image;
after the electronic device displays the first image, the user may reduce or enlarge the first image displayed in the electronic device, so the electronic device may receive the first operation. The first operation is at least used for adjusting the display scale of the first image, and when the electronic equipment is actually realized and uses a touch screen, the first operation can be a click operation of a finger of a user or a telescopic operation of the finger of the user; when the electronic device is not an electronic device using a touch screen, the first operation may be an operation applied by a user through a pointing device such as a button, a keyboard, a scroll wheel, or a mouse, which is not limited in this embodiment, and the electronic device is an electronic device using a touch screen as an example in this embodiment.
In practical implementation, when a user enlarges or reduces the first image by using the central point of the first image, the first operation is only used for adjusting the display scale of the first image and does not change the central display position of the first image; for example, when the user uses a finger to click on the '+' key or the '-' key in fig. 2B to zoom in or out on the first image, the first image will be zoomed in or out at the current position, and the position of the first image will not be shifted, so the first operation only adjusts the display scale of the first image and will not adjust the center display position of the first image.
When the user zooms in or zooms out from the center point of the first image, the first operation changes the center display position of the first image while adjusting the display scale of the first image; for example, when the user needs to enlarge the first image shown in fig. 2B to view the license plate number in the first image, the user enlarges the license plate number in the first image by stretching two fingers, the corresponding electronic device receives a first operation of stretching the fingers of the user, and the first operation adjusts the display scale of the first image and also adjusts the central display position of the first image.
Step 203, responding to the first operation, and displaying the first image in a second state;
after the electronic device receives the first operation, the electronic device will respond to the first operation and display the first image in the second state.
Specifically, the step of the electronic device responding to the first operation and displaying the first image in the second state may include:
firstly, analyzing a first operation to obtain first control information;
wherein the first control information is used for adjusting the display scale of the first image.
Secondly, analyzing the first operation to obtain second control information;
wherein the second control information is used for adjusting the central display position of the first image.
And thirdly, displaying the first image according to the first control information and the second control information.
After the electronic device obtains the first control information and the second control information through analysis, the electronic device may display the first image according to the first control information and the second control information.
For example, after the electronic device analyzes the finger pinch operation applied to the first image shown in fig. 2B and obtains the first control information and the second control information, the electronic device displays the first image shown in fig. 2C.
Step 204, receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display a second image;
when the user wants to continue viewing the second image stored in the electronic device, the user applies a second operation requesting the electronic device to display the second image, and accordingly, the electronic device may receive the second operation. For example, when the electronic device is an electronic device using a touch screen, the second operation may be a slide operation in which the user slides left and right on the first image a plurality of times, as shown in fig. 2D; or a click operation of clicking 'previous' or 'next' by the user, as shown in fig. 2E; the user may also click on an image, as shown in fig. 2F; the embodiment does not limit the specific implementation manner of the second operation.
Step 205, detecting whether a first association degree between the acquisition parameter of the first image and the acquisition parameter of the second image reaches a first threshold value;
after the electronic device receives the second operation, the electronic device may detect whether a first degree of association between the acquisition parameters of the first image and the acquisition parameters of the second image reaches a first threshold. The acquisition parameter includes an acquisition time, an acquisition location, or a combination of the two, and the acquisition parameter may further include other contents in actual implementation, which is not limited in this embodiment.
Specifically, when the acquisition parameter includes the acquisition time, the step of the electronic device detecting whether a first degree of association between the acquisition parameter of the first image and the acquisition parameter of the second image reaches a first threshold may include:
and detecting whether the time interval between the acquisition time of the first image and the acquisition time of the second image is smaller than a preset time interval, if the detection result is smaller than the preset time interval, indicating that the first image and the second image are probably two images obtained by continuous shooting, and the image contents of the two images are probably very close to each other, so that the electronic equipment can determine that the first correlation degree reaches a first threshold value at the moment. Specifically, when the electronic device stores the acquired image, the electronic device may store the acquisition time and the image in a unified manner, so that the electronic device may respectively acquire the acquisition time of the first image and the acquisition time of the second image, then calculate a time interval between the acquired two acquisition times, detect whether the calculated time interval is smaller than a predetermined time interval, and when the detection result is smaller than the predetermined time interval, determine that the first association degree reaches the first threshold.
For example, the predetermined time interval is 0.5S, the first image and the second image stored in the electronic device are two images acquired and stored by the electronic device using the continuous shooting function, and the time interval of the acquisition time of the two images calculated by the electronic device is 0.4S, then the electronic device may detect that the calculated time interval 0.4 is less than the predetermined time interval 0.5, so the electronic device may determine that the first degree of association reaches the first threshold.
When the acquisition parameter includes an acquisition location, the step of the electronic device detecting whether a first degree of association between the acquisition parameter of the first image and the acquisition parameter of the second image reaches a first threshold value may include:
and detecting whether the distance between the acquisition place of the first image and the acquisition place of the second image is smaller than a preset distance, and if the detection result is smaller than the preset distance, determining that the first association degree of the first image and the second image reaches a first threshold value. Specifically, since the electronic device may acquire the acquisition location of the image by using a Positioning function such as a GPS (Global Positioning System) when acquiring the image, and store the acquisition location and the image together when storing the image, for the execution of the subsequent steps, the electronic device may acquire the acquisition location of the first image and the acquisition location of the second image, respectively, calculate a distance between the acquired two acquisition locations, detect whether the calculated distance is smaller than a predetermined distance, and determine that the first degree of association reaches the first threshold when the detection result is smaller than the predetermined distance.
When the acquisition parameters include the acquisition time and the acquisition place, the electronic device may adopt the two methods to detect whether the first association degree reaches the first threshold value, which is not described herein again.
It should be noted that the predetermined time interval and the predetermined distance may be default values in the electronic device, may also be calculated values by the electronic device according to the usage habits of the user, and may also be values set by the user, which is not limited in this embodiment. When the predetermined time interval and the predetermined distance are calculated by the electronic device according to the usage habits of the user, the first predetermined condition is different in different usage scenes because the usage habits of different users are different and the usage habits of the same user in different periods may also be changed; similarly, when the predetermined time interval and the predetermined distance are values set by the user, the first predetermined condition may be different in different usage scenarios since the user may set the values to be different according to different usage requirements. The step of calculating the predetermined time interval by the electronic device according to the usage habit of the user may include: the electronic equipment acquires the display states of two adjacent images displayed in history, detects whether the display states of the two images are the same, and if the detection results are the same, the electronic equipment calculates the time interval of the acquisition time of the two images, calculates the average value of each time interval, and takes the calculated average value as a preset time interval.
Step 206, if the detection result is that the first degree of association reaches a first threshold, obtaining a first detection result indicating that the first image and the second image satisfy a first predetermined condition;
step 207, responding to the second operation, if the first detection result indicates that the first image and the second image satisfy the first predetermined condition, displaying the second image in the second state.
When the first detection result acquired by the electronic device indicates that the first image and the second image meet the first predetermined condition, the possibility that the image content of the first image is similar to the image content of the second image is relatively high, and the content focused by the user when viewing the second image is likely to be the same as the content focused by the user when viewing the first image, so that the electronic device responds to the second operation and displays the second image in the second state which is the same as the display state of the first image.
Specifically, the step of the electronic device responding to the second operation and displaying the second image in the second state may include:
firstly, analyzing the second operation to obtain third control information;
the third control information is used for controlling the electronic equipment to display the second image.
And secondly, displaying a second image according to the first control information and the second control information.
After the electronic device analyzes the third control information for controlling the electronic device to display the second image, the electronic device displays the second image according to the first control information and the second control information.
For example, after the electronic device obtains the third control information, the electronic device displays the second image in the same display scale and the same display center position as the first image, that is, in the second state, and the specific display diagram refers to fig. 2G.
In summary, in the image display method provided in this embodiment, after receiving a second operation for controlling the electronic device to display a second image, whether the first image and the second image satisfy the first predetermined condition is detected, so as to obtain a first detection result, and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the second image is displayed in the same display state as that of the first image in response to the second operation; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 3A, a flowchart of an image display method according to still another embodiment of the present invention is shown, where the image display method includes:
step 301, when the electronic device stores a first image and a second image and obtains an instruction for displaying the first image, displaying the first image in a first state;
the electronic device can store two or more images at the same time, such as a first image, a second image and a third image, and so on, when the user needs to view the first image, the user can apply an instruction for requesting the electronic device to display the first image, and accordingly, the electronic device can obtain the instruction for displaying the first image and display the first image in the first state after obtaining the instruction.
Step 302, receiving a first operation, wherein the first operation is at least used for adjusting the display scale of a first image;
after the electronic device displays the first image, the user may zoom in or out on the first image displayed in the electronic device, that is, the electronic device may receive the first operation. The first operation is at least used for adjusting the display scale of the first image, and when the electronic equipment is actually realized and uses a touch screen, the first operation can be a click operation of a finger of a user or a telescopic operation of the finger of the user; when the electronic device is not an electronic device using a touch screen, the first operation may be an operation applied by a user through a pointing device such as a button, a keyboard, a scroll wheel, or a mouse, which is not limited in this embodiment, and the electronic device is an electronic device using a touch screen as an example in this embodiment.
Step 303, displaying the first image in the second state in response to the first operation;
after the electronic device receives the first operation, the electronic device will respond to the first operation and display the first image in the second state.
Specifically, the step of the electronic device responding to the first operation and displaying the first image in the second state may include:
firstly, analyzing a first operation to obtain first control information;
wherein the first control information is used for adjusting the display scale of the first image.
Secondly, analyzing the first operation to obtain second control information;
wherein the second control information is used for adjusting the central display position of the first image.
And thirdly, displaying the first image according to the first control information and the second control information.
Step 304, receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display a second image;
when the user wants to continue viewing the second image stored in the electronic device, the user applies a second operation requesting the electronic device to display the second image, and accordingly, the electronic device may receive the second operation. Wherein the second operation may be a slide operation in which the user slides left and right on the first image; or the click operation of clicking 'previous sheet' or 'next sheet' by the user; the method can also be a clicking operation of clicking a certain image by a user; the embodiment does not limit the specific implementation manner of the second operation.
It should be noted that steps 301 to 304 are similar to steps 201 to 204 in the above embodiment, and please refer to the above embodiment for details of the technology, which is not described herein again.
Step 305, detecting whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold value;
after the electronic device receives the second operation, the electronic device may further detect whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold.
Specifically, the step of the electronic device detecting whether the second degree of association between the image content of the first image and the image content of the second image reaches the second threshold may include:
the electronic equipment detects whether the coincidence degree of the feature points of the first image and the feature points of the second image is higher than a preset threshold value or not, and if the detection result is that the coincidence degree is higher than the preset threshold value, the second association degree reaches a second threshold value;
the electronic device may extract feature points in the first image and feature points in the second image, match and overlap the feature points in the two images, further calculate a degree of coincidence of the feature points of the two images, detect whether the calculated degree of coincidence is higher than a predetermined threshold, and if the detection result is higher than the predetermined threshold, the second degree of correlation reaches a second threshold. In this way, even if the camera of the electronic device rotates or the object photographed by the electronic device displaces when the electronic device acquires the first image and the second image, the electronic device can still determine that the two images are similar, that is, the second association degree reaches the second threshold. For example, in the first image and the second image shown in fig. 3B, the electronic device may detect that the coincidence degree of the feature point in the first image and the feature point in the second image is higher than a predetermined threshold, that is, the second association degree reaches the second threshold.
It should be noted that the predetermined threshold may be a default numerical value of the electronic device, may also be a numerical value calculated by the electronic device according to the usage habit of the user, and may also be a numerical value set by the user, which is not limited in this embodiment. Moreover, when the predetermined threshold is a numerical value calculated by the electronic device according to the usage habits of the user, the first predetermined condition is different in different usage scenarios because the usage habits of different users are different and the usage habits of the same user may also be changed in different periods; similarly, when the predetermined time threshold is a value set by the user, the first predetermined condition may be different in different usage scenarios since the user may set the value differently according to different usage requirements.
The step of calculating the predetermined threshold by the electronic device according to the usage habit of the user may include: the electronic equipment acquires the display states of two adjacent images displayed in history, detects whether the display states of the two images are the same, calculates the contact ratio of the two images if the detection results are the same, calculates the average value of each contact ratio, and takes the calculated average value as a preset threshold value.
Or,
the electronic equipment detects whether the object in the first image is matched with the object in the second image, and if the detection result is matching, the second association degree reaches a second threshold value.
The electronic device may further identify an object in the first image and an object in the second image, detect whether the objects in the two images are matched, if the detection result is matching, indicate that the two images include the same object, and the similarity between the two images is high, at this time, the electronic device may determine that the second association reaches a second threshold. The method for identifying the object in the image by the electronic device is similar to the existing image identification method, and the details are not repeated herein in this embodiment.
For example, in the first image and the second image shown in fig. 3B, the electronic device may detect that both the two images include the same license plate, that is, detect that the second association degree reaches the second threshold.
Of course, in actual implementation, the electronic device may also adopt the two methods for detection at the same time, which is not described herein again.
Step 306, if the detection result is that the second degree of association reaches a second threshold, obtaining a first detection result indicating that the first image and the second image meet a first predetermined condition;
step 307, in response to the second operation, if the first detection result indicates that the first image and the second image satisfy the first predetermined condition, displaying the second image in the second state.
When the first detection result acquired by the electronic device indicates that the first image and the second image meet the first predetermined condition, the possibility that the image content of the first image is similar to the image content of the second image is relatively high, and the content focused by the user when viewing the second image is likely to be the same as the content focused by the user when viewing the first image, so that the electronic device responds to the second operation and displays the second image in the second state which is the same as the display state of the first image.
Specifically, the step of the electronic device responding to the second operation and displaying the second image in the second state may include:
firstly, analyzing the second operation to obtain third control information;
the third control information is used for controlling the electronic equipment to display the second image.
And secondly, displaying a second image according to the first control information and the second control information.
It should be noted that step 307 is similar to step 207 in the above embodiment, and please refer to the above embodiment for details of the technology, which is not described herein again.
In summary, in the image display method provided in this embodiment, after receiving a second operation for controlling the electronic device to display a second image, whether the first image and the second image satisfy the first predetermined condition is detected, so as to obtain a first detection result, and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the second image is displayed in the same display state as that of the first image in response to the second operation; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 4A, a flowchart of an image displaying method according to still another embodiment of the present invention is shown, where the image displaying method includes:
step 401, when the electronic device stores a first image and a second image and obtains an instruction for displaying the first image, displaying the first image in a first state;
the electronic device can store two or more images at the same time, such as a first image, a second image and a third image, and so on, when the user needs to view the first image, the user can apply an instruction for requesting the electronic device to display the first image, and accordingly, the electronic device can obtain the instruction for displaying the first image and display the first image in the first state after obtaining the instruction.
Step 402, receiving a first operation, wherein the first operation is at least used for adjusting the display scale of a first image;
after the electronic device displays the first image, the user may zoom in or out on the first image displayed in the electronic device, that is, the electronic device may receive the first operation. The first operation is at least used for adjusting the display scale of the first image, and when the electronic equipment is actually realized and uses a touch screen, the first operation can be a click operation of a finger of a user or a telescopic operation of the finger of the user; when the electronic device is not an electronic device using a touch screen, the first operation may be an operation applied by a user through a pointing device such as a button, a keyboard, a scroll wheel, or a mouse, which is not limited in this embodiment, and the electronic device is an electronic device using a touch screen as an example in this embodiment.
Step 403, displaying the first image in the second state in response to the first operation;
after the electronic device receives the first operation, the electronic device will respond to the first operation and display the first image in the second state.
Specifically, the step of the electronic device responding to the first operation and displaying the first image in the second state may include:
firstly, analyzing a first operation to obtain first control information;
wherein the first control information is used for adjusting the display scale of the first image.
Secondly, analyzing the first operation to obtain second control information;
wherein the second control information is used for adjusting the central display position of the first image.
And thirdly, displaying the first image according to the first control information and the second control information.
Step 404, receiving a second operation, where the second operation is used to control the electronic device to display a second image;
when the user wants to continue viewing the second image stored in the electronic device, the user applies a second operation requesting the electronic device to display the second image, and accordingly, the electronic device may receive the second operation. Wherein the second operation may be a slide operation in which the user slides left and right on the first image; or the click operation of clicking 'previous sheet' or 'next sheet' by the user; the method can also be a clicking operation of clicking a certain image by a user; the embodiment does not limit the specific implementation manner of the second operation.
It should be noted that steps 401 to 404 are similar to steps 201 to 204 in the above embodiment, and please refer to the above embodiment for detailed technical details, which is not described herein again.
Step 405, detecting whether the first image and the second image meet a first predetermined condition, and obtaining a first detection result;
the electronic device may detect whether the first image and the second image satisfy a first predetermined condition, thereby obtaining a first detection result. Specifically, the detecting manner for electronically detecting whether the first image and the second image satisfy the first predetermined condition may include at least one of the following manners:
the first method comprises the following steps: detecting whether a first correlation degree between the acquisition parameters of the first image and the acquisition parameters of the second image reaches a first threshold value; and if the detection result is that the first association degree reaches a first threshold value, obtaining a first detection result which indicates that the first image and the second image meet a first preset condition.
The implementation manner of this step is similar to that in step 204 of the above embodiment, and please refer to step 204 for detailed technical details, which is not described herein again.
And the second method comprises the following steps: detecting whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold; and if the detection result is that the second association degree reaches a second threshold value, obtaining a first detection result which indicates that the first image and the second image meet a first preset condition.
The implementation manner of this step is similar to that in step 304 of the above embodiment, and please refer to step 304 for details of the technology, which is not described herein again.
Step 406, detecting the display scale of the first image in the second state;
for execution of the subsequent step, the electronic device may detect a display scale of the first image in the second state after receiving and responding to the first operation. Specifically, the electronic device may acquire the display ratio of the first image in the second state by comparing the first image in the second state with the first image in the first state, for example, the acquired display ratio is 125%.
Step 407, detecting a central display position of the first image in the second state;
for execution of the subsequent step, the electronic device may detect a center display position of the first image that is in the second state after receiving and responding to the first operation.
Specifically, the electronic device may calculate a mapping position of a center point of the first image displayed in the second state in the first image displayed in the first state, and then use the calculated mapping position as the center display position of the first image in the second state.
For example, a first image displayed by the electronic device in the first state and a first image displayed by the electronic device in the second state are respectively shown as a diagram a and a diagram B in fig. 4B, and the established coordinate system is also shown in fig. 4B, the electronic device can recognize that the central point of the first image in the second state is the position of '5' in the license plate, and the mapping position of '5' in the diagram a is (80, 50), so that the electronic device can obtain that the central display position of the first image in the second state is (80, 50).
Step 408, analyzing the second operation to obtain fourth control information;
the fourth control information is used for controlling the electronic equipment to display the second image.
And 409, if the first detection result shows that the first image and the second image meet the first preset condition, taking the central display position of the first image as the central display position of the second image, and displaying the second image according to the display proportion of the first image.
If the detection result of the electronic device indicates that the first image and the second image satisfy the first predetermined condition, and the electronic device parses fourth control information for controlling the electronic device to display the second image, the electronic device may display the second image at the display scale of the first image by using the central display position of the first image as the central display position of the second image. For example, the second image is displayed at a display ratio of 125% with (80, 50) as the center display position of the second image, specifically referring to fig. 4C.
In summary, in the image display method provided in this embodiment, after receiving a second operation for controlling the electronic device to display a second image, whether the first image and the second image satisfy the first predetermined condition is detected, so as to obtain a first detection result, and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the second image is displayed in the same display state as that of the first image in response to the second operation; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 5, a flowchart of an image display method according to still another embodiment of the present invention is shown, where the image display method includes:
step 501, when the electronic device stores a first image and a second image and obtains an instruction for displaying the first image, displaying the first image in a first state;
the electronic device can store two or more images at the same time, such as a first image, a second image and a third image, and so on, when the user needs to view the first image, the user can apply an instruction for requesting the electronic device to display the first image, and accordingly, the electronic device can obtain the instruction for displaying the first image and display the first image in the first state after obtaining the instruction.
Step 502, receiving a first operation, wherein the first operation is at least used for adjusting the display scale of a first image;
after the electronic device displays the first image, the user may zoom in or out on the first image displayed in the electronic device, that is, the electronic device may receive the first operation. The first operation is at least used for adjusting the display scale of the first image, and when the electronic equipment is actually realized and uses a touch screen, the first operation can be a click operation of a finger of a user or a telescopic operation of the finger of the user; when the electronic device is not an electronic device using a touch screen, the first operation may be an operation applied by a user through a pointing device such as a button, a keyboard, a scroll wheel, or a mouse, which is not limited in this embodiment, and the electronic device is an electronic device using a touch screen as an example in this embodiment.
Step 503, responding to the first operation, displaying the first image in the second state;
after the electronic device receives the first operation, the electronic device will respond to the first operation and display the first image in the second state.
Specifically, the step of the electronic device responding to the first operation and displaying the first image in the second state may include:
firstly, analyzing a first operation to obtain first control information;
wherein the first control information is used for adjusting the display scale of the first image.
Secondly, analyzing the first operation to obtain second control information;
wherein the second control information is used for adjusting the central display position of the first image.
And thirdly, displaying the first image according to the first control information and the second control information.
Step 504, receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display a second image;
when the user wants to continue viewing the second image stored in the electronic device, the user applies a second operation requesting the electronic device to display the second image, and accordingly, the electronic device may receive the second operation. Wherein the second operation may be a slide operation in which the user slides left and right on the first image; or the click operation of clicking 'previous sheet' or 'next sheet' by the user; the method can also be a clicking operation of clicking a certain image by a user; the embodiment does not limit the specific implementation manner of the second operation.
It should be noted that steps 501 to 504 are similar to steps 501 to 504 in the above embodiment, and please refer to the above embodiment for details of the technology, which is not repeated herein.
Step 505, detecting whether the first image and the second image meet a first predetermined condition, and obtaining a first detection result;
the electronic device may detect whether the first image and the second image satisfy a first predetermined condition, and obtain a first detection result. Specifically, the detecting manner for electronically detecting whether the first image and the second image satisfy the first predetermined condition may include at least one of the following manners:
the first method comprises the following steps: detecting whether a first correlation degree between the acquisition parameters of the first image and the acquisition parameters of the second image reaches a first threshold value; and if the detection result is that the first association degree reaches a first threshold value, obtaining a first detection result which indicates that the first image and the second image meet a first preset condition.
The implementation manner of this step is similar to that in step 204 of the above embodiment, and please refer to step 204 for detailed technical details, which is not described herein again.
And the second method comprises the following steps: detecting whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold; and if the detection result is that the second association degree reaches a second threshold value, obtaining a first detection result which indicates that the first image and the second image meet a first preset condition.
The implementation manner of this step is similar to that in step 304 of the above embodiment, and please refer to step 304 for details of the technology, which is not described herein again.
Step 506, detecting a target object in the first image;
when the target object in the first image displayed in the second state is in the center area, indicating that the user is mainly focusing on the target object in the first image at present, for the execution of the subsequent steps, the electronic device may detect the target object in the first image after receiving and responding to the first operation. For example, referring to fig. 5B, the electronic device may recognize a human face in the first image displayed in the second state.
Step 507, acquiring the display area of the target object;
after the electronic device detects the target object in the first image, the electronic device may acquire a display area of the target object. For example, the electronic device acquires 1/4 that the display area of the face in the first image displayed in the second state is the whole image.
Step 508, analyze the second operation, obtain the fifth control information;
and the fifth control information is used for controlling the electronic equipment to display the second image.
In step 509, if the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the target object in the second image is displayed in the display area by taking the target object in the second image as the central area.
If the detection result of the electronic device indicates that the first image and the second image satisfy the first predetermined condition, and the electronic device obtains fifth control information for controlling the electronic device to display the second image by analysis, the electronic device may use the target object in the second image as a central region, and display the target object in the second image according to the obtained display area. For example, referring to fig. 5C, the electronic device will use the face in the second image as the center region and use the display area of the entire image 1/4 to display the face in the second image.
In summary, in the image display method provided in this embodiment, after receiving a second operation for controlling the electronic device to display a second image, whether the first image and the second image satisfy the first predetermined condition is detected, so as to obtain a first detection result, and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition, the second image is displayed in the same display state as that of the first image in response to the second operation; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
It should be noted that, in each of the above embodiments, since all the contents in the first image cannot be displayed simultaneously on the electronic device after the first image is enlarged, in order to view the content that is not currently displayed in the first image, the user applies a third operation for controlling the electronic device to move the first image up and down, left and right, and correspondingly, the electronic device may receive the third operation, and after receiving the third operation, analyze the third operation and obtain corresponding control information, and then move the first image up and down, left and right according to the obtained control information, which is not described herein again. In addition, the above embodiment is only an example that the electronic device is an electronic device using a touch screen, that is, a user may adjust the first image and view the second image through finger operation, and in practical implementation, when the electronic device is not an electronic device using a touch screen, for example, on a PC display screen or a camera screen, the user may adjust the first image and view the second image through a pointing device such as a button, a keyboard, a roller, or a mouse, which is not limited in this embodiment.
Another point to be described is that, after the electronic device displays the first image in the second state, if the user selects to move the first image up, down, left, and right, the content focused by the user is not currently displayed on the electronic device, at this time, in order to enable the electronic device to directly display the content focused by the user in the second image associated with the first image, and further avoid a complicated operation of manually moving the second image by the user, the electronic device displays the second image in the same state as the display state of the moved first image, which is not described herein again in this embodiment.
Referring to fig. 6, a block diagram of an image display apparatus according to an embodiment of the present invention is shown, where the image display apparatus may be implemented as all or part of an electronic device through software, hardware, or a combination of the two, and the image display apparatus may include: a first display module 610, a first receiving module 620, a second display module 630, a second receiving module 640, an image detection module 650, and a third display module 660;
a first display module 610, configured to display a first image in a first state when the electronic device stores the first image and a second image and obtains an instruction to display the first image, where the first image and the second image have a first relationship;
a first receiving module 620, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
a second display module 630, configured to display the first image in a second state in response to the first operation received by the first receiving module 620;
a second receiving module 640, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
the image detection module 650 is configured to detect whether the first image and the second image satisfy a first predetermined condition, and obtain a first detection result;
a third displaying module 660, configured to respond to the second operation received by the second receiving module 640, and display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
In summary, the image display apparatus provided in this embodiment detects whether the first image and the second image satisfy the first predetermined condition after receiving the second operation for controlling the electronic device to display the second image, so as to obtain the first detection result, and displays the second image in the same display state as that of the first image in response to the second operation and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 7A, a block diagram of an image display apparatus according to another embodiment of the present invention is shown, where the image display apparatus can be implemented as all or part of an electronic device through software, hardware or a combination of the two, and the image display apparatus may include: a first display module 710, a first receiving module 720, a second display module 730, a second receiving module 740, an image detection module 750, and a third display module 760;
a first display module 710, configured to display a first image in a first state when the electronic device stores the first image and a second image and obtains an instruction to display the first image, where the first image and the second image have a first relationship;
a first receiving module 720, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
a second display module 730, configured to display the first image in a second state in response to the first operation received by the first receiving module 720;
a second receiving module 740, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
an image detection module 750, configured to detect whether the first image and the second image satisfy a first predetermined condition, and obtain a first detection result;
a third displaying module 760, configured to respond to the second operation received by the second receiving module 740, and display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
Referring to fig. 7B, in a first possible implementation manner of this embodiment, the image detection module 750 includes:
a first detecting unit 751, configured to detect whether a first degree of association between an acquisition parameter of the first image and an acquisition parameter of the second image reaches a first threshold;
a first result unit 752 configured to obtain the first detection result indicating that the first image and the second image satisfy the first predetermined condition when the detection result of the first detection unit 751 is that the first degree of association reaches the first threshold.
Referring to fig. 7C, in a second possible implementation manner of the embodiment, the image detection module 750 includes:
a second detecting unit 753 for detecting whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold;
a second result unit 754, configured to obtain the first detection result indicating that the first image and the second image satisfy the first predetermined condition if the detection result of the second detection unit 753 is that the second degree of association reaches the second threshold.
In a third possible implementation manner of this embodiment, the second display module 730 includes:
a first obtaining unit 731, configured to parse the first operation to obtain first control information, where the first control information is used to adjust a display scale of the first image;
a second obtaining unit 732, configured to analyze the first operation to obtain second control information, where the second control information is used to adjust a central display position of the first image;
the first display unit 733 is configured to display the first image according to the first control information acquired by the first acquisition unit and the second control information acquired by the second acquisition unit.
In a fourth possible implementation manner of this embodiment, the third display module 760 includes:
a third obtaining unit 761, configured to analyze the second operation to obtain third control information, where the third control information is used to control the electronic device to display the second image;
a second display unit 762 configured to display the second image according to the first control information and the second control information.
In summary, the image display apparatus provided in this embodiment detects whether the first image and the second image satisfy the first predetermined condition after receiving the second operation for controlling the electronic device to display the second image, so as to obtain the first detection result, and displays the second image in the same display state as that of the first image in response to the second operation and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 8, a block diagram of an image display apparatus according to another embodiment of the present invention is shown, where the image display apparatus may be implemented as all or part of an electronic device through software, hardware or a combination of the two, and the image display apparatus may include: a first display module 810, a first receiving module 820, a second display module 830, a second receiving module 840, an image detection module 850, and a third display module 860;
a first display module 810, configured to display a first image in a first state when a first image and a second image are stored in the electronic device and an instruction for displaying the first image is obtained, where the first image and the second image have a first relationship;
a first receiving module 820, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
a second display module 830, configured to display the first image in a second state in response to the first operation received by the first receiving module 820;
a second receiving module 840, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
an image detection module 850, configured to detect whether the first image and the second image satisfy a first predetermined condition, and obtain a first detection result;
a third displaying module 860, configured to respond to the second operation received by the second receiving module 840, and display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
In a possible implementation manner of this embodiment, the apparatus further includes:
a display scale obtaining module 870, configured to detect a display scale of the first image in the second state;
a central position acquiring module 880, configured to detect a central display position of the first image in the second state;
the third display module 860 includes:
a fourth obtaining unit 861, configured to parse the second operation to obtain fourth control information, where the fourth control information is used to control the electronic device to display the second image;
a third display unit 862 for displaying the second image at the display scale of the first image with the central display position of the first image as the central display position of the second image.
In summary, the image display apparatus provided in this embodiment detects whether the first image and the second image satisfy the first predetermined condition after receiving the second operation for controlling the electronic device to display the second image, so as to obtain the first detection result, and displays the second image in the same display state as that of the first image in response to the second operation and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
Referring to fig. 9, a block diagram of an image display apparatus according to another embodiment of the present invention is shown, where the image display apparatus may be implemented as all or part of an electronic device through software, hardware or a combination of the two, and the image display apparatus may include: a first display module 910, a first receiving module 920, a second display module 930, a second receiving module 940, an image detection module 950, and a third display module 960;
a first display module 910, configured to display a first image in a first state when the electronic device stores the first image and a second image and obtains an instruction to display the first image, where the first image and the second image have a first relationship;
a first receiving module 920, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
a second display module 930, configured to display the first image in a second state in response to the first operation received by the first receiving module 920;
a second receiving module 940, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
an image detection module 950, configured to detect whether the first image and the second image satisfy a first predetermined condition, and obtain a first detection result;
a third displaying module 960, configured to, in response to the second operation received by the second receiving module 940, display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
In a possible implementation manner of this embodiment, the apparatus further includes:
an object detection module 970 for detecting a target object in the first image;
an area obtaining module 980, configured to obtain a display area of the target object detected by the object detecting module 970;
the third display module 960 includes:
a fifth obtaining unit 961, configured to analyze the second operation to obtain fifth control information, where the fifth control information is used to control the electronic device to display the second image;
a fourth display unit 962 configured to display the target object in the second image in the display area by taking the target object in the second image as a central area.
In summary, the image display apparatus provided in this embodiment detects whether the first image and the second image satisfy the first predetermined condition after receiving the second operation for controlling the electronic device to display the second image, so as to obtain the first detection result, and displays the second image in the same display state as that of the first image in response to the second operation and when the first detection result indicates that the first image and the second image satisfy the first predetermined condition; the problem that when a user views a second image associated with a first image, the user still needs to perform amplification operation, and the operation complexity is high is solved; when the electronic equipment detects that the second image and the first image meet the first preset condition, the electronic equipment can directly display the second image according to the display mode for displaying the first image, and a user does not need to execute any operation, so that the operation complexity of the user is reduced.
It should be noted that: in the image display device provided in the above embodiment, when displaying an image, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the image display device and the method embodiment of the image display method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (15)
1. An image display method applied to an electronic device, the method comprising:
when a first image and a second image are stored in the electronic equipment and an instruction for displaying the first image is obtained, displaying the first image in a first state;
receiving a first operation, wherein the first operation is at least used for adjusting the display scale of the first image;
displaying the first image in a second state in response to the first operation;
receiving a second operation, wherein the second operation is used for controlling the electronic equipment to display the second image;
detecting whether the first image and the second image meet a first preset condition or not to obtain a first detection result;
responding to the second operation, and if the first detection result shows that the first image and the second image meet the first preset condition, displaying the second image in the second state.
2. The method according to claim 1, wherein the detecting whether the first image and the second image satisfy a first predetermined condition obtains a first detection result, specifically:
detecting whether a first degree of association between the acquisition parameters of the first image and the acquisition parameters of the second image reaches a first threshold value;
and if the detection result is that the first association degree reaches the first threshold value, obtaining the first detection result indicating that the first image and the second image meet the first preset condition.
3. The method according to claim 1, wherein the detecting whether the first image and the second image satisfy a first predetermined condition obtains a first detection result, specifically:
detecting whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold;
and if the detection result is that the second association degree reaches the second threshold, obtaining the first detection result indicating that the first image and the second image meet the first preset condition.
4. The method according to claim 1, wherein the displaying the first image in a second state in response to the first operation is in particular:
analyzing the first operation to obtain first control information, wherein the first control information is used for adjusting the display scale of the first image;
analyzing the first operation to obtain second control information, wherein the second control information is used for adjusting the central display position of the first image;
and displaying the first image according to the first control information and the second control information.
5. The method according to claim 4, wherein the displaying the second image in the second state in response to the second operation is specifically:
analyzing the second operation to obtain third control information, wherein the third control information is used for controlling the electronic equipment to display the second image;
and displaying the second image according to the first control information and the second control information.
6. The method of claim 1, wherein prior to said displaying said second image in said second state in response to said second operation, said method further comprises:
detecting the display scale of the first image in the second state;
detecting a central display position of the first image in the second state;
the responding to the second operation and displaying the second image in the second state specifically include:
analyzing the second operation to obtain fourth control information, wherein the fourth control information is used for controlling the electronic equipment to display the second image;
and displaying the second image at the display scale of the first image by taking the central display position of the first image as the central display position of the second image.
7. The method of claim 1, wherein prior to said displaying said second image in said second state in response to said second operation, said method further comprises:
detecting a target object in the first image;
acquiring the display area of the target object;
the responding to the second operation and displaying the second image in the second state specifically include:
analyzing the second operation to obtain fifth control information, wherein the fifth control information is used for controlling the electronic equipment to display the second image;
and displaying the target object in the second image by using the display area by taking the target object in the second image as a central area.
8. An image display device applied to an electronic apparatus, the device comprising:
the first display module is used for displaying a first image in a first state when the electronic equipment stores the first image and a second image and obtains an instruction for displaying the first image;
a first receiving module, configured to receive a first operation, where the first operation is at least used to adjust a display scale of the first image;
the second display module is used for responding to the first operation received by the first receiving module and displaying the first image in a second state;
a second receiving module, configured to receive a second operation, where the second operation is used to control the electronic device to display the second image;
the image detection module is used for detecting whether the first image and the second image meet a first preset condition or not to obtain a first detection result;
and a third display module, configured to respond to the second operation received by the second receiving module, and display the second image in the second state if the first detection result indicates that the first image and the second image satisfy the first predetermined condition.
9. The apparatus of claim 8, wherein the image detection module comprises:
the first detection unit is used for detecting whether a first association degree between the acquisition parameters of the first image and the acquisition parameters of the second image reaches a first threshold value or not;
a first result unit, configured to obtain the first detection result indicating that the first image and the second image satisfy the first predetermined condition when the detection result of the first detection unit is that the first degree of association reaches the first threshold.
10. The apparatus of claim 8, wherein the image detection module comprises:
a second detection unit configured to detect whether a second degree of association between the image content of the first image and the image content of the second image reaches a second threshold;
a second result unit, configured to obtain the first detection result indicating that the first image and the second image satisfy the first predetermined condition if the detection result of the second detection unit is that the second degree of association reaches the second threshold.
11. The apparatus of claim 8, wherein the second display module comprises:
a first obtaining unit, configured to analyze the first operation to obtain first control information, where the first control information is used to adjust a display scale of the first image;
the second obtaining unit is used for analyzing the first operation to obtain second control information, and the second control information is used for adjusting the central display position of the first image;
and the first display unit is used for displaying the first image according to the first control information acquired by the first acquisition unit and the second control information acquired by the second acquisition unit.
12. The apparatus of claim 11, wherein the third display module comprises:
a third obtaining unit, configured to analyze the second operation to obtain third control information, where the third control information is used to control the electronic device to display the second image;
and the second display unit is used for displaying the second image according to the first control information and the second control information.
13. The apparatus of claim 8, further comprising:
a display scale obtaining module, configured to detect a display scale of the first image in the second state;
a central position acquisition module, configured to detect a central display position of the first image in the second state;
the third display module includes:
a fourth obtaining unit, configured to analyze the second operation to obtain fourth control information, where the fourth control information is used to control the electronic device to display the second image;
and the third display unit is used for displaying the second image according to the display scale of the first image by taking the central display position of the first image as the central display position of the second image.
14. The apparatus of claim 8, further comprising:
an object detection module for detecting a target object in the first image;
the area acquisition module is used for acquiring the display area of the target object detected by the object detection module;
the third display module includes:
a fifth obtaining unit, configured to analyze the second operation to obtain fifth control information, where the fifth control information is used to control the electronic device to display the second image;
and the fourth display unit is used for displaying the target object in the second image by taking the target object in the second image as a central area and the display area.
15. An electronic device characterized in that it comprises the image display apparatus according to any one of claims 8 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410059194.2A CN104866163B (en) | 2014-02-21 | 2014-02-21 | Image display method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410059194.2A CN104866163B (en) | 2014-02-21 | 2014-02-21 | Image display method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104866163A true CN104866163A (en) | 2015-08-26 |
CN104866163B CN104866163B (en) | 2019-01-15 |
Family
ID=53912033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410059194.2A Active CN104866163B (en) | 2014-02-21 | 2014-02-21 | Image display method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866163B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471595A (en) * | 2018-05-11 | 2019-11-19 | 成都野望数码科技有限公司 | A kind of method and device of object scaling |
CN112214621A (en) * | 2020-10-19 | 2021-01-12 | 深圳市圆周率软件科技有限责任公司 | Image viewing method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090276701A1 (en) * | 2008-04-30 | 2009-11-05 | Nokia Corporation | Apparatus, method and computer program product for facilitating drag-and-drop of an object |
CN102023802A (en) * | 2009-09-18 | 2011-04-20 | 三洋电机株式会社 | Image display device and image display method |
CN103034401A (en) * | 2012-12-13 | 2013-04-10 | 东莞宇龙通信科技有限公司 | Setting method for terminal and association pictures |
US20140033043A1 (en) * | 2009-07-09 | 2014-01-30 | Sony Corporation | Image editing apparatus, image editing method and program |
CN103581432A (en) * | 2012-08-03 | 2014-02-12 | Lg电子株式会社 | Apparatus for displaying an image and method of controlling the same |
-
2014
- 2014-02-21 CN CN201410059194.2A patent/CN104866163B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090276701A1 (en) * | 2008-04-30 | 2009-11-05 | Nokia Corporation | Apparatus, method and computer program product for facilitating drag-and-drop of an object |
US20140033043A1 (en) * | 2009-07-09 | 2014-01-30 | Sony Corporation | Image editing apparatus, image editing method and program |
CN102023802A (en) * | 2009-09-18 | 2011-04-20 | 三洋电机株式会社 | Image display device and image display method |
CN103581432A (en) * | 2012-08-03 | 2014-02-12 | Lg电子株式会社 | Apparatus for displaying an image and method of controlling the same |
CN103034401A (en) * | 2012-12-13 | 2013-04-10 | 东莞宇龙通信科技有限公司 | Setting method for terminal and association pictures |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110471595A (en) * | 2018-05-11 | 2019-11-19 | 成都野望数码科技有限公司 | A kind of method and device of object scaling |
CN112214621A (en) * | 2020-10-19 | 2021-01-12 | 深圳市圆周率软件科技有限责任公司 | Image viewing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104866163B (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3661187B1 (en) | Photography method and mobile terminal | |
CN112954210B (en) | Photographing method and device, electronic equipment and medium | |
US20170083741A1 (en) | Method and device for generating instruction | |
US9654685B2 (en) | Camera apparatus and control method thereof | |
US8532346B2 (en) | Device, method and computer program product | |
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
EP3125135A1 (en) | Picture processing method and device | |
CN111866392B (en) | Shooting prompting method and device, storage medium and electronic equipment | |
JP2018506755A (en) | Image processing method, image processing method, computer program, and computer-readable storage medium | |
US9509733B2 (en) | Program, communication apparatus and control method | |
EP3518522B1 (en) | Image capturing method and device | |
CN107172347B (en) | Photographing method and terminal | |
CN111818385B (en) | Video processing method, video processing device and terminal equipment | |
CN103188434A (en) | Method and device of image collection | |
KR20170132833A (en) | Pressure detection method, apparatus, program, and recording medium | |
CN113840070A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN106095236A (en) | The method and device of arranging desktop icons | |
CN113923350A (en) | Video shooting method and device, electronic equipment and readable storage medium | |
CN106919326A (en) | A kind of image searching method and device | |
CN107544686B (en) | Operation execution method and device | |
CN108600628B (en) | Image capturing method and device, terminal and readable medium | |
CN108009273B (en) | Image display method, image display device and computer-readable storage medium | |
CN107133361A (en) | Gesture identification method, device and terminal device | |
CN112333395B (en) | Focusing control method and device and electronic equipment | |
CN105678696B (en) | A kind of information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |