CN114115776B - Display control method, display control device, electronic equipment and storage medium - Google Patents

Display control method, display control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114115776B
CN114115776B CN202111356104.2A CN202111356104A CN114115776B CN 114115776 B CN114115776 B CN 114115776B CN 202111356104 A CN202111356104 A CN 202111356104A CN 114115776 B CN114115776 B CN 114115776B
Authority
CN
China
Prior art keywords
display
optical
parameters
preset
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111356104.2A
Other languages
Chinese (zh)
Other versions
CN114115776A (en
Inventor
陈奕鑫
谢仁礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111356104.2A priority Critical patent/CN114115776B/en
Publication of CN114115776A publication Critical patent/CN114115776A/en
Application granted granted Critical
Publication of CN114115776B publication Critical patent/CN114115776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application discloses a display control method, a display control device, electronic equipment and a storage medium. The method comprises the following steps: the electronic equipment obtains the position information of the user relative to the electronic equipment, and then determines initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information. And finally, controlling the electronic equipment to display corresponding content according to the target display parameters. According to the embodiment of the application, the target display parameters corresponding to the electronic equipment can be determined according to the position of the user, and the electronic equipment improves the display effect of the electronic equipment according to the content displayed by the target display parameters.

Description

Display control method, display control device, electronic equipment and storage medium
Technical Field
The present application relates to the field of image display technologies, and in particular, to a display control method, a display control device, an electronic device, and a storage medium.
Background
In the prior art, when the display screen displays pictures, the display pictures are often regulated in the display direction right in front of the display screen, so that different areas of the display screen have uniform display effects.
However, when a user views the display screen from different angles, the uniformity of the display screen can be changed due to different viewing angles, and the problem of uneven screen occurs.
Disclosure of Invention
The embodiment of the application provides a display control method, a display control device, electronic equipment and a storage medium. The display control method can improve the display effect of the electronic equipment.
In a first aspect, an embodiment of the present application provides a display control method, including:
Acquiring position information of a user relative to the electronic equipment;
determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
adjusting the initial display parameters according to the template parameters to obtain target display parameters;
And controlling the electronic equipment to display corresponding content according to the target display parameters.
In a second aspect, an embodiment of the present application provides a display control apparatus, including:
the acquisition module is used for acquiring the position information of the user relative to the electronic equipment;
The determining module is used for determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
The adjustment module is used for adjusting the initial display parameters according to the template parameters to obtain target display parameters;
and the display module is used for controlling the electronic equipment to display corresponding content according to the target display parameters.
In a third aspect, an embodiment of the present application provides an electronic device, a memory storing executable program code, and a processor coupled to the memory; the processor invokes the executable program code stored in the memory to execute the steps in the display control method provided by the embodiment of the application.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform steps in a display control method provided by embodiments of the present application.
In the embodiment of the application, the electronic equipment acquires the position information of the user relative to the electronic equipment, and then determines the initial display parameters corresponding to the electronic equipment and the template parameters corresponding to the initial display parameters according to the position information. And finally, controlling the electronic equipment to display corresponding content according to the target display parameters. According to the embodiment of the application, the target display parameters corresponding to the electronic equipment can be determined according to the position of the user, and the electronic equipment improves the display effect of the electronic equipment according to the content displayed by the target display parameters.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a display control method according to an embodiment of the application.
Fig. 2 is a schematic diagram of a second flow of a display control method according to an embodiment of the present application.
Fig. 3 is a schematic view of angle acquisition according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a first structure of a display control device according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a second structure of a display control device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
In the prior art, when the display screen displays pictures, the display pictures are often regulated in the display direction right in front of the display screen, so that different areas of the display screen have uniform display effects.
However, when a user views the display screen from different angles, the uniformity of the display screen can be changed due to different viewing angles, and the problem of uneven screen occurs.
For example, when a user views the display screen of the electronic device from different angles, the display screen still displays a picture according to default display parameters, and the picture may have uneven brightness.
In order to solve the technical problem, the embodiment of the application provides a display control method, a display control device, electronic equipment and a storage medium. The display control method can improve the display effect of the electronic equipment.
It should be noted that the display control method is applicable to any electronic device to be provided with a display screen, such as a television, a smart phone, a computer, a tablet computer, and the like.
Referring to fig. 1, fig. 1 is a schematic flow chart of a display control method according to an embodiment of the application. The display control method may include the steps of:
110. And acquiring the position information of the user relative to the electronic equipment.
In some embodiments, a sensor is provided on the electronic device, through which position information of the user relative to the electronic device can be acquired. For example, the sensor may be a depth sensor or a sensor such as a camera, and may acquire three-dimensional spatial information of the user relative to the electronic device, and then the electronic device acquires position information of the user relative to the electronic device according to the three-dimensional spatial information.
Wherein the position information includes angle information and distance information.
In some implementations, a first angle and a second angle of the user relative to a first preset location on the electronic device may also be determined, and then location information is determined based on the first angle and the second angle.
For example, the electronic device may determine the first angle by acquiring a second preset position on the user's head, then acquiring a vertical distance and a parallel distance of the second preset position relative to the first preset position, and then determining the first angle according to the vertical distance and the parallel distance. That is, the first angle is an angle calculated based on the vertical distance and the parallel distance.
The second angle may be an angle of the user relative to the electronic device acquired by the sensor. By comprehensively determining the angle of the user relative to the electronic equipment according to the first angle and the second angle, the angle information of the user relative to the electronic equipment can be determined more accurately.
The electronic device can also acquire distance information of the user relative to the electronic device, for example, the distance between the user and the electronic device can be accurately acquired through the laser sensor. The distance is a straight line distance between the user and the laser sensor.
120. And determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information.
In some embodiments, the initial display parameters corresponding to the electronic device are different under different location information. The initial display parameters are display data correspondingly acquired when the electronic equipment views the screen of the electronic equipment from different angles and/or different distances when the electronic equipment displays the same picture. That is, the initial display parameter is the look and feel of viewing the electronic device at an angle and/or distance.
In some embodiments, when the electronic device displays a certain picture, the shooting device may be utilized to shoot the picture displayed by the electronic device at different angles and/or different distances in advance, so as to obtain multiple groups of first display parameters, then the first display parameters are stored in the electronic device, and the electronic device may generate a display database according to the first display parameters corresponding to different preset angles and/or preset distances.
When the angle and/or the distance are determined according to the position information, the first target display parameter corresponding to the electronic equipment can be directly found out from the display database according to the angle and/or the distance, and then the first target display parameter is determined to be the initial display parameter corresponding to the position information.
In some embodiments, the electronic device may generate the display database by associating the displayed frame, the distance and angle corresponding to the displayed frame, and the first display parameter while generating the display database.
When the electronic device displays a certain picture, the first target display parameter can be determined in the display database according to the picture and the position information which are actually displayed, and then the first target display parameter is determined as the initial display parameter.
In some embodiments, template parameters corresponding to the initial display parameters may also be determined according to the location information. For example, the electronic device may determine a template data in the template database based on the location information and determine the template data as the template parameter.
In some embodiments, before determining the initial display parameter corresponding to the electronic device and the template parameter corresponding to the initial display parameter according to the position information, the template parameter may be generated according to the optical parameter corresponding to each preset angle and/or each preset distance by acquiring the optical parameter corresponding to the human eye when viewing the picture at each preset angle and/or each preset distance. And finally, generating a template database according to the template parameters.
In some embodiments, in the process of obtaining the optical parameters corresponding to the picture being viewed at each preset angle, the electronic device may determine the corresponding optical parameters by obtaining the optical curves corresponding to the picture being viewed at each preset angle, where the optical curves include brightness curves, and then determining the corresponding optical parameters according to the optical curves corresponding to each preset angle.
For example, when the human eye views the picture at a certain preset angle, the human eye has optical data corresponding to the R channel, the G channel and the B channel respectively, wherein the optical data can include brightness data and color data. And then generating an optical curve according to the optical data corresponding to the R channel, the G channel and the B channel under each preset angle. And finally, generating corresponding optical parameters under the preset angle according to the R channel optical curve, the G channel optical curve and the B channel optical curve.
130. And adjusting the initial display parameters according to the template parameters to obtain target display parameters.
After the initial display parameters and the template parameters are determined according to the position information, the initial display parameters can be adjusted according to the template parameters.
For example, the brightness value of each pixel in the initial display parameter may be adjusted according to the template parameter, so as to obtain the target display parameter. Specifically, the electronic device may determine a luminance value of each pixel in the current display frame according to the initial display parameter, then determine a mapped luminance value corresponding to the luminance value of each pixel in the template parameter, and finally adjust the mapped luminance value according to the luminance value of each pixel to obtain the target display parameter.
The corresponding color saturation of each pixel in the initial display parameters can be adjusted, for example, the electronic device can determine the brightness value of each pixel in the current display picture according to the initial display parameters, then determine the mapping brightness value corresponding to the brightness value of each pixel in the template parameters, and finally adjust the mapping brightness value according to the brightness value of each pixel to obtain the target display parameters.
140. And controlling the electronic equipment to display the corresponding content according to the target display parameters.
In some embodiments, after determining the target display parameter, the electronic device may display the content to be displayed according to the target display parameter. For example, the electronic device may display a corresponding picture according to the mapped luminance value corresponding to each pixel and the mapped color saturation corresponding to each pixel in the target display parameter. Therefore, when a user views the picture at a corresponding preset angle, the color and the brightness displayed by the whole display screen are uniform, and the whole picture is free from uneven feeling or picture splitting feeling.
In the embodiment of the application, the electronic equipment acquires the position information of the user relative to the electronic equipment, and then determines the initial display parameters corresponding to the electronic equipment and the template parameters corresponding to the initial display parameters according to the position information. And finally, controlling the electronic equipment to display corresponding content according to the target display parameters. According to the embodiment of the application, the target display parameters corresponding to the electronic equipment can be determined according to the position of the user, and the electronic equipment improves the display effect of the electronic equipment according to the content displayed by the target display parameters.
For a more detailed understanding of the display control method according to the embodiment of the present application, please refer to fig. 2, fig. 2 is a second flow chart of the display control method according to the embodiment of the present application. The display control method may include:
201. And acquiring an optical curve corresponding to the human eyes when watching the picture at each preset angle, wherein the optical curve comprises a brightness curve.
In some embodiments, the template database may be established prior to the electronic device acquiring the template parameters.
It will be appreciated that when the human eye views the same picture from different viewing angles, the light entering the human eye is different. The electronic device may first obtain an optical curve corresponding to the image viewed at each preset angle, where the optical curve includes a brightness curve.
In some embodiments, brightness curves corresponding to different color channels may be obtained, for example, optical data corresponding to an R channel, a G channel, and a B channel under each preset angle are obtained, and then an optical curve is generated according to the optical data corresponding to the R channel, the G channel, and the B channel under each preset angle. Each luminance curve corresponds to 256 elements, which can be understood as gray-scale values from 0 to 255. The value range corresponding to each element can be determined according to the actual image fineness, for example, when the image is a 10bit image, the value range of each element is 0-1023.
It should be noted that the optical curves may also include other curve types such as color curves, and the present application is merely exemplified by the optical curves and is not limited by the present application.
202. And determining corresponding optical parameters according to the optical curves corresponding to each preset angle.
In some embodiments, the brightness curves corresponding to the different color channels corresponding to each preset angle may be divided into a set of optical curves, so as to obtain the optical parameters corresponding to each preset angle.
For example, the brightness curve of the R channel, the brightness curve of the G channel, and the brightness curve of the B channel at a predetermined angle are divided into a set of optical curves, and the set of optical curves are the corresponding optical parameters at the predetermined angle.
203. And carrying out segmentation processing on the optical curves in the optical parameters corresponding to each preset angle to obtain a plurality of sections of sub-optical curves.
In some embodiments, the electronic device may determine an optical curve in the optical parameters corresponding to each preset angle, and then segment the optical curve, so as to obtain a multi-segment sub-optical curve.
For example, each curve has 256 elements, and the 256 elements may be divided into 20 groups, where each group has a sub-optical curve, for example, a sub-optical curve in a gray scale of 0-50, and a sub-optical curve in a gray scale of 50-100. In this way, a plurality of sub-optical curves can be determined.
It should be noted that the number of elements corresponding to each segment of the sub-optical curve may be different, for example, the number of elements corresponding to the first segment of the sub-optical curve is 20, and the number of elements corresponding to the second segment of the sub-optical curve is 30. Of course, the number of elements corresponding to each segment of the sub-optical curve may be the same, for example, 256 elements are equally divided, and the number of elements corresponding to each segment of the sub-optical curve is the same.
204. And classifying each sub-optical curve to obtain a plurality of sub-optical curves.
In some embodiments, after obtaining the multiple sub-optical curves corresponding to each preset angle, the multiple sub-optical curves may be classified. For example, a segment may be determined first, then a sub-optical curve corresponding to the segment in each preset angle may be obtained, and then a plurality of sub-optical curves corresponding to the segment may be classified, so as to obtain a plurality of categories, where each category corresponds to at least one sub-optical curve in the segment.
205. And generating a mapping matrix according to the sub-optical curves of the multiple categories and the corresponding preset angles to obtain template parameters.
In some embodiments, the electronic device may generate the mapping matrix according to a preset angle, a segment sequence corresponding to the sub-optical curve, and a class corresponding to the sub-optical curve, for example, the mapping matrix is Y, where Y (a, N) = (a, B), where Y is the mapping matrix, a is the segment sequence, B is the class, and N is the angle.
For example, when determining the sequence and angle corresponding to an optical curve, the category corresponding to the optical curve can be determined according to the mapping matrix.
In some embodiments, the mapping matrix may be determined directly as a template parameter.
In some embodiments, the electronic device may derive a calculation formula according to the multiple sections of the sub-optical curves and the categories corresponding to the sub-optical curves, where fi=f (a, B), and when knowing the section sequence a and the category B, determine the corresponding calculation formula, and obtain the template parameters.
206. And acquiring corresponding first display parameters of the display picture of the electronic equipment under different preset angles and/or preset distances.
In some embodiments, the initial display parameters corresponding to the electronic device are determined based on the location information. The display database may be determined first.
For example, the electronic device displays the same screen, and the shooting device shoots the screen displayed by the electronic device from different preset angles and/or preset distances. Then, the shot photos are stored in the electronic equipment, and the electronic equipment can determine the first display parameters corresponding to the electronic equipment when the display picture is acquired under different preset angles and/or preset distances according to the photos corresponding to different preset angles and/or preset distances
207. And generating a display database according to the first display parameters corresponding to different preset angles and/or preset distances.
The electronic device may generate a display database according to the first display parameters corresponding to different preset angles and/or preset distances, and store the display database in the local of the electronic device.
208. And determining a first angle and a second angle of the user relative to a first preset position on the electronic equipment, and determining position information according to the first angle and the second angle.
Referring to fig. 3 together, fig. 3 is a schematic view of angle acquisition according to an embodiment of the application.
The electronic device may determine the first angle by acquiring a second preset position on the user's head, then acquiring a vertical distance and a parallel distance of the second preset position relative to the first preset position, and then determining the first angle according to the vertical distance and the parallel distance. That is, the first angle is an angle calculated based on the vertical distance and the parallel distance.
For example, as shown in fig. 3, the first preset position is A1, the second preset position is A2, a vertical distance L1 of the second preset position A2 relative to the first preset position A1 is obtained, and a parallel distance L2 of the second preset position A2 relative to the first preset position A1 is obtained. Finally, a first angle B1 is determined from L1 and L2.
The second angle may be an angle of the user relative to the electronic device acquired by the sensor.
In the embodiment of the application, the angle of the user relative to the electronic equipment is comprehensively determined by the first angle and the second angle, so that the angle information of the user relative to the electronic equipment can be more accurately determined. For example, a first weight value may be set for a first angle, a second weight value may be set for a second angle, the first weight value may be multiplied by the first angle to obtain a first product, and the second angle may be multiplied by the second weight to obtain a second product. Adding the first product and the second product yields the angle of the end user relative to the electronic device, which is determined as the location information. Wherein, the value range of the first weight and the second weight is between 0 and 1.
209. And determining a target first display parameter corresponding to the position information in a display database, and determining the target first display parameter as an initial display parameter corresponding to the position information.
When the angle and/or the distance are determined according to the position information, the first target display parameter corresponding to the electronic equipment can be directly found out from the display database according to the angle and/or the distance, and then the first target display parameter is determined to be the initial display parameter corresponding to the position information.
210. And determining template parameters corresponding to the initial display parameters according to the position information.
For example, after determining the location information, the electronic device may find the corresponding template parameter directly according to the location information, e.g., may determine the corresponding template parameter by using an angle in the location information. Inputting the angles into the mapping matrix, the corresponding sub-optical curves and sequences can be found.
211. And adjusting the initial display parameters according to the template parameters to obtain target display parameters.
After the initial display parameters and the template parameters are determined according to the position information, the initial display parameters can be adjusted according to the template parameters.
For example, the brightness value of each pixel in the initial display parameter may be adjusted according to the template parameter, so as to obtain the target display parameter. Specifically, the electronic device may determine a luminance value of each pixel in the current display frame according to the initial display parameter, then determine a mapped luminance value corresponding to the luminance value of each pixel in the template parameter, and finally adjust the mapped luminance value according to the luminance value of each pixel to obtain the target display parameter.
The corresponding color saturation of each pixel in the initial display parameters can be adjusted, for example, the electronic device can determine the brightness value of each pixel in the current display picture according to the initial display parameters, then determine the mapping brightness value corresponding to the brightness value of each pixel in the template parameters, and finally adjust the mapping brightness value according to the brightness value of each pixel to obtain the target display parameters.
212. And controlling the electronic equipment to display the corresponding content according to the target display parameters.
In some embodiments, after determining the target display parameter, the electronic device may display the content to be displayed according to the target display parameter. For example, the electronic device may display a corresponding picture according to the mapped luminance value corresponding to each pixel and the mapped color saturation corresponding to each pixel in the target display parameter. Therefore, when a user views the picture at a corresponding preset angle, the color and the brightness displayed by the whole display screen are uniform, and the whole picture is free from uneven feeling or picture splitting feeling.
In the embodiment of the application, the optical curve corresponding to the human eyes watching the picture at each preset angle is obtained, and the optical curve comprises a brightness curve. And determining corresponding optical parameters according to the optical curves corresponding to each preset angle, and carrying out segmentation processing on the optical curves in the optical parameters corresponding to each preset angle to obtain a plurality of sections of sub-optical curves. And classifying each sub-optical curve to obtain a plurality of sub-optical curves. And generating a mapping matrix according to the sub-optical curves of the multiple categories and the corresponding preset angles to obtain template parameters.
And then acquiring corresponding first display parameters of the display picture of the electronic equipment under different preset angles and/or preset distances. And generating a display database according to the first display parameters corresponding to different preset angles and/or preset distances.
And determining a first angle and a second angle of the user relative to a first preset position on the electronic equipment, and determining position information according to the first angle and the second angle. And determining a target first display parameter corresponding to the position information in a display database, and determining the target first display parameter as an initial display parameter corresponding to the position information. And determining template parameters corresponding to the initial display parameters according to the position information.
Finally, the initial display parameters are adjusted according to the template parameters, and target display parameters are obtained. And controlling the electronic equipment to display the corresponding content according to the target display parameters. According to the embodiment of the application, the target display parameters corresponding to the electronic equipment can be determined according to the position of the user, and the electronic equipment improves the display effect of the electronic equipment according to the content displayed by the target display parameters.
Referring to fig. 4, fig. 4 is a schematic diagram of a first structure of a display control device according to an embodiment of the application. The display control device includes:
An obtaining module 310, configured to obtain location information of a user relative to the electronic device.
The obtaining module 310 is further configured to determine a first angle and a second angle of the user relative to a first preset position on the electronic device; and determining the position information according to the first angle and the second angle.
The acquiring module 310 is further configured to acquire a second preset position on the head of the user; acquiring a vertical distance and a parallel distance of a second preset position relative to the first preset position; and determining the first angle according to the perpendicular distance and the parallel distance.
The determining module 320 is configured to determine an initial display parameter corresponding to the electronic device and a template parameter corresponding to the initial display parameter according to the location information.
And the adjustment module 330 is configured to adjust the initial display parameter according to the template parameter, so as to obtain a target display parameter.
The adjustment module 330 is further configured to determine a brightness value of each pixel in the current display screen according to the initial display parameter;
determining a mapping brightness value corresponding to the brightness value of each pixel in the template parameters;
and adjusting the brightness value of each pixel to the mapping brightness value to obtain the target display parameter.
And the display module 340 is configured to control the electronic device to display corresponding content according to the target display parameter.
As shown in fig. 5, fig. 5 is a second schematic structural diagram of a display control device according to an embodiment of the present application. Wherein the display device further comprises:
The first generating module 350 is configured to obtain optical parameters corresponding to human eyes when viewing a picture at each preset angle; and generating the template parameters according to the optical parameters corresponding to each preset angle.
The first generating module 350 is further configured to obtain an optical curve corresponding to the human eye when viewing the picture at each preset angle, where the optical curve includes a brightness curve; and determining corresponding optical parameters according to the optical curves corresponding to each preset angle.
The second generating module 360 is configured to obtain first display parameters corresponding to the display screen of the electronic device at different preset angles and/or preset distances; and generating a display database according to the first display parameters corresponding to the different preset angles and/or the preset distances.
In the embodiment of the application, the electronic equipment acquires the position information of the user relative to the electronic equipment, and then determines the initial display parameters corresponding to the electronic equipment and the template parameters corresponding to the initial display parameters according to the position information. And finally, controlling the electronic equipment to display corresponding content according to the target display parameters. According to the embodiment of the application, the target display parameters corresponding to the electronic equipment can be determined according to the position of the user, and the electronic equipment improves the display effect of the electronic equipment according to the content displayed by the target display parameters.
Accordingly, an embodiment of the present application also provides an electronic device, as shown in fig. 6, where the electronic device may include an input unit 401, a display unit 402, a memory 403 including one or more computer readable storage media, a sensor 405, a processor 404 including one or more processing cores, and a power supply 406. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The input unit 401 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 401 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 404, and can receive commands from the processor 404 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 401 may also comprise other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 402 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of an electronic device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 402 may include a display panel, which may optionally be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is communicated to the processor 404 to determine a type of touch event, and the processor 404 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 6 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The memory 403 may be used to store software programs and modules, and the processor 404 may execute various functional applications and data processing by executing the software programs and modules stored in the memory 403. The memory 403 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device (such as audio data, phonebooks, etc.), and the like. In addition, memory 403 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 403 may also include a memory controller to provide access to the memory 403 by the processor 404 and the input unit 401.
The electronic device may also include at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the device is stationary, and the device can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the electronic device are not described in detail herein.
The processor 404 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 403 and calling data stored in the memory 403, thereby performing overall monitoring of the electronic device. Optionally, processor 404 may include one or more processing cores; preferably, the processor 404 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 404.
The electronic device also includes a power supply 406 (e.g., a battery) for powering the various components, which may be logically connected to the processor 404 via a power management system that performs functions such as managing charge, discharge, and power consumption. The power supply 406 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 404 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 403 according to the following instructions, and the processor 404 executes the application programs stored in the memory 403, so as to implement various functions:
Acquiring position information of a user relative to the electronic equipment;
determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
adjusting the initial display parameters according to the template parameters to obtain target display parameters;
And controlling the electronic equipment to display corresponding content according to the target display parameters.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform any of the steps of the display control method provided by the embodiment of the present application. For example, the instructions may perform the steps of:
Acquiring position information of a user relative to the electronic equipment;
determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
adjusting the initial display parameters according to the template parameters to obtain target display parameters;
And controlling the electronic equipment to display corresponding content according to the target display parameters.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any display control method provided by the embodiments of the present application, so that the beneficial effects that any display control method provided by the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a display control method, apparatus, electronic device and storage medium provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (11)

1. A display control method applied to an electronic device, comprising:
Acquiring position information of a user relative to the electronic equipment;
Acquiring an optical curve corresponding to human eyes when watching pictures at each preset angle, wherein the optical curve comprises a brightness curve;
Determining corresponding optical parameters according to the optical curves corresponding to each preset angle;
Performing segmentation processing on the optical curves in the optical parameters corresponding to each preset angle to obtain multi-segment sub-optical curves;
classifying each sub-optical curve to obtain sub-optical curves of a plurality of categories;
generating a mapping matrix according to the sub-optical curves of the multiple categories and the corresponding preset angles to obtain template parameters;
determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
adjusting the initial display parameters according to the template parameters to obtain target display parameters;
And controlling the electronic equipment to display corresponding content according to the target display parameters.
2. The display control method according to claim 1, wherein the acquiring the position information of the user with respect to the electronic device includes:
Determining a first angle and a second angle of a user relative to a first preset position on the electronic equipment;
and determining the position information according to the first angle and the second angle.
3. The display control method according to claim 2, wherein determining the first angle of the user with respect to the preset position on the electronic device comprises:
acquiring a second preset position on the head of the user;
acquiring a vertical distance and a parallel distance of a second preset position relative to the first preset position;
And determining the first angle according to the perpendicular distance and the parallel distance.
4. The display control method according to claim 1, wherein the obtaining an optical curve corresponding to the human eye when viewing the picture at each preset angle, the optical curve including a brightness curve, includes:
Acquiring optical data corresponding to an R channel, a G channel and a B channel under each preset angle, wherein the optical data comprises brightness data;
and generating the optical curve according to the optical data corresponding to the R channel, the G channel and the B channel under each preset angle.
5. The display control method according to claim 1, wherein before the determining, according to the location information, an initial display parameter corresponding to the electronic device and a template parameter corresponding to the initial display parameter, the method further comprises:
Acquiring optical parameters corresponding to human eyes when watching pictures at each preset distance;
And generating the template parameters according to the optical parameters corresponding to each preset distance.
6. The display control method according to any one of claims 1 to 5, characterized in that before the determining, based on the location information, an initial display parameter corresponding to the electronic device and a template parameter corresponding to the initial display parameter, the method further comprises:
Acquiring corresponding first display parameters of the display picture of the electronic equipment under different preset angles and/or preset distances;
And generating a display database according to the first display parameters corresponding to the different preset angles and/or the preset distances.
7. The display control method according to claim 6, wherein the determining the initial display parameter corresponding to the electronic device according to the location information includes:
determining a target first display parameter corresponding to the position information in the display database;
and determining the first display parameter of the target as an initial display parameter corresponding to the position information.
8. The display control method according to any one of claims 1 to 5, wherein the adjusting the initial display parameter according to the template parameter to obtain a target display parameter includes:
Determining the brightness value of each pixel in the current display picture according to the initial display parameters;
determining a mapping brightness value corresponding to the brightness value of each pixel in the template parameters;
and adjusting the brightness value of each pixel to the mapping brightness value to obtain the target display parameter.
9. A display control apparatus applied to an electronic device, comprising:
the acquisition module is used for acquiring the position information of the user relative to the electronic equipment;
Acquiring an optical curve corresponding to human eyes when watching pictures at each preset angle, wherein the optical curve comprises a brightness curve;
Determining corresponding optical parameters according to the optical curves corresponding to each preset angle;
Performing segmentation processing on the optical curves in the optical parameters corresponding to each preset angle to obtain multi-segment sub-optical curves;
classifying each sub-optical curve to obtain sub-optical curves of a plurality of categories;
generating a mapping matrix according to the sub-optical curves of the multiple categories and the corresponding preset angles to obtain template parameters;
The determining module is used for determining initial display parameters corresponding to the electronic equipment and template parameters corresponding to the initial display parameters according to the position information;
The adjustment module is used for adjusting the initial display parameters according to the template parameters to obtain target display parameters;
and the display module is used for controlling the electronic equipment to display corresponding content according to the target display parameters.
10. An electronic device, comprising:
a memory storing executable program code, a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the steps in the display control method as claimed in any one of claims 1 to 8.
11. A computer readable storage medium, characterized in that the storage medium stores a plurality of instructions adapted to be loaded by a processor for performing the steps in the display control method according to any one of claims 1 to 8.
CN202111356104.2A 2021-11-16 2021-11-16 Display control method, display control device, electronic equipment and storage medium Active CN114115776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111356104.2A CN114115776B (en) 2021-11-16 2021-11-16 Display control method, display control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111356104.2A CN114115776B (en) 2021-11-16 2021-11-16 Display control method, display control device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114115776A CN114115776A (en) 2022-03-01
CN114115776B true CN114115776B (en) 2024-07-09

Family

ID=80395980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111356104.2A Active CN114115776B (en) 2021-11-16 2021-11-16 Display control method, display control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114115776B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299807A (en) * 2007-04-30 2008-11-05 深圳Tcl新技术有限公司 Display device capable of automatically regulating display parameter as well as implementation method thereof
CN109300434A (en) * 2018-10-31 2019-02-01 上海天马微电子有限公司 Display device and adjusting method of viewing angle chromatic aberration thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100060667A1 (en) * 2008-09-10 2010-03-11 Apple Inc. Angularly dependent display optimized for multiple viewing angles
CN106919246A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 The display methods and device of a kind of application interface
CN108491076B (en) * 2018-03-14 2021-04-09 Oppo广东移动通信有限公司 Display control method and related product
CN109729331A (en) * 2018-12-29 2019-05-07 深圳Tcl新技术有限公司 Display screen color regards solution, TV, computer readable storage medium and system
CN113450713B (en) * 2020-03-25 2022-08-12 北京小米移动软件有限公司 Screen display method and device and gray scale mapping information generation method and device
CN113096035A (en) * 2021-03-31 2021-07-09 康佳集团股份有限公司 High dynamic range image generation method and device, intelligent terminal and storage medium
CN113327532B (en) * 2021-04-28 2022-10-11 华兴源创(成都)科技有限公司 Color cast compensation method and device of display panel, computer equipment and medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299807A (en) * 2007-04-30 2008-11-05 深圳Tcl新技术有限公司 Display device capable of automatically regulating display parameter as well as implementation method thereof
CN109300434A (en) * 2018-10-31 2019-02-01 上海天马微电子有限公司 Display device and adjusting method of viewing angle chromatic aberration thereof

Also Published As

Publication number Publication date
CN114115776A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN108958633B (en) Split screen display method and device, storage medium and electronic equipment
US11231845B2 (en) Display adaptation method and apparatus for application, and storage medium
CN110891144B (en) Image display method and electronic equipment
CN110969981B (en) Screen display parameter adjusting method and electronic equipment
US20090102804A1 (en) Touch-based apparatus and method thereof
US20080288895A1 (en) Touch-Down Feed-Forward in 30D Touch Interaction
US9599825B1 (en) Visual indicator for transparent display alignment
CN114203119B (en) Display control method, display control device, electronic equipment and storage medium
US20210152729A1 (en) Method and Apparatus for Shooting Video, and Storage Medium
CN109948581B (en) Image-text rendering method, device, equipment and readable storage medium
US20140132725A1 (en) Electronic device and method for determining depth of 3d object image in a 3d environment image
CN107741814B (en) Display control method and mobile terminal
CN111031234B (en) Image processing method and electronic equipment
CN110533651B (en) Image processing method and device
US20230014409A1 (en) Detection result output method, electronic device and medium
CN109819166B (en) Image processing method and electronic equipment
US20200341623A1 (en) Image display method and mobile terminal
CN114119431A (en) Image processing method, image processing device, electronic equipment and storage medium
US20220083207A1 (en) Editing method and mobile terminal
CN109104573B (en) Method for determining focusing point and terminal equipment
CN107968939B (en) Display screen processing method and device, storage medium and electronic device
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN114115776B (en) Display control method, display control device, electronic equipment and storage medium
CN114242021A (en) Display control method, display control device, electronic equipment and storage medium
CN115529405A (en) Image display method and device of front camera

Legal Events

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