CN117648045A - Distortion correction method, apparatus, storage medium, and program product - Google Patents

Distortion correction method, apparatus, storage medium, and program product Download PDF

Info

Publication number
CN117648045A
CN117648045A CN202210989271.9A CN202210989271A CN117648045A CN 117648045 A CN117648045 A CN 117648045A CN 202210989271 A CN202210989271 A CN 202210989271A CN 117648045 A CN117648045 A CN 117648045A
Authority
CN
China
Prior art keywords
distortion
picture
distortion parameter
user
adjustment information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210989271.9A
Other languages
Chinese (zh)
Inventor
乔振东
左磊
王贵东
吴涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210989271.9A priority Critical patent/CN117648045A/en
Publication of CN117648045A publication Critical patent/CN117648045A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the disclosure provides a distortion correction method, equipment, a storage medium and a program product, wherein the method comprises the steps of controlling and displaying a first picture, receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture, selecting a first distortion parameter corresponding to first adjustment information from a plurality of pre-calibrated distortion parameters according to the first adjustment information if the first control instruction indicates the first adjustment information corresponding to the first picture, and determining a dedicated distortion parameter of the user according to the first distortion parameter. According to the distortion correction method provided by the embodiment, after the adjustment information input by the user according to the displayed first picture is received, the distortion parameters suitable for the user are selected according to the adjustment information to serve as the exclusive distortion parameters of the user through calibrating a plurality of distortion parameters in advance. Thereby improving the adaptability of the equipment and meeting the personalized requirements of users.

Description

