Image correction method, device and electronic equipment

By obtaining the deformation parameter update interface of the folding screen, the problem of picture distortion caused by the folding screen is solved, the visual appearance is improved, and no hardware improvements are required, saving costs.

CN113986428BActive Publication Date: 2024-08-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111250969.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-08-23
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

Folding screen electronic devices will leave obvious creases when unfolding the screen, causing the display to be distorted and affecting the look and feel. The existing technology lacks an effective solution.

Method used

By obtaining the deformation parameters of the folding screen, the display interface is updated to correct the distortion effect, so that the content is the same but the display effect is different. The deformation parameters of the folding screen are used to correct the picture, ensuring the user's visual perception without hardware improvements.

Benefits of technology

Without changing the hardware, it effectively solves the problem of picture distortion caused by folding screens, improves user experience, and saves correction costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986428B
    Figure CN113986428B
Patent Text Reader

Abstract

The present application discloses a screen correction method, device and electronic device, wherein the screen correction method comprises: when a folding screen displays a first interface, obtaining deformation parameters of the folding screen; according to the deformation parameters of the folding screen, updating the first interface to a second interface, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a picture correction method, device and electronic equipment. Background Art

[0002] With the advancement of smart technology, the use of foldable screens in electronic devices has become a development trend. Foldable screens are widely favored by people because they can provide a larger display screen and have good portability.

[0003] The biggest flaw of electronic devices that use folding screens is that when the screen is unfolded, obvious creases will be left. These creases will cause a certain degree of distortion of the displayed image. As the screen is used for a longer time and the more times it is folded, the more obvious the creases will become, seriously affecting the viewing experience of the image.

[0004] Currently, foldable screens are in the early stages of mass production and use. There is no effective solution to the problems of image distortion and impact on screen viewing caused by screen folding. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a picture correction method, device and electronic device to solve the problem of picture distortion and image perception affected by screen folding in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a method for correcting an image, comprising:

[0007] When the folding screen displays the first interface, obtaining a deformation parameter of the folding screen;

[0008] According to the deformation parameters of the folding screen, the first interface is updated to a second interface, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.

[0009] In a second aspect, an embodiment of the present application provides a picture correction device, comprising:

[0010] An acquisition module, used for acquiring deformation parameters of the folding screen when the folding screen displays the first interface;

[0011] An update module is used to update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0015] In an embodiment of the present application, when the folding screen displays a first interface, the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen. A second screen with the same content as the first interface but a different display effect is displayed on the folding screen, thereby realizing image correction according to the deformation parameters of the folding screen, ensuring the user's visual perception of the image, solving the problem of image distortion on the folding screen without the need for hardware improvements, and saving the cost of image correction. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1a A schematic diagram showing the folding screen in an unfolded state;

[0017] Figure 1b A schematic diagram showing the folding screen in a closed state;

[0018] Figure 2 A schematic diagram showing the switching of display images on a normal folding screen and a deformed folding screen;

[0019] Figure 3 A schematic diagram showing a method for correcting an image provided by an embodiment of the present application;

[0020] Figure 4 A schematic diagram showing a display correction grid provided in an embodiment of the present application;

[0021] Figure 5 A schematic diagram showing image correction according to a second input provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram showing image correction based on reverse parameters provided in an embodiment of the present application;

[0023] Figure 7 A flowchart showing image correction according to the number of folding times provided in an embodiment of the present application;

[0024] Figure 8 A schematic diagram showing an image correction device provided by an embodiment of the present application;

[0025] Fig. 9 It is one of the schematic block diagrams of the electronic device provided in the embodiment of the present application;

