CN111949235B - Image display control method and related device - Google Patents

Image display control method and related device Download PDF

Info

Publication number
CN111949235B
CN111949235B CN201910407935.4A CN201910407935A CN111949235B CN 111949235 B CN111949235 B CN 111949235B CN 201910407935 A CN201910407935 A CN 201910407935A CN 111949235 B CN111949235 B CN 111949235B
Authority
CN
China
Prior art keywords
image
display screen
display
similarity
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910407935.4A
Other languages
Chinese (zh)
Other versions
CN111949235A (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910407935.4A priority Critical patent/CN111949235B/en
Publication of CN111949235A publication Critical patent/CN111949235A/en
Application granted granted Critical
Publication of CN111949235B publication Critical patent/CN111949235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Abstract

The application discloses an image display control method and a related device, which are applied to electronic equipment, wherein the method comprises the following steps: when a first image is displayed on the first display screen, after a starting operation for the second display screen is detected, controlling the first display screen to display the first image in a transparent mode; when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image; when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user; and according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image. The method and the device are beneficial to improving convenience and reliability of image comparison.

Description

Image display control method and related device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an image display control method and a related device.
Background
With the continuous development of electronic technology, applications of mobile terminal devices are becoming more and more widespread, and in the prior art, if a user wants to run one application for operation while the mobile terminal is running another application, the mobile terminal is required to suspend related operations of the currently running application or close an application interface of the currently running application, and then switch to the application interface of the other application. For example, when two pictures need to be compared, the two pictures need to be observed back and forth, or the two pictures are combined on the left and right sides of one picture to be compared, and the obtained comparison result is subjective and inaccurate.
Disclosure of Invention
The embodiment of the application provides an image display control method and a related device, which are beneficial to improving the convenience and reliability of image comparison.
In a first aspect, an embodiment of the present application provides an image display control method, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen that are stacked, and the first display screen is a main display screen; the method comprises the following steps:
when a first image is displayed on the first display screen, after a starting operation for the second display screen is detected, controlling the first display screen to display the first image in a transparent mode;
when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image;
when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user;
and according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image.
In a second aspect, an embodiment of the present application provides an image display control device, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen that are stacked, and the first display screen is a main display screen; the image display control device comprises a processing unit and a communication unit, wherein,
The processing unit is used for controlling the first display screen to display the first image in a transparent mode after detecting the starting operation of the second display screen when the first image is displayed on the first display screen; when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image; when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user through the communication unit; and according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps as described in any of the methods of the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in any of the methods of the first aspect of embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
Drawings
In order to more clearly describe the technical solutions in the embodiments or the background of the present application, the following description will describe the drawings that are required to be used in the embodiments or the background of the present application.
FIG. 1A is a diagram of a first display screen and a second display screen according to an embodiment of the present application;
fig. 1B is a schematic flow chart of an image display control method according to an embodiment of the present application;
fig. 2 is a flowchart of another image display control method according to an embodiment of the present application;
FIG. 3 is a flowchart of another image display control method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a functional unit block diagram of an image display control apparatus according to an embodiment of the present application.
Detailed description of the preferred embodiments
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
The following will describe in detail.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the drawings, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The electronic device according to the embodiment of the present application may be an electronic device with image display control capability, and the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various types of User Equipment (UE), mobile Station (MS), terminal devices (terminal devices), and so on.
The embodiments of the present application are described in detail below.
Referring to fig. 1A, fig. 1A is a reference example diagram of a display screen module of an electronic device 100 according to an embodiment of the present application, where the display screen module includes a first display screen 110 and a second display screen 120 that are stacked, where the first display screen 110 and the second display screen 120 may be transparent, and therefore, the first display screen 110 and the second display screen 120 may both be displayed separately or simultaneously. The first display 110 is above the second display 120, i.e. the first display 110 is on the side away from the housing 130, the second display 120 is on the side closer to the housing 130, and the first display 110 is the primary display and the second display 120 is the secondary display. The first display 110 is normally displayed, which is a daily display, and the second display 120 is normally inactive. The first display screen 110 includes a plurality of uniformly distributed pixels 111, and the second display screen 120 also includes a plurality of uniformly distributed pixels 121, so that when the display effect of a part of pixels of the first display screen 110 is poor due to screen aging, the first display screen 110 can be displayed in an auxiliary manner by starting the part of pixels of the second display screen 120, and therefore, in some scenes, the first display screen 110 can be displayed in an auxiliary manner by the second display screen 120, so as to improve the display effect of the whole display screen.
Referring to fig. 1B, fig. 1B is a schematic flow chart of an image display control method provided in an embodiment of the present application, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen that are stacked, and the first display screen is a main display screen. The image display control method comprises the following steps:
s101, when the electronic device detects that a first image is displayed on the first display screen, after the electronic device detects the starting operation for the second display screen, the electronic device controls the first display screen to display the first image in a transparent mode.
The electronic device is provided with a transparent first display screen and a transparent second display screen, and in general, only the first display screen is used or only the second display screen is used, and because the first display screen is a main display screen, the second display screen is a secondary display screen, and because the priority of the first display screen is higher than that of the second display screen, when the first display screen is used, the second display screen is in a dormant state.
When the first display screen displays the first image, a user can start the second display screen through corresponding operation, and after the start operation on the second display screen is detected, the first display screen is controlled to display the first image in a transparent mode.
S102, when the electronic equipment detects that the second display screen displays a second image, comparing the similarity of the first image and the second image.
The first display screen and the second display screen can respectively display application interfaces of different application programs, when the second display screen is detected to display a second image, the first display screen and the second display screen are currently scenes displayed by the images, and at the moment, the electronic equipment can compare the similarity of the first image and the second image.
S103, when the electronic equipment detects that the similarity between the first image and the second image is larger than a preset threshold value, acquiring a selection operation from a user.
When the similarity between the first image and the second image is detected to be greater than a preset threshold, the electronic device may output a prompt message for prompting the user whether to perform image screening, for example, two images shot by the user in a very short time interval, or two images shot by the user in different time intervals and having very high similarity, and when the user feels that it is not necessary to save the two images having very high similarity at the same time, the electronic device may perform a selection operation, and at this time, the electronic device may acquire the selection operation of the user.
By superposing and displaying the first image and the second image, a user can more intuitively observe the layout, the outline and other information of the two images, and can determine which image should be reserved in the first image and the second image which are similar through careful comparison, so that the image which is wanted to be reserved or deleted is selected through selection operation, and the memory space of the electronic equipment is released.
S104, the electronic equipment reserves the first image or the second image according to the selection operation, and deletes the second image or the first image.
And synchronously deleting the second image when the user selection of the first image is detected, or synchronously deleting the first image when the user selection of the second image is detected.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
In one possible example, the controlling the first display screen to transparently display the first image includes: determining the number of colors corresponding to the display content of the first image; determining a transparency level corresponding to the first image according to the color number; and carrying out transparency processing on the first image according to the transparency grade.
After the starting operation for the second display screen is detected, the first display screen is required to be subjected to transparentization, and the first display screen is controlled to display the first image in a transparent mode, so that a user can view the content displayed by the second display screen through the first display screen.
The number of colors corresponding to the display content of the first image is determined, and the transparency level corresponding to the first image is determined according to the number of colors, so that the first image can be subjected to transparency processing according to the transparency level. For example, every 5 colors, the transparency level increases by one step, that is, the degree of transparency becomes high, and if the first image is a face image, it is detected that only 18 colors are included, the transparency level 5 is corresponding, or the first image is a landscape image, and it is detected that 32 colors are included, and the transparency level 8 is corresponding.
In this example, the first image is displayed in a transparent manner by controlling the first display screen, so that a user can view the first image displayed by the first display screen and the second image displayed by the second display screen through the first display screen which is arranged in a stacked manner, and meanwhile, the grade of the first display screen for performing the transparent processing on the first image is determined by determining the number of colors corresponding to the first image, so that the degree of the transparent processing can be enhanced when the colors of the first image are more, and the display interference caused by the first display screen to the second display screen is reduced.
In one possible example, after detecting that the second display screen displays a second image, the method further includes: acquiring eye tracking information of a user, and determining a target image currently viewed by the user according to the eye tracking information; and when the target image is detected to be the first image, enhancing the display parameters of the first image, weakening the display parameters of the second image, or when the target image is detected to be the second image, enhancing the display parameters of the second image, weakening the display parameters of the first image.
When the first display screen and the second display screen simultaneously display images, the electronic device can acquire eye tracking information of a user and determine whether the user views the first image or the second image currently according to the acquired eye tracking information, so that when the user is detected to view the first image, the display parameters of the first image are enhanced, and the display parameters of the second image are weakened, so that the user can clearly see the first image, display interference caused by the second image to the first image is reduced, or when the user is detected to view the second image, the display parameters of the second image are enhanced, the display parameters of the first image are weakened, and therefore the user can clearly see the second image, and display interference caused by the first image to the second image is reduced.
The display parameters may include parameters such as brightness, contrast, saturation, and the like. For example, when the first display screen and the second display screen are simultaneously started to display content, if the fact that the user currently views the first display screen is detected, the display brightness of the first display screen can be improved, and the display brightness of the second display screen is reduced, so that the display content of the first display screen can be highlighted, and the user can conveniently review.
In this example, when the television device uses the first display screen and the second display screen at the same time, the electronic device obtains eye tracking information of the user through the camera or the sensor, so as to determine whether the user is currently viewing the first image of the first display screen or viewing the second image of the second display screen, thereby adjusting the display parameters of the first image and the second image, and being beneficial to the user to clearly see the currently viewed image.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the method further includes: and outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity of the first image and the second image is high or not.
In this example, after detecting that the similarity between the first image and the second image is greater than the preset threshold, the electronic device may output a prompt message, where the prompt message is used to prompt the user whether the similarity between the first image and the second image is higher, so that the user may select to keep only one image of the first image and the second image, which is favorable for releasing the memory of the electronic device and improving the resource utilization rate.
In one possible example, the retaining the first image or the second image according to the selecting operation, deleting the second image or the first image includes: determining the pressing force corresponding to the selection operation; and when the pressing force is detected to be smaller than the preset pressing force, reserving the first image and deleting the second image.
The first display screen and the second display screen are arranged in a laminated mode, so that when the display screen is subjected to touch operation, the first display screen and the second display screen can be subjected to touch operation through different pressing forces, when the pressing forces are smaller than preset pressing forces, the user is indicated to want to perform touch operation on the first display screen, and when the pressing forces are larger than or equal to the preset pressing forces, the user is indicated to want to perform touch operation on the second display screen. When the user selects the first image and the second image, determining pressing force corresponding to the selection operation, and determining whether the user selects the first image or the second image according to the pressing force.
It can be seen that, in this example, the user can realize controlling first display screen or control second display screen through control pressing force, when pressing force is less than the preset pressing force, indicates that the user selects the first image at present to can keep the first image, delete the second image, be favorable to improving the convenience of selecting the operation.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the method further includes: determining display elements in which differences exist in the first image and the second image; and highlighting the display elements with the differences.
After detecting that the similarity of the first image and the second image is greater than a preset threshold, the electronic device can determine display elements with differences in the first image and the second image, and highlight the display elements with differences, so that a user can clearly see different places in the two images.
In this example, after the electronic device marks the display element with the difference between the first image and the second image, the user can more quickly learn the similar or dissimilar places between the first image and the second image when comparing the graphics, which is beneficial to helping the user to more quickly determine whether to screen the first image and the second image.
In one possible example, after the deleting the second image or the first image, the method further includes: detecting whether a third image with the similarity to the first image being larger than the preset threshold exists in the gallery; if yes, displaying the third image on the second display screen; or detecting whether a fourth image with the similarity to the second image being larger than the preset threshold exists in the gallery; and if yes, displaying the fourth image on the first display screen.
After deleting the second image, the electronic device may further detect whether a third image with a similarity with the second image being greater than a preset threshold exists in the gallery, and if so, the third image is displayed on the second display screen, so that a user may determine whether to delete the first image or the third image by comparing the first image with the third image.
For example, when a user may take a plurality of images at one location, and before the image a is taken a year, the image B is taken at present, but the user may forget the image a, and a lot of images are accumulated in the gallery, the user may have difficulty in finding the image a at one time, and the image a and the image B are accumulated in the gallery, so that the user may determine whether to select by comparing the images a and B taken at different time points but at the same location if the images a and B occupy the memory of the electronic device and have high similarity.
In addition, the user may shoot the image C and the image D in the same period, so that the similarity of the image C and the image D is high, but there are still different places, and when the memory of the electronic device is released, the image C or the image D needs to be deleted, at this time, the image C and the image D are displayed in a laminated manner, so that the user can conveniently carefully compare the outlines and the layouts of the two images, and therefore, a picture which is more wanted to be kept is selected.
In this example, after the first image or the second image is deleted, the electronic device may further search and reserve the second image or other images with high similarity of the first image in the gallery, so that the second image or other images with high similarity of the first image are convenient for re-selection, which is favorable for saving the memory of the electronic device.
Referring to fig. 2, fig. 2 is a schematic flow chart of an image display control method provided in the embodiment of the present application, which is consistent with the embodiment shown in fig. 1B, and is applied to an electronic device, where the electronic device includes a first display screen and a second display screen that are stacked, and the first display screen is a main display screen. As shown in the figure, the image display control method includes:
and S201, when the electronic equipment detects that the first image is displayed on the first display screen, the electronic equipment controls the first display screen to display the first image in a transparent mode after detecting the starting operation aiming at the second display screen.
S202, when the electronic equipment detects that the second display screen displays a second image, the similarity of the first image and the second image is compared.
S203, when the electronic device detects that the similarity between the first image and the second image is greater than a preset threshold, outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity between the first image and the second image is high or not.
S204, the electronic equipment acquires a selection operation from a user.
S205, the electronic equipment reserves the first image or the second image according to the selection operation, and deletes the second image or the first image.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
In addition, after the electronic device detects that the similarity of the first image and the second image is greater than the preset threshold, a prompt message can be output, and the prompt message is used for prompting a user whether the similarity of the first image and the second image is higher or not, so that the user can select to only reserve one image of the first image and the second image, the memory of the electronic device is favorably released, and the resource utilization rate is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of an image display control method provided in the embodiment of the present application, which is consistent with the embodiments shown in fig. 1B and fig. 2, and is applied to an electronic device, where the electronic device includes a first display screen and a second display screen that are stacked, and the first display screen is a main display screen. As shown in the figure, the image display control method includes:
and S301, when the electronic equipment detects that a first image is displayed on the first display screen, controlling the first display screen to display the first image in a transparent mode after detecting the starting operation for the second display screen.
S302, when the electronic equipment detects that the second display screen displays a second image, the similarity of the first image and the second image is compared.
S303, when the electronic device detects that the similarity between the first image and the second image is greater than a preset threshold, outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity between the first image and the second image is high or not.
S304, the electronic equipment acquires a selection operation from a user.
S305, the electronic equipment determines the pressing force corresponding to the selection operation.
And S306, when the electronic equipment detects that the pressing force is smaller than the preset pressing force, reserving the first image and deleting the second image.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
In addition, after the electronic device detects that the similarity of the first image and the second image is greater than the preset threshold, a prompt message can be output, and the prompt message is used for prompting a user whether the similarity of the first image and the second image is higher or not, so that the user can select to only reserve one image of the first image and the second image, the memory of the electronic device is favorably released, and the resource utilization rate is improved.
In addition, the user can control the first display screen or the second display screen by controlling the pressing force, and when the pressing force is smaller than the preset pressing force, the user is indicated to select the first image currently, so that the first image can be reserved, and the second image can be deleted.
Referring to fig. 4, in accordance with the embodiments shown in fig. 1B, fig. 2, and fig. 3, fig. 4 is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, where the electronic device 400 runs one or more application programs and an operating system, and as shown, the electronic device 400 includes a processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the processor 410, and the one or more programs 421 include instructions for performing the following steps;
When a first image is displayed on the first display screen, after a starting operation for the second display screen is detected, controlling the first display screen to display the first image in a transparent mode;
when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image;
when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user;
and according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
In one possible example, in the controlling the first display screen to transparently display the first image, the instructions in the program are specifically configured to: determining the number of colors corresponding to the display content of the first image; determining a transparency level corresponding to the first image according to the color number; and carrying out transparency processing on the first image according to the transparency grade.
In one possible example, the instructions in the program are specifically configured to, after detecting that the second display screen displays a second image: acquiring eye tracking information of a user, and determining a target image currently viewed by the user according to the eye tracking information; and when the target image is detected to be the first image, enhancing the display parameters of the first image, weakening the display parameters of the second image, or when the target image is detected to be the second image, enhancing the display parameters of the second image, weakening the display parameters of the first image.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the instructions in the program are specifically configured to: and outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity of the first image and the second image is high or not.
In one possible example, in said retaining said first image or said second image according to said selecting operation, deleting said second image or said first image, the instructions in said program are specifically for: determining the pressing force corresponding to the selection operation; and when the pressing force is detected to be smaller than the preset pressing force, reserving the first image and deleting the second image.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the instructions in the program are specifically configured to: determining display elements in which differences exist in the first image and the second image; and highlighting the display elements with the differences.
In one possible example, after the deleting the second image or the first image, the instructions in the program are specifically configured to: detecting whether a third image with the similarity to the first image being larger than the preset threshold exists in the gallery; if yes, displaying the third image on the second display screen; or detecting whether a fourth image with the similarity to the second image being larger than the preset threshold exists in the gallery; and if yes, displaying the fourth image on the first display screen.
The foregoing embodiments mainly describe the solutions of the embodiments of the present application from the point of view of the method-side execution procedure. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
According to the embodiment of the application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice.
Fig. 5 is a functional unit block diagram of an image display control apparatus 500 according to an embodiment of the present application. The image display control apparatus 500 is applied to an electronic device, and includes a processing unit 501 and a communication unit 502, wherein,
the processing unit 501 is configured to, when a first image is displayed on the first display screen, control the first display screen to display the first image transparently after detecting a start operation for the second display screen; when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image; when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user through the communication unit 502; and according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image.
The image display control apparatus 500 may further include a storage unit 503 for storing program codes and data of the electronic device. The processing unit 501 may be a processor, the communication unit 502 may be a touch display screen or a transceiver, and the storage unit 503 may be a memory.
It can be seen that, in this embodiment of the present application, when the first display screen displays a first image, after detecting a start operation for the second display screen, the electronic device controls the first display screen to display the first image transparently, secondly, when detecting that the second display screen displays a second image, compares the similarity between the first image and the second image, and then, when detecting that the similarity between the first image and the second image is greater than a preset threshold, obtains a selection operation from a user, and finally, according to the selection operation, retains the first image or the second image, and deletes the second image or the first image. Because the electronic equipment comprises the first display screen and the second display screen which are arranged in a laminated mode, the first display screen and the second display screen are transparent display screens, a first image can be displayed through the first display screen, a second image can be displayed through the second display screen, after the first image is subjected to transparentization, a user can see the first image and the second image which are displayed in the laminated mode at the same time, after the user compares the first image with the second image, the user can select to keep the first image or the second image, and the second image or the first image is deleted, so that convenience and reliability of image comparison are improved.
In one possible example, in the aspect of controlling the first display screen to display the first image transparently, the processing unit 501 is specifically configured to: determining the number of colors corresponding to the display content of the first image; and determining a transparency level corresponding to the first image according to the number of colors; and performing a transparency process on the first image according to the transparency level.
In one possible example, after detecting that the second display screen displays the second image, the processing unit 501 is specifically configured to: acquiring eye tracking information of a user, and determining a target image currently viewed by the user according to the eye tracking information; and the display parameters of the first image are enhanced when the target image is detected to be the first image, the display parameters of the second image are weakened, or the display parameters of the second image are enhanced when the target image is detected to be the second image, and the display parameters of the first image are weakened.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the processing unit 501 is specifically configured to: and outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity of the first image and the second image is high or not.
In one possible example, in the aspect of the selecting, the first image or the second image is retained, and the second image or the first image is deleted, the processing unit 501 is specifically configured to: determining the pressing force corresponding to the selection operation; and the method is used for reserving the first image and deleting the second image when the pressing force is detected to be smaller than the preset pressing force.
In one possible example, after detecting that the similarity between the first image and the second image is greater than a preset threshold, the processing unit 501 is specifically configured to: determining display elements in which differences exist in the first image and the second image; and highlighting the display element with the difference.
In one possible example, after the deleting the second image or the first image, the processing unit 501 is specifically configured to: detecting whether a third image with the similarity to the first image being larger than the preset threshold exists in the gallery; if yes, displaying the third image on the second display screen; or detecting whether a fourth image with the similarity to the second image being larger than the preset threshold exists in the gallery; and if yes, displaying the fourth image on the first display screen.
The embodiment of the application also provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to execute part or all of the steps of any one of the methods described in the embodiments of the method, where the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package, said computer comprising an electronic device.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned method of the various embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be implemented by a program that instructs associated hardware, and the program may be stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The foregoing has outlined rather broadly the more detailed description of embodiments of the present application, wherein specific examples are provided herein to illustrate the principles and embodiments of the present application, the above examples being provided solely to assist in the understanding of the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (7)

1. The image display control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a first display screen and a second display screen which are arranged in a laminated mode, and the first display screen is a main display screen; the method comprises the following steps:
When a first image is displayed on the first display screen, after a starting operation for the second display screen is detected, controlling the first display screen to display the first image in a transparent mode; determining the number of colors corresponding to the display content of the first image; determining a transparency level corresponding to the first image according to the color number; performing a transparency process on the first image according to the transparency level;
when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image;
when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user;
according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image;
after detecting that the second display screen displays a second image, the method further comprises: acquiring eye tracking information of a user, and determining a target image currently viewed by the user according to the eye tracking information; when the target image is detected to be the first image, the display parameters of the first image are enhanced, the display parameters of the second image are weakened, or when the target image is detected to be the second image, the display parameters of the second image are enhanced, and the display parameters of the first image are weakened;
After detecting that the similarity between the first image and the second image is greater than a preset threshold, the method further includes: determining display elements in which differences exist in the first image and the second image; and highlighting the display elements with the differences.
2. The method of claim 1, wherein after detecting that the similarity of the first image and the second image is greater than a preset threshold, the method further comprises:
and outputting a prompt message, wherein the prompt message is used for prompting a user whether the similarity of the first image and the second image is high or not.
3. The method of claim 1, wherein the retaining the first image or the second image, deleting the second image or the first image according to the selecting operation, comprises:
determining the pressing force corresponding to the selection operation;
and when the pressing force is detected to be smaller than a preset pressing force, reserving the first image and deleting the second image.
4. The method of claim 1, wherein after the deleting the second image or the first image, the method further comprises:
Detecting whether a third image with the similarity to the first image being larger than the preset threshold exists in the gallery;
if yes, displaying the third image on the second display screen; or alternatively, the process may be performed,
detecting whether a fourth image with the similarity to the second image being larger than the preset threshold value exists in the gallery;
and if yes, displaying the fourth image on the first display screen.
5. The image display control device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a first display screen and a second display screen which are arranged in a laminated mode, and the first display screen is a main display screen; the image display control device comprises a processing unit and a communication unit, wherein,
the processing unit is used for controlling the first display screen to display the first image in a transparent mode after detecting the starting operation of the second display screen when the first image is displayed on the first display screen; determining the number of colors corresponding to the display content of the first image; determining a transparency level corresponding to the first image according to the color number; performing a transparency process on the first image according to the transparency level; when the second display screen is detected to display a second image, comparing the similarity of the first image and the second image; when the similarity between the first image and the second image is detected to be larger than a preset threshold value, acquiring a selection operation from a user through the communication unit; according to the selection operation, reserving the first image or the second image, and deleting the second image or the first image;
The processing unit is further used for acquiring eye tracking information of the user after the second image is detected to be displayed on the second display screen, and determining a target image currently viewed by the user according to the eye tracking information; when the target image is detected to be the first image, the display parameters of the first image are enhanced, the display parameters of the second image are weakened, or when the target image is detected to be the second image, the display parameters of the second image are enhanced, and the display parameters of the first image are weakened;
the processing unit is further used for determining display elements with differences in the first image and the second image after detecting that the similarity of the first image and the second image is larger than a preset threshold; and highlighting the display elements with the differences.
6. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-4.
7. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of claims 1-4.
CN201910407935.4A 2019-05-15 2019-05-15 Image display control method and related device Active CN111949235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910407935.4A CN111949235B (en) 2019-05-15 2019-05-15 Image display control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910407935.4A CN111949235B (en) 2019-05-15 2019-05-15 Image display control method and related device

Publications (2)

Publication Number Publication Date
CN111949235A CN111949235A (en) 2020-11-17
CN111949235B true CN111949235B (en) 2023-07-28

Family

ID=73336746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910407935.4A Active CN111949235B (en) 2019-05-15 2019-05-15 Image display control method and related device

Country Status (1)

Country Link
CN (1) CN111949235B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140139377A (en) * 2013-05-27 2014-12-05 삼성전자주식회사 Method and apparatus for controlling screen display using environmental information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681808B (en) * 2011-03-15 2016-03-02 联想(北京)有限公司 Display module, electronic equipment and display control method
US9466130B2 (en) * 2014-05-06 2016-10-11 Goodrich Corporation Systems and methods for enhancing displayed images
CN108763317B (en) * 2018-04-27 2021-06-29 维沃移动通信有限公司 Method for assisting in selecting picture and terminal equipment
CN108875797B (en) * 2018-05-29 2023-04-18 腾讯科技(深圳)有限公司 Method for determining image similarity, photo album management method and related equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140139377A (en) * 2013-05-27 2014-12-05 삼성전자주식회사 Method and apparatus for controlling screen display using environmental information

Also Published As

Publication number Publication date
CN111949235A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
US10482849B2 (en) Apparatus and method for compositing image in a portable terminal
CN107797739B (en) Mobile terminal, display control method and device thereof, and computer-readable storage medium
CN109407936B (en) Screenshot method and related device
CN104834866A (en) Method and device for protecting privacy-sensitive information by automatically recognizing scene
US20140380375A1 (en) Page turning method, page turning apparatus and terminal as well as computer readable medium
CN104346057B (en) Background color adjusting method and device
US9319468B2 (en) Information processing apparatus and information processing method
CN102270300A (en) Image processing apparatus, image processing method and program
JP6461107B2 (en) Picture display method and apparatus
CN112422817B (en) Image processing method and device
US20230188842A1 (en) Picture shooting method and apparatus and electronic device
CN113126862A (en) Screen capture method and device, electronic equipment and readable storage medium
US9942483B2 (en) Information processing device and method using display for auxiliary light
CN106200936A (en) Sight protectio method based on terminal unit, device and terminal unit
KR101479624B1 (en) Head unit for a vehicle and method for setting display in the head unit
CN112702531B (en) Shooting method and device and electronic equipment
EP2669894A1 (en) Method for creating thumbnail images of videos and an electronic device for display thereof
US10438377B2 (en) Method and device for processing a page
CN111949235B (en) Image display control method and related device
CN106851052B (en) Control method and electronic equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN106484215B (en) Method and device for managing desktop of mobile terminal
CN113806000A (en) Display method and device and electronic equipment
CN110489040B (en) Method and device for displaying feature model, terminal and storage medium
CN113821139A (en) Information display method, information display device, glasses and medium

Legal Events

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