Distortion correction method, apparatus, storage medium, and program product
Technical Field
The embodiment of the disclosure relates to the technical field of virtual reality technology equipment, in particular to a distortion correction method, equipment, a storage medium and a program product.
Background
A lens is provided in front of a display screen in a virtual reality technology (Virtual Reality technology, VR) device. When wearing the VR all-in-one machine, human eyes watch the picture displayed by the display screen through the lens. Due to the characteristics of the lens itself, the picture viewed through the lens is distorted.
In the related art, distortion parameters are usually set in the VR device in advance, and after the original picture is subjected to distortion correction by the distortion parameters, the original picture is displayed in the display screen, so that a user can watch a normal display picture through the lens after wearing the VR device.
However, in implementing the present application, the inventors found that at least the following problems exist in the prior art: the method can not meet the personalized requirements of users without different shapes of the faces of the users, and has poor adaptability.
Disclosure of Invention
The embodiment of the disclosure provides a distortion correction method, a distortion correction device, a distortion correction storage medium and a distortion correction program product, so as to improve the adaptability of the distortion correction device.
In a first aspect, an embodiment of the present disclosure provides a distortion correction method, including:
controlling and displaying a first picture;
receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture;
and if the first control instruction indicates first adjustment information corresponding to the first picture, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the first adjustment information, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
In a second aspect, an embodiment of the present disclosure provides a distortion correction apparatus, including:
the display module is used for controlling and displaying the first picture;
the receiving module is used for receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture;
and the processing module is used for determining the exclusive distortion parameter of the user according to the first regulation information if the first control instruction indicates to regulate the first regulation information of the distortion parameter of the first picture.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to cause the at least one processor to perform the distortion correction method as described above in the first aspect and the various possible designs of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the distortion correction method as described above in the first aspect and the various possible designs of the first aspect.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements the distortion correction method as described above for the first aspect and the various possible designs of the first aspect.
The method includes controlling to display a first picture, receiving a first control instruction input by a user according to distortion concave-convex properties of the first picture, selecting a first distortion parameter corresponding to first adjustment information from a plurality of distortion parameters calibrated in advance according to the first adjustment information if the first control instruction indicates the first adjustment information corresponding to the first picture, and determining a dedicated distortion parameter of the user according to the first distortion parameter. According to the distortion correction method provided by the embodiment, after the adjustment information input by the user according to the displayed first picture is received, the distortion parameters suitable for the user are selected according to the adjustment information to serve as the exclusive distortion parameters of the user through calibrating a plurality of distortion parameters in advance. Thereby improving the adaptability of the equipment and meeting the personalized requirements of users.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained from these drawings without inventive effort to a person of ordinary skill in the art.
Fig. 1 is a schematic diagram of an application scenario of a distortion correction method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a distortion correction method according to an embodiment of the disclosure;
fig. 3 is a schematic flow chart of a distortion correction method according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram of an interactive interface for distortion correction provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of distortion parameters provided by an embodiment of the present disclosure;
fig. 6 is a block diagram of a distortion correction apparatus provided by an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
A lens is provided in front of a display screen in a virtual reality technology (Virtual Reality technology, VR) device (e.g., VR all-in-one). When wearing the VR all-in-one machine, human eyes watch the picture displayed by the display screen through the lens. Due to the characteristics of the lens itself, the picture viewed through the lens is distorted (e.g., pincushion distortion occurs). In order to correct the distortion generated by the lens, it is necessary to correct the distortion based on the distortion parameter (for example, to display a picture having barrel distortion on the display screen) on the picture displayed on the display screen, and thus, the corrected picture is viewed through the lens, and a picture with normal display can be obtained.
In the related art, distortion parameters are usually set in the VR device in advance, and after the original picture is subjected to distortion correction by the distortion parameters, the original picture is displayed in the display screen, so that a user can watch a normal display picture through the lens after wearing the VR device. However, there is a difference in subjective experience of different users on the same distortion parameters when using VR devices due to the difference in facial shapes of the users, whether to wear glasses, and the difference in wearing habits of the glasses. The adoption of fixed distortion parameters in VR equipment cannot meet the personalized requirements of users, and has poor adaptability.
In order to solve the above problems, the present inventors have found that a tool for correcting distortion parameters can be provided for a user, specifically, a plurality of distortion parameters can be calibrated in advance, after the user wears the VR device, a picture is displayed through a display screen, adjustment information input by the user according to the distortion concave-convex property of the picture after the user views the picture through a lens is received, and a specific distortion parameter suitable for the user is selected from the plurality of distortion parameters based on the adjustment information. Based on this, the embodiment of the application provides a distortion correction method, by calibrating a plurality of distortion parameters in advance, after receiving adjustment information input by a user according to a displayed first picture, selecting a distortion parameter suitable for the user according to the adjustment information, and using the distortion parameter as a dedicated distortion parameter of the user. Thereby improving the adaptability of the equipment and meeting the personalized requirements of users.
Referring to fig. 1, fig. 1 is an application scenario schematic diagram of a distortion correction method according to an embodiment of the present disclosure. As shown in fig. 1, a display screen 101 is disposed on one side of a lens 102, and a human eye is disposed on the other side of the lens 102, and a controller 103 is connected to the display screen 101. A display screen 101 for displaying a first screen under the control of the controller 103; a controller 103 for receiving a first control instruction input by a user according to the distortion unevenness of the first screen; and if the first control instruction indicates the first adjustment information corresponding to the first picture, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of pre-calibrated distortion parameters according to the first adjustment information, and determining the exclusive distortion parameter of the user according to the first distortion parameter. The controller 103 may be integrated with the display screen 101 and the lens 102 into a single machine (e.g., VR single machine), may be a separate device, or may be integrated into other terminal devices (e.g., a computer, a tablet, a mobile phone, etc.). This embodiment is not limited thereto.
Taking VR equipment as an example in a specific implementation process, after a user wears the VR equipment, the VR equipment can respond to a user instruction, or the VR equipment can judge according to account information of the user, and after judging that the user is the first user, the controller 103 controls the display screen 101 to display a first picture, and the controller 103 receives a first control instruction input by the user according to the distortion concave-convex property of the first picture; and if the first control instruction indicates the first adjustment information corresponding to the first picture, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of pre-calibrated distortion parameters according to the first adjustment information, and determining the exclusive distortion parameter of the user according to the first distortion parameter. The embodiment of the application provides a distortion correction method, which comprises the steps of calibrating a plurality of distortion parameters in advance, and selecting the distortion parameters suitable for a user according to adjustment information after receiving the adjustment information input by the user according to a displayed first picture, wherein the distortion parameters are used as exclusive distortion parameters of the user. Thereby improving the adaptability of the equipment and meeting the personalized requirements of users.
It should be noted that, the schematic view of the scenario shown in fig. 1 is only an example, and the distortion correction method and scenario described in the embodiments of the present disclosure are for more clearly describing the technical solution of the embodiments of the present disclosure, and do not constitute a limitation on the technical solution provided by the embodiments of the present disclosure, and those skilled in the art can know that, with the evolution of the system and the appearance of a new service scenario, the technical solution provided by the embodiments of the present disclosure is equally applicable to similar technical problems.
The technical scheme of the present disclosure is described in detail below with specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Referring to fig. 2, fig. 2 is a schematic flow chart of a distortion correction method according to an embodiment of the disclosure. The method of the present embodiment may be applied to a terminal device or a server, such as the controller 103 in fig. 1, for example, the distortion correction method includes:
201. and controlling to display the first picture.
Specifically, the controller controls the display to display the first picture. The first screen may be a screen selected from a plurality of standby screens in response to a touch operation of the display interface by a user. The first picture can be a checkerboard picture, a natural landscape picture and the like which comprise a plurality of lines or angular points, so that the distortion convexity can be conveniently identified.
In one embodiment of the present disclosure, the controlling to display the first screen may include: responding to touch operation acted on a display interface, and controlling and displaying a first picture; the touch operation is used for indicating to start distortion correction. Specifically, after the user wears the VR device, the user may click on an icon of the distortion correction program in the display interface, enter the distortion correction interface, select a first screen from a plurality of scene screens pushed by the distortion correction interface, click on a determination button, and control the display screen to display the first screen in response to touch information of the determination button.
202. And receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture.
Specifically, the user can view the distortion unevenness of the first screen displayed on the display screen through the lens. And inputting adjustment information based on the distortion unevenness to perform distortion correction based on the adjustment information, or inputting determination information that the distortion correction is successful in the case where it is determined that the screen display is normal, to end the distortion correction.
The input mode of the adjustment information is various, in one implementation mode, the adjustment information can be generated in a voice mode, in another implementation mode, the adjustment information can be generated in response to touch operation of an operation key (for example, the pressing times of the operation key, the pressing time of the operation key and the like), and in yet another implementation mode, the adjustment information can be generated in response to the action of pushing a rocker in a handle by a user.
Specifically, if the first control instruction indicates to adjust the first adjustment information of the distortion parameters of the first picture, according to the first adjustment information, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance, and according to the first distortion parameter, determining the dedicated distortion parameter of the user may include: and if the first control instruction indicates a movement vector of the rocker, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the movement vector, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
203. And if the first control instruction indicates first adjustment information corresponding to the first picture, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the first adjustment information, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
Specifically, after the first adjustment information is obtained, a first distortion parameter corresponding to the first adjustment information may be selected from a plurality of distortion parameters calibrated in advance according to a correspondence between the first adjustment information and the plurality of distortion parameters. Further, a user specific distortion parameter is determined based on the first distortion parameter.
In this embodiment, the plurality of distortion parameters respectively correspond to different position coordinates in the preset space; the preset space is a space where human eyes are located after a user wears the electronic equipment.
In one embodiment of the disclosure, the determining, according to the first distortion parameter, a specific distortion parameter of the user may include: generating a second picture according to the first distortion parameters and controlling to display the second picture; receiving a second control instruction input by the user according to the distortion concave-convex property of the second picture; and if the second control instruction indicates that the second picture distortion correction is successful, determining the first distortion parameter as the exclusive distortion parameter of the user. And if the second control instruction indicates second adjustment information corresponding to the second picture, selecting a second distortion parameter corresponding to the second adjustment information from a plurality of pre-calibrated distortion parameters according to the second adjustment information, and determining the exclusive distortion parameter of the user according to the second distortion parameter.
Specifically, after the first distortion parameter is selected based on the adjustment information generated by the distortion convexity of the first picture, distortion correction processing can be performed on the original picture corresponding to the first picture based on the first distortion parameter, so as to obtain a second picture, a user can watch the distortion convexity of the second picture, a second control instruction input by the user is received, if the second control instruction is the adjustment information, the distortion correction is continued until a control instruction input by the user and indicating that the distortion correction is successful is received, and the distortion correction is ended. Furthermore, the exclusive distortion parameters of the user and the account information of the user can be stored in an associated mode, so that when the user uses the equipment again, the exclusive distortion parameters of the user can be called for picture display, and correction is not needed again.
In one embodiment of the present disclosure, the method may further comprise: and storing the exclusive distortion parameter and the account information of the user in a correlated way so as to automatically call the exclusive distortion parameter when the user logs in again. The account information may be information indicating identity, such as face information, fingerprint information, and a user name, which are stored in advance by the user. By means of the mode of storing the exclusive distortion parameters and the account information in an associated mode, when a user uses the equipment, images suitable for the user can be provided for the user automatically based on the exclusive distortion parameters of the user.
As can be seen from the above description, in this embodiment, by calibrating a plurality of distortion parameters in advance, after receiving adjustment information input by a user according to a displayed first picture, the distortion parameters suitable for the user are selected as dedicated distortion parameters of the user according to the adjustment information. Thereby improving the adaptability of the equipment and meeting the personalized requirements of users.
Referring to fig. 3, fig. 3 is a second flowchart of a distortion correction method according to an embodiment of the disclosure. In the embodiment, the influence of eye rotation of human eyes on distortion parameters is considered, the distortion parameters of pictures with small view angles and pictures with large view angles are respectively determined, and the two distortion parameters are fused to obtain the exclusive distortion parameters of a user. Specifically, the distortion correction method includes:
301. The method comprises the steps of calibrating distortion parameters corresponding to a plurality of positions in a preset space in advance, selecting an initial position from the positions, and generating a first picture based on the distortion parameters corresponding to the initial position.
Specifically, different people wear the same VR device because of different facial shapes and wearing habits, and the coordinate positions of eyeballs under the world coordinate system of the VR device are different. The range of the preset space may be a stereoscopic range determined by sampling eyeball positions of a plurality of users.
In the embodiment of the disclosure, in order to improve the progress of distortion correction and reduce the operation of a user, when a picture is presented to the user for the first time, a picture obtained after correcting an original picture by using a distortion parameter corresponding to a certain position in a preset space may be selected. For example, a position with a higher probability may be selected as the initial position.
302. And controlling to display the first picture. The angle of view of the first picture is less than a first preset value, which is related to the range of angle of view of the human eye when the human eye is looking straight.
Specifically, since the user foreground view (the eyeball of the user can observe the view edge without rotation) is a scene which is more used by the user, the determination of the distortion parameters under the foreground view can be performed by displaying the first picture with the view angle smaller than the first preset value. When the angle of view is less than a first preset value, the user can view the edge of the picture without rotating the eyeball.
For example, as shown in fig. 4, the display 101 displays a first screen 1011, and the angle of view of the first screen 1011 is smaller than a first preset value, so that the user can view the edge of the screen without turning the eyeball. In this case, the display screen 101 displays a prompt message "please observe the distortion convexity of the picture, push the rocker to adjust until the picture is undistorted, and then please pull the trigger to enter the next adjustment" so as to enable the user to operate according to the prompt.
303. A first control instruction input by a user according to the distortion unevenness of the first screen is received.
304. Whether the first control command indicates that the first frame correction is successful is determined, if not, step 305 is executed, and if yes, step 306 is executed.
305. According to first adjustment information indicated by a first control instruction, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance, and generating a second picture according to the first distortion parameter. The second frame is returned to the step 302 as the new first frame.
306. And controlling to display a third picture. The angle of view of the third frame is greater than a second preset value that is related to whether the edge of the frame that is viewed by the human eye needs to be rotated.
Specifically, after the distortion parameters of the small view angle scene are adjusted, the picture of the large view angle scene can be displayed through the display screen, and when the view angle is larger than a second preset value, the user needs to rotate eyeballs to see the edge of the picture.
For example, as shown in fig. 4, after the first screen 1011 is adjusted, the display 101 displays a third screen 1012, and the angle of view of the third screen 1012 is greater than the second preset value, so that the user needs to rotate the eyeball to view the edge of the screen. In this case, the display screen 101 displays a prompt message "please observe the distortion convexity of the left and right edges of the screen, push the rocker to adjust until the edges of the screen are undistorted, and then please trigger to complete adjustment", so that the user can operate according to the prompt and complete distortion correction.
307. And receiving a third control instruction input by a user according to the distortion concave-convex property of the edge of the third picture.
308. Whether the third control command indicates that the third frame correction is successful is determined, if not, step 309 is executed, and if yes, step 310 is executed.
309. And determining the exclusive distortion parameter of the user according to third regulation information indicated by a third control instruction and the second distortion parameter corresponding to the current first picture.
310. And determining the exclusive distortion parameter of the user according to the fourth distortion parameter corresponding to the third picture and the second distortion parameter corresponding to the current first picture.
Specifically, if the third control instruction indicates that the third picture is successfully corrected, the fourth distortion parameter corresponding to the third picture and the second distortion parameter corresponding to the current first picture may be fused to generate the dedicated distortion parameter of the user.
In an embodiment of the disclosure, the determining, according to the third adjustment information and the second distortion parameter corresponding to the first picture, the specific distortion parameter of the user may include: according to the third adjusting information, selecting a third distortion parameter corresponding to the third adjusting information from a plurality of distortion parameters calibrated in advance; and carrying out weighted summation on the third distortion parameter and the second distortion parameter corresponding to the first picture to obtain the exclusive distortion parameter of the user.
In one embodiment of the present disclosure, the third distortion parameter and the second distortion parameter each include components corresponding to a plurality of angles of view, respectively; the weighted summation of the third distortion parameter and the second distortion parameter to obtain the exclusive distortion parameter of the user may include: for each angle of view, carrying out weighted summation on the corresponding component in the third distortion parameter and the corresponding component in the second distortion parameter to obtain a target component corresponding to the exclusive distortion parameter; and determining the exclusive distortion parameter according to the target components corresponding to the view angles.
In one embodiment of the present disclosure, the weights of the components in the second distortion parameter decrease with increasing angle of view; the weight of each component in the third distortion parameter is reduced with the angle of view of the third picture as the center, as the angle of view is farther from the center.
Illustratively, as shown in fig. 5, the abscissa is the angle of view before correction, the ordinate is the angle of view after correction, the solid line curve is the third distortion parameter, and the broken line curve is the second distortion parameter. Assuming that the angle of view of the third picture is 0.70, the weight of the dashed curve may be set to decrease from 1 with the angle of view being away from 0.70, centering on 0.70. Assuming that the angle of view of the first picture is 0.55, the weight of the second distortion parameter may be set to 1 at 0 to 0.55, decreasing with increasing angle of view. Based on this, fusion of the two distortion parameters is completed. When the angle of view is close to the first picture, the second distortion parameter of the first picture is mainly used, and when the angle of view is close to the third picture, the third distortion parameter of the third picture is mainly used.
In the process of adjusting the distortion parameters of the edge, a plurality of pictures with different angles of view can be displayed, and the distortion parameters of the edge can be respectively determined, so that a plurality of distortion parameters can be obtained, and the distortion parameters are fused with the second distortion parameters corresponding to the first picture. The weight of each distortion parameter in the fusion process takes the field angle of the corresponding picture as the center, and the weight is reduced from 1 along with the field angle principle center.
311. And storing the exclusive distortion parameter and the account information of the user in a correlated way so as to automatically call the exclusive distortion parameter when the user logs in again.
The account information may be information indicating identity, such as face information, fingerprint information, and a user name, which are stored in advance by the user. By means of the mode of storing the exclusive distortion parameters and the account information in an associated mode, when a user uses the equipment, images suitable for the user can be provided for the user automatically based on the exclusive distortion parameters of the user.
As can be seen from the above description, the distortion correction method provided in this embodiment provides pictures of different angles of view for the user, so that the user can determine distortion parameters of different angles such as forward looking and observing edges, and further obtain the dedicated distortion parameters of the user based on the fusion result of multiple distortion parameters. The accuracy of distortion parameters is greatly improved.
Corresponding to the distortion correction method of the above embodiment, fig. 6 is a block diagram of the distortion correction apparatus provided by the embodiment of the present disclosure. For ease of illustration, only portions relevant to embodiments of the present disclosure are shown. Referring to fig. 6, the apparatus 60 includes: a display module 601, a receiving module 602 and a processing module 603.
The display module 601 is configured to control to display a first screen;
a receiving module 602, configured to receive a first control instruction input by a user according to the distortion concave-convex property of the first picture;
and a processing module 603, configured to determine, if the first control instruction indicates to adjust first adjustment information of the distortion parameter of the first picture, an exclusive distortion parameter of the user according to the first adjustment information.
In one embodiment of the present disclosure, the processing module 603 is specifically configured to: generating a second picture according to the first distortion parameters and controlling to display the second picture; receiving a second control instruction input by the user according to the distortion concave-convex property of the second picture; and if the second control instruction indicates that the second picture distortion correction is successful, determining the first distortion parameter as the exclusive distortion parameter of the user.
In one embodiment of the present disclosure, the processing module 603 is further configured to: and if the second control instruction indicates second adjustment information corresponding to the second picture, selecting a second distortion parameter corresponding to the second adjustment information from a plurality of pre-calibrated distortion parameters according to the second adjustment information, and determining the exclusive distortion parameter of the user according to the second distortion parameter.
In one embodiment of the present disclosure, the angle of view of the first screen is smaller than a first preset value; the first preset value is related to the field angle range of the human eyes in direct vision; the processing module 603 is further configured to: if the second control instruction indicates that the first picture distortion correction is successful, controlling to display a third picture; the field angle of the third picture is larger than a second preset value; the second preset value is related to a limit value of whether the edge of a picture watched by human eyes needs to rotate eyeballs or not; the second preset value is larger than the first preset value; receiving a third control instruction input by a user according to the distortion concave-convex property of the edge of the third picture; and if the control instruction indicates third adjustment information corresponding to the third picture, determining the exclusive distortion parameter of the user according to the third adjustment information and the second distortion parameter corresponding to the first picture.
In one embodiment of the present disclosure, the processing module 603 is specifically configured to: according to the third adjusting information, selecting a third distortion parameter corresponding to the third adjusting information from a plurality of distortion parameters calibrated in advance; and carrying out weighted summation on the third distortion parameter and the second distortion parameter corresponding to the first picture to obtain the exclusive distortion parameter of the user.
In one embodiment of the present disclosure, the third distortion parameter and the second distortion parameter each include components corresponding to a plurality of angles of view, respectively; the processing module 603 is specifically configured to: for each angle of view, carrying out weighted summation on the corresponding component in the third distortion parameter and the corresponding component in the second distortion parameter to obtain a target component corresponding to the exclusive distortion parameter; and determining the exclusive distortion parameter according to the target components corresponding to the view angles.
In one embodiment of the present disclosure, the weights of the components in the second distortion parameter decrease with increasing angle of view; the weight of each component in the third distortion parameter is reduced with the angle of view of the third picture as the center, as the angle of view is farther from the center.
In one embodiment of the present disclosure, the display module 601 is specifically configured to: responding to touch operation acted on a display interface, and controlling and displaying a first picture; the touch operation is used for indicating to start distortion correction.
In one embodiment of the present disclosure, the processing module 603 is specifically configured to:
and if the first control instruction indicates a movement vector of the rocker, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the movement vector, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
In one embodiment of the present disclosure, the processing module 603 is further configured to: and storing the exclusive distortion parameter and the account information of the user in a correlated way so as to automatically call the exclusive distortion parameter when the user logs in again.
The device provided in this embodiment may be used to execute the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In order to achieve the above embodiments, the embodiments of the present disclosure further provide an electronic device.
Referring to fig. 7, there is shown a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present disclosure, which electronic device 700 may be a terminal device or a server. The terminal device may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (Personal Digital Assistant, PDA for short), a tablet (Portable Android Device, PAD for short), a portable multimedia player (Portable Media Player, PMP for short), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, the electronic apparatus 700 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 701 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage device 708 into a random access Memory (Random Access Memory, RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
In general, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 707 including, for example, a liquid crystal display (Liquid Crystal Display, LCD for short), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 shows an electronic device 700 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 709, or installed from storage 708, or installed from ROM 702. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 701.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above-described embodiments.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (Local Area Network, LAN for short) or a wide area network (Wide Area Network, WAN for short), or it may be connected to an external computer (e.g., connected via the internet using an internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (14)

1. A distortion correction method, comprising:
controlling and displaying a first picture;
receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture;
and if the first control instruction indicates first adjustment information corresponding to the first picture, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the first adjustment information, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
2. The method of claim 1, wherein said determining the user's proprietary distortion parameters from the first distortion parameters comprises:
generating a second picture according to the first distortion parameters and controlling to display the second picture;
receiving a second control instruction input by the user according to the distortion concave-convex property of the second picture;
And if the second control instruction indicates that the second picture distortion correction is successful, determining the first distortion parameter as the exclusive distortion parameter of the user.
3. The method according to claim 2, wherein the method further comprises:
and if the second control instruction indicates second adjustment information corresponding to the second picture, selecting a second distortion parameter corresponding to the second adjustment information from a plurality of pre-calibrated distortion parameters according to the second adjustment information, and determining the exclusive distortion parameter of the user according to the second distortion parameter.
4. The method of claim 2, wherein the field angle of the first picture is less than a first preset value; the first preset value is related to the field angle range of the human eyes in direct vision;
the method further comprises the steps of:
if the second control instruction indicates that the first picture distortion correction is successful, controlling to display a third picture; the field angle of the third picture is larger than a second preset value; the second preset value is related to a limit value of whether the edge of a picture watched by human eyes needs to rotate eyeballs or not; the second preset value is larger than the first preset value;
Receiving a third control instruction input by a user according to the distortion concave-convex property of the edge of the third picture;
and if the control instruction indicates third adjustment information corresponding to the third picture, determining the exclusive distortion parameter of the user according to the third adjustment information and the second distortion parameter corresponding to the first picture.
5. The method of claim 4, wherein determining the user-specific distortion parameter based on the third adjustment information and the second distortion parameter corresponding to the first picture comprises:
according to the third adjusting information, selecting a third distortion parameter corresponding to the third adjusting information from a plurality of distortion parameters calibrated in advance;
and carrying out weighted summation on the third distortion parameter and the second distortion parameter corresponding to the first picture to obtain the exclusive distortion parameter of the user.
6. The method of claim 5, wherein the third distortion parameter and the second distortion parameter each comprise a component corresponding to a plurality of field angles, respectively; the step of carrying out weighted summation on the third distortion parameter and the second distortion parameter to obtain the exclusive distortion parameter of the user comprises the following steps:
For each angle of view, carrying out weighted summation on the corresponding component in the third distortion parameter and the corresponding component in the second distortion parameter to obtain a target component corresponding to the exclusive distortion parameter;
and determining the exclusive distortion parameter according to the target components corresponding to the view angles.
7. The method of claim 6, wherein the weight of each component in the second distortion parameter decreases with increasing angle of view; the weight of each component in the third distortion parameter is reduced with the angle of view of the third picture as the center, as the angle of view is farther from the center.
8. The method of any of claims 1-7, wherein the controlling to display the first screen comprises:
responding to touch operation acted on a display interface, and controlling and displaying a first picture; the touch operation is used for indicating to start distortion correction.
9. The method according to any one of claims 1-7, wherein if the first control instruction indicates first adjustment information for adjusting the distortion parameters of the first picture, selecting, according to the first adjustment information, a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance, and determining, according to the first distortion parameter, a dedicated distortion parameter of the user, includes:
And if the first control instruction indicates a movement vector of the rocker, selecting a first distortion parameter corresponding to the first adjustment information from a plurality of distortion parameters calibrated in advance according to the movement vector, and determining the exclusive distortion parameter of the user according to the first distortion parameter.
10. The method according to any one of claims 1-7, further comprising:
and storing the exclusive distortion parameter and the account information of the user in a correlated way so as to automatically call the exclusive distortion parameter when the user logs in again.
11. A distortion correction apparatus, characterized by comprising:
the display module is used for controlling and displaying the first picture;
the receiving module is used for receiving a first control instruction input by a user according to the distortion concave-convex property of the first picture;
and the processing module is used for determining the exclusive distortion parameter of the user according to the first regulation information if the first control instruction indicates to regulate the first regulation information of the distortion parameter of the first picture.
12. An electronic device, comprising: the device comprises a display screen, a lens, a processor and a memory;
the display screen is connected with the processor and used for displaying a first picture under the control of the processor;
The lens is used for being arranged in front of the display screen so that a user can watch the first picture through the lens;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory, causing the processor to perform the distortion correction method of any one of claims 1 to 10.
13. A computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, implement the distortion correction method of any of claims 1 to 10.
14. A computer program product comprising a computer program which, when executed by a processor, implements a method of distortion correction as claimed in any one of claims 1 to 10.
CN202210989271.9A 2022-08-17 2022-08-17 Distortion correction method, apparatus, storage medium, and program product Pending CN117648045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210989271.9A CN117648045A (en) 2022-08-17 2022-08-17 Distortion correction method, apparatus, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210989271.9A CN117648045A (en) 2022-08-17 2022-08-17 Distortion correction method, apparatus, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN117648045A true CN117648045A (en) 2024-03-05

Family

ID=90042061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210989271.9A Pending CN117648045A (en) 2022-08-17 2022-08-17 Distortion correction method, apparatus, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN117648045A (en)

Similar Documents

Publication Publication Date Title
CN110766777B (en) Method and device for generating virtual image, electronic equipment and storage medium
CN110830811B (en) Live broadcast interaction method, device, system, terminal and storage medium
US11962897B2 (en) Camera movement control method and apparatus, device, and storage medium
CN111028144B (en) Video face changing method and device and storage medium
US9939890B2 (en) Image generation apparatus and image generation method of generating a wide viewing angle image
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN111147749A (en) Photographing method, photographing device, terminal and storage medium
CN109584152A (en) Image processing method, device, electronic equipment and computer readable storage medium
US11734804B2 (en) Face image processing method and apparatus, electronic device, and storage medium
CN109472738B (en) Image illumination correction method and device, electronic equipment and storage medium
CN111787407B (en) Interactive video playing method and device, computer equipment and storage medium
CN111583103B (en) Face image processing method and device, electronic equipment and computer storage medium
CN112581358A (en) Training method of image processing model, image processing method and device
CN111723803A (en) Image processing method, device, equipment and storage medium
CN110853128A (en) Virtual object display method and device, computer equipment and storage medium
KR20190083464A (en) Electronic device controlling image display based on scroll input and method thereof
CN115702443A (en) Applying stored digital makeup enhancements to recognized faces in digital images
CN114416237B (en) Display state switching method, device and system, electronic equipment and storage medium
CN117648045A (en) Distortion correction method, apparatus, storage medium, and program product
CN110728744A (en) Volume rendering method and device and intelligent equipment
CN111736692B (en) Display method, display device, storage medium and head-mounted device
CN116527993A (en) Video processing method, apparatus, electronic device, storage medium and program product
CN112489006A (en) Image processing method, image processing device, storage medium and terminal
RU2802724C1 (en) Image processing method and device, electronic device and machine readable storage carrier
US20230067584A1 (en) Adaptive Quantization Matrix for Extended Reality Video Encoding

Legal Events

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