[0026] Fig.10 This is the second schematic block diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0029] The image correction method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0030] The image correction method provided in the embodiment of the present application is applied to an electronic device with a foldable screen. The electronic device displays images through the foldable screen, and can provide a larger display screen to enhance the user's visual experience. Figure 1a As shown, it is a schematic diagram of the folding screen in the unfolded state. When the large screen display is not needed, it can be folded, which has good portability. Figure 1b The figure shows a folding screen in a closed state. However, after the folding screen is folded multiple times, the folding screen is deformed, and the normal display screen will be distorted to a certain extent when displayed through the folding screen, and the screen will appear deformed to the human eye.

[0031] See also Figure 2As shown, a normal display image is distorted to a certain extent when displayed through a deformed folding screen, which will affect the image perception. The image correction method provided in the embodiment of the present application can correct the display image to ensure the user's image perception.

[0032] The image correction method provided in the embodiment of the present application is shown in Figure 3 As shown, including:

[0033] Step 301: When the folding screen displays a first interface, obtain deformation parameters of the folding screen.

[0034] The folding screen of the electronic device will cause a certain degree of distortion of the content displayed on the folding screen due to being folded. When the electronic device displays the first interface through the folding screen, the electronic device obtains deformation parameters of the folding screen, and the deformation parameters of the folding screen can be used to characterize the degree of deformation of the folding screen.

[0035] By acquiring the deformation parameters of the folding screen, the deformation degree of the folding screen can be understood, wherein the deformation parameters of the folding screen may include the distortion value of the folding screen.

[0036] Step 302: Update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.

[0037] After the deformation parameters of the folding screen are obtained, the display correction of the first interface displayed by the folding screen can be performed according to the deformation parameters of the folding screen. When the display correction of the first interface is performed, the first interface is updated to a second interface with the same content as the first interface but different display effect according to the obtained deformation parameters of the folding screen. The display effect of the second interface is determined based on the deformation parameters of the folding screen, so as to realize the display correction by using the deformation parameters of the folding screen.

[0038] In the above implementation process of the present application, when the folding screen displays the first interface, the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen. A second screen with the same content as the first interface but a different display effect is displayed on the folding screen, thereby realizing image correction according to the deformation parameters of the folding screen, ensuring the user's visual perception of the image, solving the problem of image distortion of the folding screen without the need for hardware improvement, and saving the cost of image correction.

[0039] Wherein, the step 301 of obtaining the deformation parameters of the folding screen includes:

[0040] Obtaining a first folding number of the folding screen and a target model of a device corresponding to the folding screen;

[0041] According to the first folding number and the target model, a deformation parameter of the folding screen is obtained.

[0042] When obtaining the deformation parameters of the folding screen, the first folding number of the folding screen and the target model of the device corresponding to the folding screen can be obtained. The first folding number here is the total number of foldings of the folding screen since the folding screen was completed and put into use. The target model of the device corresponding to the folding screen can be understood as the model corresponding to the electronic device that uses the folding screen. The performance (including flexibility) of the folding screen corresponding to the same model of electronic equipment is the same.

[0043] Among them, when obtaining the first folding number of the folding screen, it can be obtained by at least one of the following three methods. Method 1: Since the folding screens of electronic devices are mostly hinged designs, if the folding hinge mechanism has the ability to count the number of folding times, the first folding number of the folding screen can be directly obtained. Method 2: When the folding screen switches between the folded state and the unfolded state, the measurement value of the Hall sensor will change. If the Hall sensor has statistical capabilities, the first folding number of the folding screen can be directly obtained. Method 3: Statistics are performed based on the number of times the inner screen is displayed after unfolding and the number of times the outer screen is displayed after folding. The two screens switch display once, and the number of foldings is recorded once.

[0044] It should be noted that in order to obtain an accurate first folding number, at least two of the three methods mentioned above can be used to count the folding number, and then check whether the folding numbers counted by different methods are the same. For the same situation, it is possible to obtain an accurate first folding number. For different situations, other methods can be used to obtain the counted folding number, and then the same folding number obtained by counting in different ways is determined as the first folding number; the first folding number can also be determined based on a preset strategy, such as counting the average of the folding numbers corresponding to different methods, or taking the statistical results in a certain way as the basis. Of course, the method of counting the first folding number of the folding screen is not limited to the above-mentioned methods, and those skilled in the art can also use other methods to count the folding number according to actual conditions.

