Image display method, device, terminal and storage medium
By determining the final display area of the image based on the unfolding angle value of the folding screen, the visual distortion problem caused by the incompletely unfolded folding screen is solved, and the image display effect and user experience of the terminal are improved.
Patent Information
- Application Number
- CN202011395542.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-03
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2040-12-03
AI Technical Summary
In the terminal where the folding screen is provided, the folding screen that is not fully expanded causes visual distortion, affecting the image display effect of the user when using vertically.
By obtaining the current unfolding angle value of the folding screen and the image to be displayed, the final display area of the image is determined, and the image is displayed in this area to correct visual distortion.
It eliminates the visual distortion caused by the folding screen not being fully unfolded, improves the image display effect of the terminal when used in a vertical position, and improves the user experience.
Smart Images

Figure CN114610187B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to an image display method, device, terminal and storage medium. Background Art
[0002] At present, many terminals are equipped with folding screens. In a terminal equipped with a folding screen, when the folding screen is not fully unfolded, it can be placed on a flat surface such as a desktop like an unfolded book for use, so that the terminal can be used vertically, providing convenience for users. Figure 2 As shown, when the terminal provided with a folding screen is used in a vertical position, although the image displayed on each half screen of the folding screen is flat, since the folding screen is not fully unfolded, there is an angle ( Figure 2 The angle value of the angle between the two half screens is a, that is, the current unfolding angle value of the folding screen is a). When the user watches the screen, the above angle causes visual distortion. If you want to watch the image normally at this time, you must correct the visual distortion caused by the above angle. Summary of the invention
[0003] In order to overcome the problems existing in the related art, the present disclosure provides an image display method, device, terminal and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an image display method, which is applied to a terminal with a folding screen, and the method includes:
[0005] Obtaining the current unfolding angle value of the folding screen and the image to be displayed;
[0006] Determining a final display area of the image to be displayed according to the current expansion angle value;
[0007] The image to be displayed is displayed in the final display area.
[0008] Optionally, determining a final display area of the image to be displayed according to the current expansion angle value includes:
[0009] Acquire the original display area of the image to be displayed;
[0010] A final display area of the image to be displayed is determined according to the current expansion angle value and the original display area.
[0011] Optionally, the folding screen is divided into a first display screen and a second display screen adjacent to each other by a hinge structure, and when the image to be displayed is an image symmetrical with respect to the hinge structure, determining a final display area of the image to be displayed according to the current unfolding angle value and the original display area includes:
[0012] Acquire the image to be displayed in the first sub-original display area of the first display screen of the folding screen;
[0013] Determine, according to the current unfolding angle value and the first sub-original display area, a first sub-final display area of the image to be displayed on the first display screen;
[0014] Determine an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as a second sub-final display area;
[0015] A final display area of the image to be displayed is determined according to the first final sub display area and the second final sub display area.
[0016] Optionally, determining a final display area of the image to be displayed according to the current expansion angle value and the original display area includes:
[0017] Acquire the first sub-original display area of the image to be displayed on the first display screen of the folding screen; determine the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value and the first sub-original display area; and / or,
[0018] Acquire the second sub-original display area of the image to be displayed on the second display screen of the folding screen; determine the second sub-final display area of the image to be displayed on the second display screen according to the current unfolding angle value and the second sub-original display area;
[0019] A final display area of the image to be displayed is determined according to the first sub-final display area and / or the second sub-final display area.
[0020] Optionally, determining, according to the current expansion angle value and the first sub-original display area, a first sub-final display area of the image to be displayed on the first display screen includes:
[0021] Acquire a first original pixel area of each pixel of a first sub-image in the first sub-original display area; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0022] Determine, according to the current unfolding angle value and the first original pixel area, a first final pixel area of each pixel of the first sub-image on the first display screen;
[0023] A display area formed by all the first final pixel areas is determined as the first sub-final display area.
[0024] Optionally, determining, according to the current expansion angle value and the first sub-original display area, a first sub-final display area of the image to be displayed on the first display screen includes:
[0025] Acquire a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0026] Acquire a boundary original pixel area of each boundary pixel in the first sub-original display area;
[0027] Determine a final pixel area of each of the boundary pixels on the boundary of the first display screen according to the current expansion angle value and the boundary original pixel area;
[0028] A display area formed by all pixels enclosed by the boundary final pixel area is determined as the first sub-final display area.
[0029] Optionally, obtaining the current unfolding angle value of the folding screen and the image to be displayed includes:
[0030] receiving control information;
[0031] According to the control information, the current unfolding angle value of the folding screen and the image to be displayed are obtained.
[0032] Optionally, the control information is obtained according to an unfolding action of the folding screen.
[0033] Optionally, acquiring the current unfolding angle value of the folding screen and the image to be displayed according to the control information includes:
[0034] According to the control information, obtaining a current unfolding angle value of the folding screen;
[0035] When the current expansion angle value is greater than or equal to a preset angle value, the image to be displayed is acquired.
[0036] According to a second aspect of an embodiment of the present disclosure, there is provided an image display device, which is applied to a terminal with a folding screen, and the device includes:
[0037] An acquisition module, used to acquire the current unfolding angle value of the folding screen and the image to be displayed;
[0038] A determination module, used to determine a final display area of the image to be displayed according to the current expansion angle value;
[0039] A display module is used to display the image to be displayed in the final display area.
[0040] Optionally, the determining module is further used to:
[0041] Acquire the original display area of the image to be displayed;
[0042] A final display area of the image to be displayed is determined according to the current expansion angle value and the original display area.
[0043] Optionally, the folding screen is divided into a first display screen and a second display screen adjacent to each other by a hinge structure, and when the image to be displayed is an image symmetrical with respect to the hinge structure, the determining module is further configured to:
[0044] Acquire the image to be displayed in the first sub-original display area of the first display screen of the folding screen;
[0045] Determine, according to the current unfolding angle value and the first sub-original display area, a first sub-final display area of the image to be displayed on the first display screen;
[0046] Determine an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as a second sub-final display area;
[0047] A final display area of the image to be displayed is determined according to the first final sub display area and the second final sub display area.
[0048] Optionally, the determining module is further used to:
[0049] Acquire the first sub-original display area of the image to be displayed on the first display screen of the folding screen; determine the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value and the first sub-original display area; and / or,
[0050] Acquire the second sub-original display area of the image to be displayed on the second display screen of the folding screen; determine the second sub-final display area of the image to be displayed on the second display screen according to the current unfolding angle value and the second sub-original display area;
[0051] A final display area of the image to be displayed is determined according to the first sub-final display area and / or the second sub-final display area.
[0052] Optionally, the determining module is further used to:
[0053] Acquire a first original pixel area of each pixel of a first sub-image in the first sub-original display area; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0054] Determine, according to the current unfolding angle value and the first original pixel area, a first final pixel area of each pixel of the first sub-image on the first display screen;
[0055] A display area formed by all the first final pixel areas is determined as the first sub-final display area.
[0056] Optionally, the determining module is further used to:
[0057] Acquire a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0058] Acquire a boundary original pixel area of each boundary pixel in the first sub-original display area;
[0059] Determine a final pixel area of each of the boundary pixels on the boundary of the first display screen according to the current expansion angle value and the boundary original pixel area;
[0060] A display area formed by all pixels enclosed by the boundary final pixel area is determined as the first sub-final display area.
[0061] Optionally, the acquisition module is further used to:
[0062] receiving control information;
[0063] According to the control information, the current unfolding angle value of the folding screen and the image to be displayed are obtained.
[0064] Optionally, the control information is obtained according to an unfolding action of the folding screen.
[0065] Optionally, the acquisition module is further used to:
[0066] According to the control information, obtaining a current unfolding angle value of the folding screen;
[0067] When the current expansion angle value is greater than or equal to a preset angle value, the image to be displayed is acquired.
[0068] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including a folding screen, and the terminal further including:
[0069] processor;
[0070] a memory for storing processor-executable instructions;
[0071] The processor is configured to execute the method as described in the first aspect.
[0072] According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method described in the first aspect.
[0073] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: in the method, when the terminal is used to display an image, the final display area of the image to be displayed is determined according to the current unfolding angle value of the folding screen, and the image to be displayed is displayed in the final display area, that is, the method corrects and compensates the display area of the image to be displayed according to the unfolding angle of the folding screen, eliminates the visual distortion caused by the incomplete unfolding of the folding screen to a certain extent, improves the display effect of the terminal, especially the display effect when the terminal is used in a vertical position, facilitates users to use the terminal with a folding screen, and improves the user experience.
[0074] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0076] Figure 1 It is a schematic diagram of image display of a folding screen in a fully unfolded state shown in the related art.
[0077] Figure 2 It is a schematic diagram of an image display in which the current unfolding angle value of the folding screen is a shown in the related art.
[0078] Figure 3 is a schematic diagram of image display when the current unfolding angle value of the folding screen is a according to an exemplary embodiment.
[0079] Figure 4 The figure is a flowchart of an image display method according to an exemplary embodiment.
[0080] Figure 5 It is a schematic diagram showing the principle of an image display method according to an exemplary embodiment.
[0081] Figure 6 It is a schematic diagram showing the principle of an image display method according to an exemplary embodiment.
[0082] Figure 7 is a flowchart of an image display method according to an exemplary embodiment
[0083] Figure 8 is a block diagram of an image display device according to an exemplary embodiment.
[0084] Fig. 9 is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0086] In the related art, in a terminal (such as a mobile phone) provided with a folding screen, when the folding screen is in a fully unfolded state, its image is displayed as follows: Figure 1 When the folding screen is not fully unfolded, the image is shown as follows Figure 2 As shown, there is no active correction and compensation measures, and there is serious visual distortion. And the greater the difference between the unfolding angle of the folding screen and the flat angle, the more obvious the visual distortion of the image display. Therefore, when the user uses the terminal vertically, the image display effect gives the user a very poor experience, and the user can only adapt to the distorted image display, or the user fully unfolds the folding screen and uses other methods to achieve vertical use of the terminal.
[0087] The present disclosure provides an image display method, which is applied to a terminal with a folding screen. In the method, when the terminal is used to display an image, a final display area of the image to be displayed is determined according to the current unfolding angle value of the folding screen, and the image to be displayed is displayed in the final display area. That is, the method corrects and compensates the display area of the image to be displayed according to the unfolding angle of the folding screen, and the adjusted image is as follows: Figure 3 As shown, the visual distortion caused by the folding screen not being fully unfolded is eliminated to a certain extent, the display effect of the terminal is improved, especially the display effect when the terminal is used vertically, which facilitates users to use the terminal with a folding screen and improves the user experience.
[0088] In an exemplary embodiment, a method for displaying an image is provided. Figure 4 As shown, the method includes:
[0089] S110, obtaining a current unfolding angle value of the folding screen and an image to be displayed;
[0090] S120, determining a final display area of the image to be displayed according to the current expansion angle value;
[0091] S130: Display the image to be displayed in the final display area.
[0092] In step S110, the current unfolding angle value of the folding screen can be detected by the angle sensor and then transmitted to the processor, and the processor can obtain the current unfolding angle value of the folding screen. Of course, the current unfolding angle value can also be obtained by other existing technical means, which will not be repeated here.
[0093] In addition, in the present application, the folding screen may include two display screens, and the sizes of the two display screens may be the same or different, and there is no restriction on this. The folding screen may be provided with a hinge structure to divide the folding screen into a first display screen and a second display screen. The folding screen may also be provided with multiple hinge structures to divide the folding screen into at least three display screens. The multiple display screens divided above may be integrally formed, that is, a flexible screen is divided by bending a hinge structure. The multiple display screens divided above may also be non-integrally formed.
[0094] Taking the folding screen including a hinge structure as an example, the unfolding state of the folding screen includes the following three situations:
[0095] Case 1:
[0096] The folding screen is in the fully expanded state, and the current expansion angle is 180 degrees.
[0097] Case 2:
[0098] The folding screen is in an incompletely unfolded state, and the folding screen is in an inwardly bent state. At this time, the angle formed by the front of the first display screen and the second display screen is less than 180 degrees.
[0099] Case 3:
[0100] The folding screen is in an incompletely unfolded state, and is in an outwardly bent state. At this time, the angle formed by the front of the first display screen and the second display screen is greater than 180 degrees.
[0101] The front side of the first display screen and the second display screen refers to the side of the first display screen and the second display screen used for display.
[0102] It can be understood that the sum of the angle formed by the front of the first display screen and the front of the second display screen, and the angle formed by the back of the first display screen and the back of the second display screen should be 360 degrees. Therefore, no matter whether the current expansion angle value refers to the angle value formed by the front of the first display screen and the front of the second display screen, or refers to the angle value formed by the back of the first display screen and the back of the second display screen, the final display area of the image to be displayed can be determined according to the current expansion angle value.
[0103] In step S120 , the final display area of the image to be displayed may be determined according to the Pythagorean theorem.
[0104] In one embodiment, if Figure 5 As shown, point C' is the projection of point C on the straight line where OC' is located, and point D' is the projection of point D on the straight line where OC' is located.
[0105] When the folding screen is in a fully unfolded state, the original display position of point A in the image to be displayed in the folding screen is point C'.
[0106] When the folding screen is in an unfolded state with an angle value of a, that is, the current unfolded angle value refers to the angle value formed by the front of the first display screen and the front of the second display screen, and the angle value is a. If the display area is not adjusted, the original display position of the above point A in the image to be displayed in the folding screen is point D, where Figure 5 Point O in the figure is the position of the symmetry axis of the folding screen, then OC'=OD. However, when the user watches the image to be displayed, point A of the image to be displayed is visually located at point D' in the figure, and OD'<OC', so there is visual distortion.
[0107] According to the Pythagorean theorem, OC=OD / sin(a / 2) in the figure, and then the final display position of point A is determined as point C, that is, the final display position is determined according to the current expansion angle value and the original display position of the image to be displayed, thereby eliminating the above-mentioned visual distortion and achieving better image display effect.
[0108] Similarly, the final display position of any point in the image to be displayed can be determined according to the current expansion angle value, and then the final display area of the image to be displayed can be determined, so that the image to be displayed in the horizontal direction (in this application, reference Figure 1-3 As shown in the figure, the visual distortion of the folding screen (horizontally parallel to the bottom edge of the folding screen and vertically parallel to the symmetry axis of the folding screen) is improved when the terminal is in a vertical position, thereby improving the image display effect and the user experience.
[0109] It should be noted that since sin90°=1, when the folding screen is in a fully unfolded state (i.e., when the current unfolded angle value is 180 degrees), the final display area can also be determined by this method. Alternatively, when it is determined that the folding screen is in a fully unfolded state, the image is directly displayed using the prior art method.
[0110] In step S130, the image to be displayed includes a picture and a video. After the final display area of the image to be displayed is determined, the processor transmits the image to be displayed to the folding screen, and displays the image to be displayed in the final display area of the folding screen. Specifically, the method of displaying a complete image to be displayed in the final display area can be implemented in the prior art, which will not be described in detail here.
[0111] In this method, correction compensation is performed on the display area of the image to be displayed according to the unfolding angle of the folding screen, which eliminates the visual distortion caused by the folding screen not being fully unfolded to a certain extent, improves the display effect of the terminal, especially the display effect when the terminal is used vertically, facilitates users to use the terminal equipped with a folding screen, and improves the user experience.
[0112] In an exemplary embodiment, an image display method is provided, which is an improvement of step S120 in the above method. Specifically, in the method, according to the current expansion angle value, a final display area of the image to be displayed is determined, including:
[0113] S210, obtaining an original display area of an image to be displayed;
[0114] S220: Determine a final display area of the image to be displayed according to the current expansion angle value and the original display area.
[0115] In step S210, the original display area refers to the display area before the image to be displayed is compensated and adjusted according to the current angle value. Figure 2 in the display area.
[0116] In step S220, when the final display area is determined according to the current expansion angle value and the original display area, the final display position for displaying each image point in the image to be displayed may be determined respectively, and then the area formed by the final display positions of all image points is used as the final display area. Alternatively, the final pixel area for displaying each pixel in the image to be displayed may be determined respectively, and then the area formed by all the final pixel areas is used as the final display area.
[0117] In one embodiment, the final display position for displaying each image point in the image to be displayed is first determined respectively, and then the area formed by the final display positions of all image points is used as the final display area. Figure 5 As shown, point C' is the projection of point C on the straight line where OC' is located, and point D' is the projection of point D on the straight line where OC' is located.
[0118] When the folding screen is in a fully unfolded state, the original display position of point A in the image to be displayed in the folding screen is point C'.
[0119] When the folding screen is in an unfolded state with an angle value of a, that is, the current unfolded angle value refers to the angle value formed by the front of the first display screen and the front of the second display screen, and the angle value is a. If the display area is not adjusted, the original display position of the above point A in the image to be displayed in the folding screen is point D, where Figure 5Point O in the figure is the position of the symmetry axis of the folding screen, then OC'=OD. However, when the user watches the image to be displayed, point A of the image to be displayed is visually located at point D' in the figure, and OD'<OC', so there is visual distortion.
[0120] According to the Pythagorean theorem, OC=OD / sin(a / 2) in the figure, and then the final display position of point A is determined as point C, that is, the final display position is determined according to the current expansion angle value and the original display position of the image to be displayed, thereby eliminating the above-mentioned visual distortion and achieving better image display effect.
[0121] Similarly, the final display position of any point in the image to be displayed can be determined according to the current expansion angle value, and then the final display area of the image to be displayed can be determined, thereby improving visual distortion and improving image display effects and user experience when the terminal is in a vertical position.
[0122] It should be noted that when determining the final pixel area for displaying each pixel in the image to be displayed, the principle is the same as the above-mentioned "determining the final display position for displaying each image point in the image to be displayed", and is also calculated and determined based on the Pythagorean theorem, which will not be repeated here.
[0123] In an exemplary embodiment, a display control method is provided, which is an improvement on step S220 in the above method. Specifically, in the method, the folding screen is divided into a first display screen and a second display screen adjacent to each other by a hinge structure. When the image to be displayed is an image symmetrical with respect to the hinge structure, the final display area of the image to be displayed is determined according to the current unfolding angle value and the original display area, including:
[0124] S310, obtaining a first sub-original display area of a first display screen of the folding screen on which an image to be displayed is located;
[0125] S320, determining the first sub-final display area of the first display screen in which the image to be displayed is located according to the current expansion angle value and the first sub-original display area;
[0126] S330, determining an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as the second sub-final display area;
[0127] S340: Determine a final display area of the image to be displayed according to the first final sub display area and the second final sub display area.
[0128] In the method, when the image to be displayed is an image symmetrical with respect to the symmetry axis of the folding screen (i.e., the folding axis of the folding screen, which is also the connecting axis of the first display screen and the second display screen), the first sub-final display area of the image to be displayed on the first display screen and its second sub-final display area on the second display screen are also symmetrical with respect to the symmetry axis. Therefore, the first sub-final display area or the second sub-final display area can be determined first, and then the area on the second display screen of the folding screen that is symmetrical to the first sub-final display area is determined as the second sub-final display area, so as to improve resource usage (such as memory resources) during the implementation of the method, save resources for the terminal, and improve efficiency to a certain extent.
[0129] In one embodiment, the first sub-final display area of the image to be displayed on the first display screen is determined according to the current expansion angle value and the first sub-original display area, and then the position of the second display screen is determined according to the axis of symmetry and the current expansion angle. Finally, the area in the second display screen that is symmetrical to the above-mentioned first sub-final display area is determined as the second sub-final display area. The display area formed by the first sub-final display area and the second sub-final display area is determined as the final display area of the image to be displayed in the folding screen, and the image to be displayed is displayed in the final display area, thereby achieving a certain degree of improvement in visual distortion and enhancing the image display effect.
[0130] In one embodiment, the second sub-final display area of the image to be displayed on the second display screen is first determined according to the current expansion angle value and the second sub-original display area, and then the position of the first display screen is determined according to the axis of symmetry and the current expansion angle. Finally, the area in the first display screen that is symmetrical to the second sub-final display area is determined to be the first sub-final display area. The display area formed by the first sub-final display area and the second sub-final display area is determined to be the final display area of the image to be displayed in the folding screen, and the image to be displayed is displayed in the final display area, thereby achieving a certain degree of improvement in visual distortion and enhancing the image display effect.
[0131] In an exemplary embodiment, a display control method is provided, which is an improvement of step S220 in the above method. Specifically, in the method, according to the current expansion angle value and the original display area, a final display area of the image to be displayed is determined, including:
[0132] S410, acquiring an image to be displayed in a first sub-original display area of a first display screen of the folding screen;
[0133] S420, determining the first sub-final display area of the first display screen in which the image to be displayed is located according to the current expansion angle value and the first sub-original display area;
[0134] S430, obtaining the second sub-original display area of the second display screen of the folding screen on which the image to be displayed is located;
[0135] S440, determining a second sub-final display area of the second display screen for the image to be displayed according to the current expansion angle value and the second sub-original display area;
[0136] S450: Determine a final display area of the image to be displayed according to the first final sub display area and the second final sub display area.
[0137] It can be understood that the image to be displayed includes not only images symmetrical about the symmetry axis of the folding screen, but also other images. When the image to be displayed is not symmetrical about the above-mentioned symmetry axis, it is necessary to determine the first sub-final display area located on the first display screen and the second sub-final display area located on the second display screen according to the current unfolding angle value and the corresponding sub-original display area, so as to improve the visual distortion of the folding screen in a non-fully unfolded state.
[0138] In this method, before executing step S420, step S410 must be executed first; before executing S440, step S430 must be executed first. However, there is no execution order between step S410 and step S430. In other words, in this method, there is no execution logic relationship between the steps for determining the first sub-final display area and the steps for determining the second sub-final display area. The two can be performed simultaneously, sequentially, or in reverse order.
[0139] In one embodiment, the terminal has better performance (eg, larger available memory, more available power, etc.), and simultaneously executes the steps for determining the first sub-final display area and the steps for determining the second sub-final display area to improve overall efficiency.
[0140] In one embodiment, if the performance of the terminal is poor (eg, less available memory or less available power, etc.), the step for determining the first sub-final display area is performed first, and then the step for determining the second sub-final display area is performed.
[0141] In this method, the execution timing between the step for determining the first sub-final display area and the step for determining the second sub-final display area can be adjusted according to the current performance parameters of the terminal, thereby improving the adaptability of the method, ensuring the smoothness of the terminal, and further enhancing the user experience.
[0142] The current performance parameters of the terminal include available memory value, available power value, number of background applications and other parameters used to represent the performance of the terminal.
[0143] In one implementation, a preset memory value is preset in the terminal.
[0144] When the available memory value in the current performance parameter of the terminal is greater than or equal to the preset memory value, the step for determining the first sub-final display area and the step for determining the second sub-final display area are simultaneously performed to improve the overall efficiency.
[0145] When the available memory value in the current performance parameter of the terminal is less than the preset memory value, the step for determining the first sub-final display area is first performed, and then the step for determining the second sub-final display area is performed; or, the step for determining the second sub-final display area is first performed, and then the step for determining the first sub-final display area is performed, so as to reduce the memory usage.
[0146] In addition, it should be noted that the image to be displayed can also be displayed only on a certain display screen of the folding screen.
[0147] For example, if the image to be displayed is only displayed on the first display screen, then there is no need to perform steps S430 and S440, and after performing steps S410 and S420, when performing step S450, the final display area of the image to be displayed is directly determined according to the first final display area, that is, the first final display area is determined as the final display area, and the image to be displayed is displayed.
[0148] For another example, the image to be displayed is only displayed on the second display screen. In this case, there is no need to perform steps S410 and S420, and steps S410 and S420 are directly performed, and then step S450 is performed. When performing step S450, the final display area of the image to be displayed is directly determined according to the second final display area, that is, the second final display area is determined as the final display area, and the image to be displayed is displayed.
[0149] In an exemplary embodiment, an image display method is provided, which is an improvement of the above method. Specifically, in the method, according to the current expansion angle value and the first sub-original display area, determining the first sub-final display area of the image to be displayed on the first display screen includes:
[0150] S510, acquiring a first original pixel area in a first sub-original display area for each pixel of a first sub-image; wherein the first sub-image refers to an image to be displayed displayed on the first display screen;
[0151] S520, determining, according to the current expansion angle value and the first original pixel area, that each pixel of the first sub-image is in a first final pixel area of the first display screen;
[0152] S530: Determine a display area formed by all first final pixel areas as a first sub-final display area.
[0153] In step S510, it can be understood that each image display area is composed of a pixel area for displaying each pixel of the image. Therefore, the image to be displayed includes a first sub-image displayed on the first display screen and a second sub-image displayed on the second display screen, wherein each pixel of the first sub-image corresponds to a first original pixel area in the first display screen, and all the first original pixel areas in the first display screen form a first sub-original display area in the first display screen for displaying the first sub-image. Based on this, the first original pixel area of each pixel of the first sub-image in the first sub-original display area can be obtained.
[0154] In one embodiment, the first sub-image includes ten thousand pixels, and in the first display screen, the first sub-original display area for displaying the first sub-image includes twenty thousand pixels, that is, every two pixels in the first sub-original display area form a first original pixel area for displaying a pixel in the first sub-image.
[0155] In step S520, after the first original pixel region for displaying each pixel in the first sub-image is determined, the first final pixel region for displaying each pixel in the first sub-image may be determined according to the Pythagorean theorem.
[0156] In one embodiment, if Figure 6 As shown, point E' is the projection of point E on the straight line where OE' is located, point F' is the projection of point F on the straight line where OE' is located, point G' is the projection of point G on the straight line where OE' is located, and point H' is the projection of point H on the straight line where OE' is located.
[0157] When the folding screen is in a fully unfolded state, in the horizontal direction, the pixel area of the first display screen used to display the B pixels in the first sub-image is the area indicated by G'E'.
[0158] When the folding screen is in an unfolded state with an angle value of a, that is, the current unfolded angle value refers to the angle value formed by the front of the first display screen and the front of the second display screen, and the angle value is a. If the display area is not adjusted, the first original pixel area of the above-mentioned B pixel in the image to be displayed in the folding screen is the area represented by HF, where Figure 6 The point O in the figure is the position of the symmetry axis of the folding screen, then OE'=OF, OG'=OH. However, when the user views the image to be displayed, the B pixel of the image to be displayed is located in the area represented by H'F' in the figure, and OF'<OE', OH'<OG', so there is visual distortion.
[0159] According to the Pythagorean theorem, OE=OF / sin(a / 2) and OG=OH / sin(a / 2) in the figure, and then the first final pixel area of the B pixel is determined as the area represented by GE, that is, the first final pixel area is determined according to the current expansion angle value and the first original pixel area, thereby eliminating the above-mentioned visual distortion and achieving better image display effect.
[0160] Similarly, the first final pixel area of each pixel in the first sub-image can be determined according to the current expansion angle value, and then the display area formed by all the first final pixel areas can be determined as the first sub-final display area of the first sub-image on the first display screen, thereby eliminating lateral visual distortion and improving the image display effect and user experience when the terminal is in a vertical use state.
[0161] In an exemplary embodiment, an image display method is provided, which is an improvement of the above method. Specifically, in the method, according to the current expansion angle value and the first sub-original display area, determining the first sub-final display area of the image to be displayed on the first display screen includes:
[0162] S610, acquiring a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of an image to be displayed displayed on a first display screen;
[0163] S620, obtaining a boundary original pixel area of each boundary pixel in the first sub-original display area;
[0164] S630: Determine a final pixel area of each boundary pixel on the first display screen according to the current expansion angle value and the boundary original pixel area.
[0165] S640: Determine a display area formed by all pixels enclosed by the boundary final pixel area as a first sub-final display area.
[0166] In this method, the first sub-image includes a plurality of pixels, and among the plurality of pixels, the pixels forming the boundary of the first sub-image are recorded as boundary pixels. When determining the boundary pixels, for example, the contour line of the first sub-image can be determined first, and the pixels on the contour line can be determined as boundary pixels. It should be noted that the width direction of any position of the above-mentioned contour line does not necessarily include only a single pixel, but may also include two or even more pixels, that is, the boundary pixel in this application does not necessarily refer to the outermost pixel in a certain direction of the first sub-image, but may also refer to the outermost two or more pixels in a certain direction of the first sub-image. In addition, in this application, boundary pixels can not only be determined by contour lines, but of course boundary pixels can also be determined by other existing technologies, which will not be elaborated here.
[0167] Therefore, after all the boundary final pixel areas for displaying all boundary pixels are determined, the display area formed by all the pixels surrounded by all the boundary final pixels is the boundary of the first sub-final display area for displaying the first sub-image, wherein all the pixels surrounded by all the boundary final pixels include the all boundary final pixels.
[0168] In one embodiment, if Figure 6 As shown, point E' is the projection of point E on the straight line where OE' is located, point F' is the projection of point F on the straight line where OE' is located, point G' is the projection of point G on the straight line where OE' is located, and point H' is the projection of point H on the straight line where OE' is located.
[0169] When the folding screen is in a fully unfolded state, in the horizontal direction, the pixel area of the first display screen used to display the B pixel in the first sub-image is the area indicated by G'E', wherein the B pixel is a certain boundary pixel.
[0170] When the folding screen is in an unfolded state with an angle value of a, that is, the current unfolded angle value refers to the angle value formed by the front of the first display screen and the front of the second display screen, and the angle value is a. If the display area is not adjusted, the first original pixel area of the above-mentioned B pixel in the image to be displayed in the folding screen is the area represented by HF, where Figure 6 The point O in the figure is the position of the symmetry axis of the folding screen, then OE'=OF, OG'=OH. However, when the user views the image to be displayed, the B pixel of the image to be displayed is located in the area represented by H'F' in the figure, and OF'<OE', OH'<OG', so there is visual distortion.
[0171] According to the Pythagorean theorem, OE=OF / sin(a / 2) and OG=OH / sin(a / 2) in the figure, and then the first final pixel area of the B pixel is determined as the area represented by GE, that is, the boundary final pixel area is determined according to the current expansion angle value and the boundary original pixel area, thereby eliminating the above-mentioned visual distortion and achieving better image display effect.
[0172] Similarly, the boundary final pixel area of each boundary pixel in the first sub-image can be determined according to the current expansion angle value, and then the display area formed by all pixels surrounded by all the boundary final pixel areas is determined as the first sub-final display area of the first sub-image on the first display screen, thereby eliminating lateral visual distortion and improving the image display effect and user experience when the terminal is in a vertical use state.
[0173] In an exemplary embodiment, an image display method is provided, which is an improvement on step S110 in the above method. Specifically, in the method, obtaining the current unfolding angle value of the folding screen and the image to be displayed includes:
[0174] S710, receiving control information;
[0175] S720. Obtain the current unfolding angle value of the folding screen and the image to be displayed according to the control information.
[0176] In this method, the control information can be obtained according to the unfolding action of the folding screen, or according to the user's input. For example, a key or button for receiving control information is set in the terminal, and the user inputs the control information through the button or button; or the control information refers to a touch signal of a preset trajectory.
[0177] In one embodiment, the control information can be obtained according to the unfolding action of the folding screen. An angle sensor is provided in the terminal. When the angle sensor detects the unfolding action of the folding screen, the control information used to characterize the unfolding action of the folding screen is sent to the processor. The processor receives the control information and then obtains the current unfolding angle value and the image to be displayed of the folding screen according to the control information. In this embodiment, when the folding screen unfolds, the corresponding visual distortion correction processing is performed to improve the user experience.
[0178] In one embodiment, the control information refers to a touch signal of a preset trajectory, and the preset trajectory is, for example, an "S"-shaped touch signal. When the user inputs an "S"-shaped touch signal on the folding screen, the processor receives the touch signal, and then obtains the current unfolding angle value of the folding screen and the image to be displayed according to the touch signal. This embodiment facilitates the user to control whether to perform visual distortion correction processing, thereby improving the user experience.
[0179] In an exemplary embodiment, an image display method is provided, which is an improvement on step S720 in the above method. Specifically, in the method, according to control information, a current unfolding angle value of the folding screen and an image to be displayed are obtained, including:
[0180] S810. Acquire a current unfolding angle value of the folding screen according to the control information;
[0181] S820: When the current expansion angle value is greater than or equal to the preset angle value, obtain an image to be displayed.
[0182] In this method, when the folding screen is unfolded at a small angle, it is not convenient for users to use the folding screen. Therefore, the folding screen will not start the display function at this time, and will not display images, so there is no need to correct visual distortion.
[0183] In step S820, the preset angle value may be set before the terminal leaves the factory, or may be set by the user when using the terminal. The specific setting method of the preset angle value can be implemented by existing technology, which will not be described in detail here.
[0184] In one embodiment, the preset angle value is 10°. When the angle sensor of the terminal detects that the folding screen has an unfolding action, it sends control information to the processor. The processor controls the angle sensor to detect the current unfolding angle value of the folding screen according to the control information. After the angle sensor detects the current unfolding angle value, it sends the current unfolding angle value to the processor. After the processor receives the current unfolding angle value, it compares the current unfolding angle value with the preset angle value. If the current unfolding angle value is greater than or equal to 10°, obtain the display image, and then execute other subsequent steps. If the current unfolding angle value is less than 10°, it ends. Then the angle sensor continues to detect in real time whether the folding screen has an unfolding action.
[0185] It should be noted that the unfolding action of the folding screen refers to the action of changing the unfolding angle of the folding screen, including decreasing and increasing the unfolding angle.
[0186] In this method, when the unfolding angle of the folding screen is small, the folding screen will not start the display function, will not execute the action of acquiring the image to be displayed, and will not perform subsequent visual distortion correction processing, thereby avoiding waste of terminal resources.
[0187] In an exemplary embodiment, an image display method is provided, referring to Figure 7 As shown, the method includes:
[0188] S910, receiving control information;
[0189] S920. Acquire a current unfolding angle value of the folding screen and an image to be displayed according to the control information;
[0190] S930, obtaining a first sub-original display area of a first display screen of the folding screen in which an image to be displayed is displayed;
[0191] S940, acquiring a first original pixel area in the first sub-original display area for each pixel of the first sub-image; wherein the first sub-image refers to an image to be displayed displayed on the first display screen;
[0192] S950, determining, according to the current expansion angle value and the first original pixel area, that each pixel of the first sub-image is in a first final pixel area of the first display screen;
[0193] S960, determining a display area formed by all first final pixel areas as a first sub-final display area;
[0194] S970, determining that an area on the second display screen of the folding screen that is symmetrical to the first sub final display area is a second sub final display area;
[0195] S980: Determine a final display area of the image to be displayed according to the first final sub display area and the second final sub display area.
[0196] S990: Display the image to be displayed in the final display area.
[0197] In the method, when the terminal is used to display an image, the final display area of the image to be displayed is determined according to the current unfolding angle value of the folding screen, and the image to be displayed is displayed in the final display area. That is, the method corrects and compensates the display area of the image to be displayed according to the unfolding angle of the folding screen, thereby eliminating the visual distortion caused by the folding screen not being fully unfolded to a certain extent, improving the display effect of the terminal, especially the display effect when the terminal is used in a vertical position, making it convenient for users to use the terminal with a folding screen, and improving the user experience.
[0198] The present disclosure also proposes an image display device, which is applied to a terminal with a folding screen, and the device is used to implement the above-mentioned image display method. In the device, when the terminal is used for image display, the final display area of the image to be displayed is determined according to the current unfolding angle value of the folding screen, and the image to be displayed is displayed in the final display area, that is, the method corrects and compensates the display area of the image to be displayed according to the unfolding angle of the folding screen, and eliminates the visual distortion caused by the incomplete unfolding of the folding screen to a certain extent, improves the display effect of the terminal, especially the display effect when the terminal is used vertically, facilitates users to use the terminal with a folding screen, and improves the user experience.
[0199] In an exemplary embodiment, an image display device is provided, referring to Figure 8 As shown, the device includes an acquisition module, a determination module and a display module. In the process of implementing the above method, the device:
[0200] An acquisition module, used to acquire the current unfolding angle value of the folding screen and the image to be displayed;
[0201] A determination module, used to determine a final display area of the image to be displayed according to the current expansion angle value;
[0202] A display module is used to display the image to be displayed in the final display area.
[0203] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the determination module is also used for:
[0204] Acquire the original display area of the image to be displayed;
[0205] A final display area of the image to be displayed is determined according to the current expansion angle value and the original display area.
[0206] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the folding screen is divided into a first display screen and a second display screen adjacent to each other by a rotating shaft structure. When the image to be displayed is an image symmetrical with respect to the rotating shaft structure, the determination module is further used to:
[0207] Acquire the image to be displayed in the first sub-original display area of the first display screen of the folding screen;
[0208] Determine, according to the current unfolding angle value and the first sub-original display area, a first sub-final display area of the image to be displayed on the first display screen;
[0209] Determine an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as a second sub-final display area;
[0210] A final display area of the image to be displayed is determined according to the first final sub display area and the second final sub display area.
[0211] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the determination module is also used for:
[0212] Acquire the first sub-original display area of the image to be displayed on the first display screen of the folding screen; determine the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value and the first sub-original display area; and / or,
[0213] Acquire the second sub-original display area of the image to be displayed on the second display screen of the folding screen; determine the second sub-final display area of the image to be displayed on the second display screen according to the current unfolding angle value and the second sub-original display area;
[0214] A final display area of the image to be displayed is determined according to the first sub-final display area and / or the second sub-final display area.
[0215] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8As shown, the determination module is also used for:
[0216] Acquire a first original pixel area of each pixel of a first sub-image in the first sub-original display area; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0217] Determine, according to the current unfolding angle value and the first original pixel area, a first final pixel area of each pixel of the first sub-image on the first display screen;
[0218] A display area formed by all the first final pixel areas is determined as the first sub-final display area.
[0219] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the determination module is also used for:
[0220] Acquire a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen;
[0221] Acquire a boundary original pixel area of each boundary pixel in the first sub-original display area;
[0222] Determine a final pixel area of each of the boundary pixels on the boundary of the first display screen according to the current expansion angle value and the boundary original pixel area;
[0223] A display area formed by all pixels enclosed by the boundary final pixel area is determined as the first sub-final display area.
[0224] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the acquisition module is also used to:
[0225] receiving control information;
[0226] According to the control information, the current unfolding angle value of the folding screen and the image to be displayed are obtained.
[0227] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, reference is made to Figure 8 As shown, the control information is obtained according to the unfolding action of the folding screen.
[0228] In an exemplary embodiment, an image display device is provided, which is an improvement of the above device. Specifically, in the device, the acquisition module is further used to:
[0229] According to the control information, obtaining a current unfolding angle value of the folding screen;
[0230] When the current expansion angle value is greater than or equal to a preset angle value, the image to be displayed is acquired.
[0231] In an exemplary embodiment, a terminal is provided. For example, the terminal may be a terminal with a foldable screen, such as a mobile phone, a tablet computer, or a notebook computer.
[0232] refer to Fig. 9 As shown, terminal 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .
[0233] The processing component 402 generally controls the overall operation of the terminal 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0234] The memory 404 is configured to store various types of data to support operations at the terminal 400. Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
[0235] Power component 406 provides power to various components of terminal 400. Power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 400.
[0236] The multimedia component 408 includes a screen that provides an output interface between the terminal 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the terminal 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0237] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the terminal 400 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0238] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0239] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the terminal 400. For example, the sensor assembly 414 can detect the open / closed state of the terminal 400, the relative positioning of the components, such as the display and keypad of the terminal 400, and the sensor assembly 414 can also detect the position change of the terminal 400 or a component of the terminal 400, the presence or absence of contact between the user and the terminal 400, the orientation or acceleration / deceleration of the terminal 400, and the temperature change of the terminal 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0240] The communication component 416 is configured to facilitate wired or wireless communication between the terminal 400 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0241] In an exemplary embodiment, terminal 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0242] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of a terminal 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method shown in the above embodiment.
[0243] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the claims.
[0244] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An image display method, applied to a terminal with a foldable screen, characterized in that: The method comprises: When the terminal is in a vertical use state, obtaining a current unfolding angle value of the folding screen and an image to be displayed; Determining a final display area of the image to be displayed according to the current expansion angle value; Displaying the image to be displayed in the final display area; The step of determining a final display area of the image to be displayed according to the current expansion angle value includes: Acquire the original display area of the image to be displayed; According to the current expansion angle value, the original display area and the Pythagorean theorem, a final display area of the image to be displayed is determined, and compared with the original display area, the final display area remains unchanged in the longitudinal direction and expands in the transverse direction.
2. The image display method according to claim 1, characterized in that: The folding screen is divided into a first display screen and a second display screen adjacent to each other by a rotating shaft structure. When the image to be displayed is an image symmetrical with respect to the rotating shaft structure, determining a final display area of the image to be displayed according to the current unfolding angle value, the original display area and the Pythagorean theorem includes: Acquire the image to be displayed in the first sub-original display area of the first display screen of the folding screen; Determine, according to the current unfolding angle value, the first sub-original display area, and the Pythagorean theorem, a first sub-final display area of the image to be displayed on the first display screen; Determine an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as a second sub-final display area; A final display area of the image to be displayed is determined according to the first sub-final display area and the second sub-final display area.
3. The image display method according to claim 1, characterized in that: The determining, according to the current unfolding angle value, the original display area and the Pythagorean theorem, a final display area of the image to be displayed comprises: Acquire the first sub-original display area of the image to be displayed on the first display screen of the folding screen; determine the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value, the first sub-original display area and the Pythagorean theorem; and / or, Acquire the second sub-original display area of the image to be displayed on the second display screen of the folding screen; determine the second sub-final display area of the image to be displayed on the second display screen according to the current unfolding angle value, the second sub-original display area and the Pythagorean theorem; A final display area of the image to be displayed is determined according to the first sub-final display area and / or the second sub-final display area.
4. The image display method according to claim 2 or 3, characterized in that: The step of determining the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value, the first sub-original display area, and the Pythagorean theorem includes: Acquire a first original pixel area of each pixel of a first sub-image in the first sub-original display area; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen; Determine, according to the current unfolding angle value, the first original pixel area, and the Pythagorean theorem, a first final pixel area of each pixel of the first sub-image on the first display screen; A display area formed by all the first final pixel areas is determined as the first sub-final display area.
5. The image display method according to claim 2 or 3, characterized in that: The step of determining the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value, the first sub-original display area, and the Pythagorean theorem includes: Acquire a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen; Acquire a boundary original pixel area of each boundary pixel in the first sub-original display area; Determine a final pixel area of each of the boundary pixels on the boundary of the first display screen according to the current unfolding angle value, the boundary original pixel area and the Pythagorean theorem; A display area formed by all pixels enclosed by the boundary final pixel area is determined as the first sub-final display area.
6. The image display method according to claim 1, characterized in that: The obtaining the current unfolding angle value of the folding screen and the image to be displayed includes: receiving control information; According to the control information, the current unfolding angle value of the folding screen and the image to be displayed are obtained.
7. The image display method according to claim 6, characterized in that: The control information is obtained according to the unfolding action of the folding screen.
8. The image display method according to claim 6, characterized in that: The acquiring, according to the control information, a current unfolding angle value of the folding screen and an image to be displayed, comprises: According to the control information, obtaining a current unfolding angle value of the folding screen; When the current expansion angle value is greater than or equal to a preset angle value, the image to be displayed is acquired.
9. An image display device, applied to a terminal with a folding screen, characterized in that: The device comprises: An acquisition module, used to acquire a current unfolding angle value of the folding screen and an image to be displayed when the terminal is in a vertical use state; A determination module, used to determine a final display area of the image to be displayed according to the current expansion angle value; A display module, used for displaying the image to be displayed in the final display area; The determining module is further used for: Acquire the original display area of the image to be displayed; According to the current expansion angle value, the original display area and the Pythagorean theorem, a final display area of the image to be displayed is determined, and compared with the original display area, the final display area remains unchanged in the longitudinal direction and expands in the transverse direction.
10. The image display device according to claim 9, characterized in that: The folding screen is divided into a first display screen and a second display screen adjacent to each other by a rotating shaft structure. When the image to be displayed is an image symmetrical with respect to the rotating shaft structure, the determining module is further configured to: Acquire the image to be displayed in the first sub-original display area of the first display screen of the folding screen; Determine, according to the current unfolding angle value, the first sub-original display area, and the Pythagorean theorem, a first sub-final display area of the image to be displayed on the first display screen; Determine an area on the second display screen of the folding screen that is symmetrical to the first sub-final display area as a second sub-final display area; A final display area of the image to be displayed is determined according to the first sub-final display area and the second sub-final display area.
11. The image display device according to claim 9, characterized in that: The determining module is further used for: Acquire the first sub-original display area of the image to be displayed on the first display screen of the folding screen; determine the first sub-final display area of the image to be displayed on the first display screen according to the current unfolding angle value, the first sub-original display area and the Pythagorean theorem; and / or, Acquire the image to be displayed in the second sub-original display area of the second display screen of the folding screen; Determine, according to the current unfolding angle value, the second sub-original display area, and the Pythagorean theorem, a second sub-final display area of the image to be displayed on the second display screen; A final display area of the image to be displayed is determined according to the first sub-final display area and / or the second sub-final display area.
12. The image display device according to claim 10 or 11, characterized in that: The determining module is further used for: Acquire a first original pixel area of each pixel of a first sub-image in the first sub-original display area; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen; Determine, according to the current unfolding angle value, the first original pixel area, and the Pythagorean theorem, a first final pixel area of each pixel of the first sub-image on the first display screen; A display area formed by all the first final pixel areas is determined as the first sub-final display area.
13. The image display device according to claim 10 or 11, characterized in that: The determining module is further used for: Acquire a plurality of boundary pixels constituting a boundary of a first sub-image; wherein the first sub-image refers to an image of the image to be displayed displayed on the first display screen; Acquire a boundary original pixel area of each boundary pixel in the first sub-original display area; Determine a final pixel area of each of the boundary pixels on the boundary of the first display screen according to the current unfolding angle value, the boundary original pixel area and the Pythagorean theorem; A display area formed by all pixels enclosed by the boundary final pixel area is determined as the first sub-final display area.
14. The image display device according to claim 9, characterized in that: The acquisition module is further used for: receiving control information; According to the control information, the current unfolding angle value of the folding screen and the image to be displayed are obtained.
15. The image display device according to claim 14, characterized in that: The control information is obtained according to the unfolding action of the folding screen.
16. The image display device according to claim 14, characterized in that: The acquisition module is further used for: According to the control information, obtaining a current unfolding angle value of the folding screen; When the current expansion angle value is greater than or equal to a preset angle value, the image to be displayed is acquired.
17. A terminal, characterized in that: The terminal folds the screen, and the terminal further comprises: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to execute the image display method as described in any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the image display method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Image display method and mobile terminal
CN110290263A