[0045] After obtaining the first folding number of the folding screen and the target model of the device corresponding to the folding screen, the deformation parameters of the folding screen can be obtained according to the obtained first folding number and the target model. The method of obtaining the deformation parameters of the folding screen according to the first folding number and the target model includes:

[0046] According to the target model, determining a first target mapping relationship matching the target model from a plurality of first mapping relationships, each of the first mapping relationships corresponding to a device model, the first mapping relationship being a mapping relationship between the number of folding times of the folding screen and the deformation parameter;

[0047] According to the mapping relationship between the first folding number and the first target, a deformation parameter of the folding screen is obtained.

[0048] When the deformation parameters of the folding screen are obtained according to the first folding number and the target model, the first target mapping relationship can be first determined from multiple first mapping relationships based on the target model. Each first mapping relationship corresponds to a device model, the first target mapping relationship is the first mapping relationship corresponding to the target model, the first mapping relationship is the mapping relationship between the folding number of the folding screen and the deformation parameters, and the first mapping relationship is determined based on big data statistical analysis.

[0049] Since the first target mapping relationship is a mapping relationship between the number of folding times of the folding screen of the target model electronic device and the deformation parameters, after obtaining the first target mapping relationship, the deformation parameters matching the first folding number can be searched in the first target mapping relationship based on the first folding number of the folding screen (the corresponding device is the target model) to obtain the deformation parameters of the folding screen.

[0050] Among them, since the flexibility of the folding screen of electronic devices of different device models is different, when determining multiple first mapping relationships, for each device model, the corresponding relationship between the number of folding times of the folding screen and the deformation parameter recorded by multiple users when using the folding screen corresponding to the current device model can be obtained. For each device model, data analysis is performed based on the corresponding relationship recorded by multiple users to determine the mapping relationship between the number of folding times of the folding screen and the deformation parameter. At this point, multiple first mapping relationships can be determined.

[0051] In the above implementation process, by obtaining the first folding number of the folding screen and the target model of the device corresponding to the folding screen, determining the first target mapping relationship that matches the target model from multiple first mapping relationships according to the target model, and obtaining the deformation parameters of the folding screen according to the first folding number of the folding screen and the first target mapping relationship, it is possible to obtain the deformation degree of the folding screen based on the usage of the folding screen.

[0052] Optionally, the first interface includes a correction grid, and when the folding screen displays the first interface, obtaining the deformation parameter of the folding screen includes:

[0053] receiving a first input to the correction grid;

[0054] In response to the first input, determining a deformation area of ​​the folding screen according to a position of the first input on the correction grid;

[0055] Deformation parameters of the folding screen are determined within the deformation area.

[0056] In the case where the first interface displayed on the folding screen includes a correction grid, a first input performed by the target user on the correction grid can be received. The correction grid displayed on the first interface is used to prompt that the display content in the first interface is deformed and displayed at the crease position of the folding screen. The correction grid is displayed normally when the folding screen is not deformed. When the crease position of the folding screen is deformed, the local area of ​​the correction grid is distorted. Therefore, by displaying the correction grid, the target user can be prompted that the display content in the first interface is deformed and displayed at the crease position of the folding screen. The distorted display of the local area of ​​the correction grid is because the local area of ​​the folding screen is deformed. The corresponding local area on the correction grid is displayed normally, but because the area on the folding screen is deformed, the local area of ​​the correction grid that is displayed normally appears deformed to the human eye.

[0057] The correction grid includes multiple small grids of the same size. When the folding position of the folding screen is deformed, the small grids at the folding position are distorted. Similarly, the small grids at the folding position are displayed normally, but due to the deformation of the folding position, the normally displayed small grids appear deformed to the human eye. Figure 4 As shown, it is a schematic diagram of the first interface including a correction grid. The first interface includes display content A and a correction grid, and a small grid at the crease position of the folding screen is displayed in a deformed manner.

[0058] After receiving the first input performed on the correction grid, in response to the first input, the deformation area of ​​the folding screen is determined according to the position of the first input on the correction grid. That is, the position corresponding to the first input is the area corresponding to the deformed displayed small grid, and the user performs the first input on the deformed displayed small grid. After determining the deformation area of ​​the folding screen, the deformation parameters of the folding screen are determined for the deformation area.

[0059] When determining the deformation parameters of the folding screen for the deformation area, the deformation degree of the deformation area compared with the normal area, such as the degree of concavity, can be determined to determine the deformation parameters corresponding to the deformation area of ​​the folding screen. The deformation parameters of the deformation area can also be determined based on the number of folding times of the folding screen.

[0060] In the above implementation process, when the first interface includes a correction grid, a first input from the user to the correction grid is received, and the deformation area of ​​the folding screen is determined according to the position of the first input on the correction grid. The deformation parameters of the folding screen are determined within the deformation area. This can first determine the position where the deformation occurs on the folding screen and then further determine the degree of deformation.

[0061] Wherein, on the basis of including the correction grid, the first interface may also include an adjustment control, and the method further includes:

[0062] receiving a second input to the adjustment control;

[0063] In response to the second input, modifying the first interface;

[0064] When the display effect of the first interface is corrected to the second interface, a prompt message indicating successful correction is output.

[0065] The first interface may include an adjustment control while including the correction grid, wherein the adjustment control is a correction control for correcting the first interface. When receiving a second input performed by the target user on the adjustment control, the first interface is corrected in response to the second input. Since the first interface includes the correction grid, the correction grid can be corrected synchronously during the correction. The second input here can be a sliding input, a click input that meets the preset input characteristics, etc.

[0066] When the first interface is corrected according to the second input, if the first interface is corrected to the target display effect (the display effect corresponding to the second interface), it indicates that the correction is successful, and a prompt message of successful correction is output so that the user can stop executing the second input on the adjustment control according to the prompt message. The prompt message can be at least one of a voice prompt and a text prompt.

[0067] It should be noted that when the first interface is modified according to the second input of the target user, if the first interface is not modified to the target display effect, the target user stops the second input, and a prompt message that the modification is not completed and please continue to modify can be output. If the target user is not satisfied with the modification result of a certain time, the modification can be repeated until a satisfactory modification effect is achieved.

[0068] The following is an example of manually correcting the screen. Figure 5 As shown, a first interface including a correction grid and an adjustment control is displayed, wherein the first interface is deformed and displayed on the deformed folding screen, such as the first interface is deformed at the crease position of the folding screen away from the end surface where the folding screen is located, and the first interface is corrected according to the second input of the target user to the adjustment control (such as a sliding input on the adjustment control). When making the correction, it can be understood as dragging the first interface close to the end surface where the folding screen is located. Figure 5 The left figure in the figure shows that the correction grid and adjustment controls are displayed on the first interface, and the first interface is deformed at the crease position of the folding screen. Figure 5 The middle figure in the figure shows the process of display correction according to the adjustment control. Figure 5 The right figure in the figure shows the corrected interface display after exiting the edit mode.

[0069] In the above implementation process, by correcting the first interface according to the second input of the target user to the adjustment control, it is possible to realize screen correction based on the manual operation of the target user.

[0070] After the first interface is corrected according to the second input, a screen correction scheme can be generated and saved, so that the manual correction scheme of the target user can be saved. When the third interface is displayed on the folding screen (when the degree of deformation has not changed), the third interface can be corrected according to the saved screen correction scheme, so that any displayed screen on the folding screen can be corrected according to the manual correction scheme of the target user.

[0071] In the above implementation process, the first interface is corrected in response to the second input of the adjustment control, and when the display effect from the first interface to the second interface is corrected, a prompt message of successful correction is output, thereby realizing screen correction according to the manual operation of the target user, and by generating and saving a screen correction plan, it is possible to correct any display screen on the folding screen according to the user's correction input.

[0072] Optionally, updating the first interface to a second interface according to the deformation parameter of the folding screen includes:

[0073] Determining a reverse parameter according to the deformation parameter of the folding screen;

[0074] According to the reverse parameter, the first interface is updated to the second interface.

[0075] When the first interface is updated to a second interface with the same content but different display effect according to the deformation parameters of the folding screen, the reverse parameter can be determined according to the deformation parameters of the folding screen. The deformation degree of the reverse parameter is opposite to the deformation degree of the deformation parameter. For example, the deformation parameter corresponds to the first deformation degree, the reverse parameter corresponds to the second deformation degree, and the deformation directions of the first deformation degree and the second deformation degree are opposite.

[0076] After determining the reverse parameters, the first interface is corrected according to the reverse parameters. Since the deformation degree of the reverse parameters is opposite to that of the deformation parameters, the first interface can be updated to a second interface with the same content as the first interface but a different display effect, thereby determining the display effect of the second interface based on the deformation parameters of the folding screen.

[0077] See Figure 6, Figure 6 The left picture in the figure shows a folded screen with a crease, and the displayed content is distorted at the crease. Figure 6 The middle picture in the figure is a schematic diagram showing the reverse distortion of the content at the fold position. Figure 6 The right picture in is a schematic diagram of the normal display of content at the fold position, which can be corrected based on the reverse parameters.

[0078] In the above implementation process, the reverse parameters are determined according to the deformation parameters of the folding screen, and the first interface is updated to the second interface according to the reverse parameters, so as to realize the display effect of the second interface determined based on the deformation parameters of the folding screen.

[0079] The following is a specific example of determining the deformation parameter of the folding screen according to the number of folding times of the folding screen provided in the embodiment of the present application, and updating the first interface to the second interface according to the deformation parameter of the folding screen. Figure 7 As shown, when the folding screen displays the first interface, the first folding number of the folding screen is obtained, the deformation parameters of the folding screen are obtained according to the first folding number of the folding screen and the target model of the device corresponding to the folding screen, the reverse parameters are determined according to the deformation parameters of the folding screen, and according to the reverse parameters, the first interface is updated to a second interface with the same content as the first interface but a different display effect. Figure 7 The left side of the middle is a schematic diagram showing the first interface. Figure 7 The right side of the figure is a schematic diagram showing the second interface.

[0080] The above is the implementation process of the screen correction method provided in the embodiment of the present application. When the folding screen displays the first interface, the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen. The second screen with the same content as the first interface but different display effect is displayed on the folding screen, thereby realizing screen correction according to the deformation parameters of the folding screen, ensuring the user's visual perception of the screen, solving the problem of screen distortion of the folding screen without the need for hardware improvement, and saving the cost of screen correction.

[0081] Furthermore, by obtaining the first folding number of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding number and the target model, it is possible to obtain the deformation degree of the folding screen based on the usage of the folding screen; when the first interface includes a correction grid, the deformation area of ​​the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined within the deformation area, so as to first determine the position where the deformation occurs on the folding screen and then further determine the degree of deformation; by correcting the first interface according to the second input of the adjustment control by the target user, it is possible to correct the screen based on the manual operation of the target user; by determining the reverse parameters through the deformation parameters of the folding screen, and updating the first interface to the second interface according to the reverse parameters, it is possible to determine the display effect of the second interface based on the deformation parameters of the folding screen.

[0082] The present application also provides a picture correction device. Figure 8 As shown, including:

[0083] An acquisition module 801 is used to acquire deformation parameters of the folding screen when the folding screen displays the first interface;

[0084] Update module 802 is used to update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.

[0085] Optionally, the acquisition module includes:

[0086] A first acquisition submodule, used to acquire a first folding number of the folding screen and a target model of a device corresponding to the folding screen;

[0087] The second acquisition submodule is used to acquire the deformation parameters of the folding screen according to the first folding number and the target model.

[0088] Optionally, the second acquisition submodule includes:

[0089] a determining unit, configured to determine, according to the target model, a first target mapping relationship matching the target model from a plurality of first mapping relationships, each of the first mapping relationships corresponding to a device model, the first mapping relationship being a mapping relationship between a folding number of the folding screen and a deformation parameter;

[0090] An acquisition unit is used to acquire deformation parameters of the folding screen according to the mapping relationship between the first folding number and the first target.

[0091] Optionally, the first interface includes a correction grid, and the acquisition module includes:

[0092] A receiving submodule, configured to receive a first input to the correction grid;

[0093] a first determining submodule, in response to the first input, determining a deformation area of ​​the folding screen according to a position of the first input on the correction grid;

[0094] The second determination submodule is used to determine the deformation parameters of the folding screen in the deformation area.

[0095] Optionally, the update module includes:

[0096] A third determination submodule, used to determine a reverse parameter according to the deformation parameter of the folding screen;

[0097] An updating submodule is used to update the first interface to the second interface according to the reverse parameter.

[0098] The above is the screen correction device provided in the embodiment of the present application. When the folding screen displays the first interface, the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen. A second screen with the same content as the first interface but a different display effect is displayed on the folding screen. The screen correction is performed according to the deformation parameters of the folding screen, thereby ensuring the user's visual perception of the screen, solving the problem of screen distortion of the folding screen without the need for hardware improvement, and saving the cost of screen correction.

[0099] Furthermore, by obtaining the first folding number of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding number and the target model, it is possible to obtain the deformation degree of the folding screen based on the usage of the folding screen; when the first interface includes a correction grid, the deformation area of ​​the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined within the deformation area, so as to first determine the position where the deformation occurs on the folding screen and then further determine the degree of deformation; the reverse parameters are determined according to the deformation parameters of the folding screen, and the first interface is updated to the second interface according to the reverse parameters, so as to determine the display effect of the second interface based on the deformation parameters of the folding screen.

[0100] The image correction device in the embodiment of the present application can be a device, or a component, integrated circuit or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0101] The image correction device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0102] The image correction device provided in the embodiment of the present application can achieve Figure 3 To avoid repetition, the various processes implemented in the picture correction method embodiment are not described again here.

[0103] Alternatively, if Fig. 9 As shown, the embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, each process of the above-mentioned picture correction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0104] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0105] Fig.10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0106] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009 and a processor 1010 and other components.

[0107] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0108] Among them, the processor 1010 is used to: when the folding screen displays a first interface, obtain the deformation parameters of the folding screen; according to the deformation parameters of the folding screen, control the display unit 1006 to update the first interface to a second interface, wherein the second interface has the same content as the first interface but a different display effect, and the display effect of the second interface is determined by the deformation parameters of the folding screen.

[0109] Optionally, when obtaining the deformation parameters of the folding screen, the processor 1010 is further used to: obtain a first folding number of the folding screen and a target model of a device corresponding to the folding screen; and obtain the deformation parameters of the folding screen according to the first folding number and the target model.

[0110] Optionally, when obtaining the deformation parameters of the folding screen according to the first folding number and the target model, the processor 1010 is also used to: determine a first target mapping relationship that matches the target model from multiple first mapping relationships according to the target model, each of the first mapping relationships corresponding to a device model, and the first mapping relationship is a mapping relationship between the folding number of the folding screen and the deformation parameters; obtain the deformation parameters of the folding screen according to the first folding number and the first target mapping relationship.

[0111] Optionally, the first interface includes a correction grid, and when the folding screen displays the first interface, when obtaining the deformation parameters of the folding screen, the user input unit 1007 is also used to: receive a first input to the correction grid; the processor 1010 is also used to: respond to the first input, determine the deformation area of ​​the folding screen according to the position of the first input on the correction grid; and determine the deformation parameters of the folding screen within the deformation area.

[0112] Optionally, when the first interface is updated to the second interface according to the deformation parameters of the folding screen, the processor 1010 is also used to: determine a reverse parameter according to the deformation parameters of the folding screen; and control the display unit 1006 to update the first interface to the second interface according to the reverse parameter.

[0113] In this way, when the folding screen displays the first interface, the deformation parameters of the folding screen are obtained, and the first interface is updated according to the deformation parameters of the folding screen. A second screen with the same content as the first interface but a different display effect is displayed on the folding screen, thereby realizing image correction according to the deformation parameters of the folding screen, ensuring the user's visual perception of the image, solving the problem of image distortion on the folding screen without the need for hardware improvements, and saving the cost of image correction.

[0114] Furthermore, by obtaining the first folding number of the folding screen and the target model of the device corresponding to the folding screen, and obtaining the deformation parameters of the folding screen according to the first folding number and the target model, it is possible to obtain the deformation degree of the folding screen based on the usage of the folding screen; when the first interface includes a correction grid, the deformation area of ​​the folding screen is determined according to the first input, and the deformation parameters of the folding screen are determined within the deformation area, so as to first determine the position where the deformation occurs on the folding screen and then further determine the degree of deformation; the reverse parameters are determined according to the deformation parameters of the folding screen, and the first interface is updated to the second interface according to the reverse parameters, so as to determine the display effect of the second interface based on the deformation parameters of the folding screen.

[0115] It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0116] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned picture correction method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0117] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0118] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned picture correction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0119] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0120] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0122] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A picture correction method, characterized in that: include: When the folding screen displays the first interface, receiving a first input for the correction grid; The first interface includes the correction grid; The correction grid includes a plurality of small grids of the same size, and when the crease position of the folding screen is deformed, the small grids located at the crease position are distorted and displayed; In response to the first input, determining a deformation area of ​​the folding screen according to a position of the first input on the correction grid; Determining deformation parameters of the folding screen in the deformation area; According to the deformation parameters of the folding screen, the first interface is updated to a second interface, wherein the second interface has the same content as the first interface but a different display effect, the display effect of the second interface is determined by the deformation parameters of the folding screen, and the display effect of the second interface is used to reduce the impact of the crease of the folding screen.

2. The method according to claim 1, characterized in that The updating the first interface to the second interface according to the deformation parameter of the folding screen includes: Determining a reverse parameter according to the deformation parameter of the folding screen; According to the reverse parameter, the first interface is updated to the second interface.

3. A picture correction device, characterized in that: include: An acquisition module, configured to receive a first input to a correction grid when the folding screen displays a first interface; The first interface includes the correction grid; In response to the first input, determining a deformation area of ​​the folding screen according to a position of the first input on the correction grid; Determining deformation parameters of the folding screen in the deformation area; the correction grid includes a plurality of small grids of the same size, and when the folding position of the folding screen is deformed, the small grids located at the folding position are distorted and displayed; An update module is used to update the first interface to a second interface according to the deformation parameters of the folding screen, wherein the second interface has the same content as the first interface but a different display effect, the display effect of the second interface is determined by the deformation parameters of the folding screen, and the display effect of the second interface is used to reduce the impact of the crease of the folding screen.

4. The device according to claim 3, characterized in that The update module includes: A third determination submodule, used to determine a reverse parameter according to the deformation parameter of the folding screen; An updating submodule is used to update the first interface to the second interface according to the reverse parameter.

5. An electronic device, characterized in that: The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the image correction method as claimed in any one of claims 1 to 2.

6. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the image correction method according to any one of claims 1 to 2 are implemented.