CN116959380A - Page class paper display method and device, electronic equipment and storage medium - Google Patents
Page class paper display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116959380A CN116959380A CN202210415975.5A CN202210415975A CN116959380A CN 116959380 A CN116959380 A CN 116959380A CN 202210415975 A CN202210415975 A CN 202210415975A CN 116959380 A CN116959380 A CN 116959380A
- Authority
- CN
- China
- Prior art keywords
- page
- color
- displayed
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012360 testing method Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 19
- 239000003086 colorant Substances 0.000 claims description 7
- 230000000007 visual effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3433—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/344—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to the field of display, and provides a page paper-like display method, a page paper-like display device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining blank areas and image areas in a page to be displayed, and acquiring color temperature information and brightness information of a current environment; determining a target color according to the color temperature information of the current environment and combining the preset corresponding relation between the color temperature information and the color; determining and displaying the target saturation according to the brightness information of the current environment; and according to the brightness information of the current environment, determining a target backlight value for displaying the page to be displayed by combining the preset corresponding relation between the brightness information and the backlight value. The color information and the saturation are respectively determined in different areas of the page to be displayed, and the target backlight value is determined based on the brightness information of the environment, so that the displayed page can be closer to the display effect of real paper, and the reality and naturalness of the electronic textbook display are improved.
Description
Technical Field
The present application relates to the field of display, and in particular, to a method and apparatus for displaying a page on a paper-like structure, an electronic device, and a storage medium.
Background
With the development of science and technology, the use of electronic devices is becoming more and more popular. For example, more and more students use learning tablet computers to read, do questions, listen to lessons and the like, and great convenience is brought to the learning of the students.
Because the electronic device has the advantages of convenient carrying, high consulting efficiency and the like, more and more students replace reading paper books by reading electronic textbooks in the electronic device. In order to improve the reading effect, the electronic product is provided with a paper-like display mode. In the paper-like display mode, the display content of the screen is similar to the display effect of the paper, so that a user can obtain the paper-reading-like effect through the electronic product. However, compared with a real textbook, the electronic textbook displayed by the electronic screen may have the defects of more dazzling, unreal and unnatural, which is not beneficial to further improving the paper-like display effect.
Disclosure of Invention
In view of the above, embodiments of the present application provide a method, an apparatus, an electronic device, and a storage medium for displaying a page, so as to solve the problem that compared with a real textbook, an electronic textbook displayed by an electronic screen in the prior art may have more glaring, unreal, and unnatural defects, which is not beneficial to further improving the paper-like display effect.
A first aspect of an embodiment of the present application provides a method for displaying a class of paper of a page, where the method includes:
determining blank areas and image areas in a page to be displayed, and acquiring color temperature information and brightness information of a current environment;
determining a target color of a blank area in the page to be displayed according to the color temperature information of the current environment and combining a preset corresponding relation between the color temperature information and the color;
determining target saturation of an image area in the page to be displayed according to brightness information of the current environment;
and according to the brightness information of the current environment, determining a target backlight value for displaying the page to be displayed by combining the preset corresponding relation between the brightness information and the backlight value.
With reference to the first aspect, in a first possible implementation manner of the first aspect, before determining to display the target color of the blank area in the page to be displayed, the method further includes:
setting color temperature information in a test environment, wherein paper and electronic equipment for testing are arranged in the test environment, and the electronic equipment displays an electronic page corresponding to the paper;
collecting the color of a blank area of paper in the test environment and the color of a corresponding blank area in the electronic equipment under the set color temperature information;
when the color of the blank area in the electronic equipment is consistent with the color of the corresponding area of the paper, establishing the corresponding relation between the color temperature information and the color of the blank area of the page of the electronic equipment.
With reference to the first aspect, in a second possible implementation manner of the first aspect, before determining the target backlight value for displaying the page to be displayed, the method further includes:
setting brightness information in a test environment, wherein paper and electronic equipment for testing are arranged in the test environment, and the electronic equipment displays an electronic page corresponding to the paper;
collecting brightness values of blank areas of paper in the test environment under the set brightness information;
and determining the corresponding relation between the backlight value and the ambient brightness according to the corresponding relation between the brightness value of the blank area and the backlight value of the electronic equipment.
With reference to the first aspect, in a third possible implementation manner of the first aspect, acquiring color temperature information and brightness information of the current environment includes:
when a paper-like display instruction is received, acquiring color temperature information and brightness information of the current environment;
or when the motion amplitude of the electronic equipment is detected to be larger than a preset amplitude threshold value, acquiring color temperature information and brightness information of the current environment.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, detecting that the motion amplitude of the electronic device is greater than a preset amplitude threshold includes:
detecting that the moving distance of the electronic equipment is larger than a preset distance threshold value;
or detecting that the rotation angle of the electronic device is larger than a preset angle threshold.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, before detecting that the rotation angle of the electronic device is greater than the preset angle threshold, the method further includes:
acquiring the azimuth relation between a light source and electronic equipment in the current environment;
and determining the angle threshold according to the azimuth relation between the light source and the electronic equipment in the current environment.
With reference to the first aspect, in a sixth possible implementation manner of the first aspect, after determining a target backlight value for displaying the page to be displayed, the method further includes:
acquiring the azimuth relation between the visual angle of the user and the electronic equipment;
and updating the target color of the blank area in the page to be displayed, the target saturation of the image area in the page to be displayed and the target backlight value according to the azimuth relation.
A second aspect of an embodiment of the present application provides a paper-like display device for a page, the device including:
the page information determining unit is used for determining blank areas and image areas in the page to be displayed and acquiring color temperature information and brightness information of the current environment;
the target color determining unit is used for determining target colors of blank areas in the page to be displayed according to the color temperature information of the current environment and combining preset corresponding relations between the color temperature information and the colors;
the target saturation determining unit is used for determining target saturation of an image area in the page to be displayed according to brightness information of the current environment;
and the target backlight value determining unit is used for determining the target backlight value for displaying the page to be displayed according to the brightness information of the current environment and combining the preset corresponding relation between the brightness information and the backlight value.
A third aspect of an embodiment of the present application provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of the first aspects when the computer program is executed.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to any of the first aspects.
Compared with the prior art, the embodiment of the application has the beneficial effects that: in the paper-like display method of the page, firstly, a blank area and an image area in the page to be displayed are determined, color temperature information and brightness information of the current environment are obtained, the target color of the blank area of the page and the target saturation of the image area are determined based on a preset corresponding relation, and the target backlight value of the page to be displayed is determined based on the brightness information of the environment and the preset corresponding relation between the brightness information and the backlight value. The color information and the saturation are respectively determined in different areas of the page to be displayed, and the target backlight value is determined based on the brightness information of the environment, so that the displayed page can be closer to the display effect of real paper, and the reality and naturalness of the electronic textbook display are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art 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 diagram of an implementation flow of a method for displaying a class of pages according to an embodiment of the present application;
fig. 2 is a schematic diagram of a display effect of an electronic textbook that is not optimized according to an embodiment of the present application;
FIG. 3 is a schematic diagram showing the effect of a paper textbook according to an embodiment of the present application;
FIG. 4 is a graph showing the correspondence between color temperature and color provided by an embodiment of the present application;
FIG. 5 is a diagram showing a correspondence relationship between luminance information and backlight values of an environment obtained by statistics according to an embodiment of the present application;
fig. 6 is a display effect of an electronic textbook provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a paper-like display device for a page according to an embodiment of the present application;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Fig. 1 is a schematic implementation flow chart of a paper-like display method for a page according to an embodiment of the present application, which is described in detail below:
in S101, a blank area and an image area in a page to be displayed are determined, and color temperature information and luminance information of a current environment are acquired.
Specifically, the page to be displayed may be a page in an electronic textbook. For example, fig. 2 is a schematic diagram showing a display effect of an electronic textbook with non-optimization processing according to an embodiment of the present application. When the page to be displayed of the electronic textbook is not subjected to optimization processing, including saturation, color value, brightness optimization processing and the like, the displayed page of the electronic textbook may be more glaring, and the authenticity of the paper-like effect of the page of the electronic textbook is poor compared with the paper textbook shown in fig. 3.
When the page to be displayed is optimized, the image information in the page to be displayed can be firstly identified, and the blank area and the image area in the page to be displayed can be determined. The blank area is an area in the page, which does not include a picture or text, and the image area may include a picture area in the page or may further include a text area in the page.
When the electronic equipment displays the paper-like, the electronic equipment can acquire the related information of the current environment, for example, the color temperature information and the brightness information of the current environment can be included.
When the color temperature information of the current environment is acquired, the color temperature information of the current environment can be acquired through the color temperature sensor, and the brightness information of the current environment can be acquired through the brightness sensor. In order to improve the effectiveness of the collected data, the brightness information collected by the brightness sensor is the brightness information of the screen area, and the color temperature information collected by the color temperature sensor is the color temperature information of the screen area.
In the embodiment of the application, the display information of the electronic equipment and the acquired data can be comprehensively calculated, so that more accurate environment information is obtained. For example, the collected brightness information and the brightness information displayed by the screen can be calculated to determine the influence of the screens with different brightness on the collected different brightness, so that the accurate brightness information of the environment can be obtained. Or according to the collected color temperature information, combining the influence of different color temperatures of the screen display on the collected color temperature, and determining the color temperature information of a more accurate environment.
In the embodiment of the application, the color temperature information and the brightness information of the environment can be acquired through triggering the paper-like display instruction. For example, when receiving an instruction to enter a low-class display mode or receiving an instruction to open an electronic textbook, the method can trigger to acquire color temperature information and brightness information of the environment.
In a possible implementation, it may also be determined whether to trigger acquisition of color temperature information and brightness information in the environment by the motion state of the electronic device for displaying the paper-like page.
For example, the motion state may include a distance of movement of the electronic device. When the moving distance is larger than a preset distance threshold, the acquisition of color temperature information and brightness information in the environment can be triggered.
The motion state may include a rotation angle of the electronic device. For example, when a user holds the electronic device, by rotating the electronic device, brightness information and color temperature information at the screen of the electronic device may be affected. Therefore, when the electronic equipment is detected to be in a rotating motion state, whether to trigger to acquire the brightness information and the color temperature information of the environment can be determined according to the preset angle threshold value. For example, when the rotation angle of the electronic device is greater than a predetermined angle threshold, the acquisition of the brightness information and the color temperature information of the environment is triggered.
In the embodiment of the application, as the light source in the environment can influence the brightness information and the color temperature information of the screen area of the electronic equipment, the azimuth relation between the electronic equipment and the light source in the environment can be predetermined, and the angle threshold value is determined based on the azimuth relation.
For example, the change of the angle relation between the light source and the electronic device can be counted in advance to obtain the change relation of the environmental information of the screen area of the electronic device, and the angle threshold corresponding to different angles is determined according to the change relation of the environmental information. For example, when the light source is positioned on the square of the screen of the electronic device, the change of the angle at this time has less influence on the environmental information of the screen, and the angle threshold at this time may be larger. When the light source and the screen are in the same plane, the angle change has a larger influence on the environment information of the screen, and the angle threshold value is smaller.
Since the point light source has a large influence on the environmental information of the screen area of the electronic device, when determining the angle threshold value, it can also be determined whether the scene where the electronic device is located is a scene of a single point light source or not. For example, when a user uses the electronic device, scenes such as a desk lamp and a fluorescent lamp exist around the electronic device. When the current environment of the electronic equipment is determined to be the scene of a single point light source, a dynamic angle threshold is determined according to the azimuth information of the electronic equipment and the point light source, so that more accurate data acquisition is realized.
In S102, according to the color temperature information of the current environment, in combination with a preset corresponding relationship between the color temperature information and the color, determining a target color of the blank area in the page to be displayed.
After the color temperature information of the current environment is determined, the color of the blank area in the page to be displayed in the electronic device can be determined based on the color temperature information of the current environment, so that the color of the blank area of the electronic textbook displayed by the electronic device is closer to that of the blank area of the real paper.
In order to make the color of the displayed blank area coincide with the color of the real paper, the real paper needs to be counted under the test environment, and the corresponding relation between the real paper and the displayed color under the scenes of different color temperature information is needed.
In order to enable the measured data to be accurate and reliable, testing can be conducted in a standard lamp box, electronic equipment and real paper (such as a real textbook) are placed in the standard lamp box, and the content of the paper is displayed in the electronic equipment in a paper-like mode, namely, the content displayed by the electronic equipment is consistent with the paper.
The different color temperatures can be adjusted by standard light boxes. At a certain color temperature, the color of the electronic device and the blank area of the paper may be collected by a color sensor (e.g. may be an image sensor). And judging whether the colors displayed by the two are consistent. If the color of the blank area of the electronic textbook displayed by the electronic device is inconsistent, the color of the blank area of the electronic textbook displayed by the electronic device can be adjusted until the color of the blank area of the electronic textbook displayed by the electronic device is completely consistent with the color of the area corresponding to the paper, and at the moment, the color of the blank area displayed by the electronic device under the color temperature can be recorded, namely, the corresponding relation between the color temperature and the color is recorded. And obtaining the colors corresponding to different color temperatures through recording by adjusting the color temperature of the standard lamp box. The color may be RGB values. For example, in the color temperature-color correspondence chart shown in fig. 4, at different color temperatures, the corresponding colors include R, B, and G values. Of course, the correspondence relationship of the color temperature and the color is not necessarily limited to the color represented by RGB, and may be determined by other color representation means.
According to the established corresponding relation between the color temperature and the color, when the color temperature in the environment is acquired, the corresponding target color can be found based on the color temperature in the environment, and the display color of the blank area in the electronic textbook in the electronic equipment can be used as the display color of the blank area in the electronic equipment based on the found target color.
In S103, a target saturation of an image area in the page to be displayed is determined according to the brightness information of the current environment.
When determining the target saturation displayed by the electronic textbook, determining the saturation adjustment quantity of the image area in the electronic textbook according to the corresponding relation between the brightness change information of the predetermined environment and the saturation adjustment quantity, and performing saturation adjustment on the image area of the electronic textbook based on the determined saturation adjustment quantity.
When the corresponding relation between the saturation adjustment amount and the brightness change information of the environment is determined, the electronic equipment and the paper can be placed in a test environment, such as a standard lamp box, and the corresponding relation between different brightness changes and the saturation adjustment amount is determined by changing the brightness of the standard lamp box. In a possible implementation, a standard luminance and a standard saturation may be set. At standard brightness, the electronic device displays images in the electronic textbook with standard saturation. When the brightness in the environment changes, the adjustment quantity of the saturation relative to the standard saturation can be determined based on the change information of the standard brightness and the environment brightness, so that the saturation of the image can be dynamically adjusted according to the brightness information of the environment, and the fidelity of the electronic textbook is improved.
In S104, according to the brightness information of the current environment, in combination with the preset correspondence between the brightness information and the backlight value, the target backlight value for displaying the page to be displayed is determined.
After determining the color of the blank area of the electronic textbook displayed by the electronic device, the brightness difference may exist between the blank area and the display of the real textbook, so that the display of the electronic textbook can be adjusted by the backlight value of the electronic device, and the display of the electronic textbook is higher in reality and naturalness.
When the backlight value of the electronic textbook displayed by the electronic equipment is determined, the corresponding relation between the backlight value and the brightness information of the environment can be determined through testing the environment, and the backlight value of the electronic textbook during display is determined based on the corresponding relation, so that the display effect of the electronic textbook is improved.
When the display brightness information of the electronic textbook of the electronic device is determined, a test environment can be set, for example, the real textbook and the electronic device can be arranged in a standard lamp box, and corresponding pages of the real textbook are displayed in the electronic device. And detecting brightness values detected by blank areas of the real textbooks under different environment brightness set by the standard lamp box. And adjusting the backlight value of the electronic equipment based on the detected brightness value, so that the brightness of the blank area of the electronic textbook is consistent with the brightness value of the corresponding area of the real textbook, and recording the brightness information of the environment and the backlight value of the electronic equipment at the moment. And obtaining the corresponding relation between the brightness information of the environment and the backlight value by changing the brightness information of the environment. Fig. 5 is a schematic diagram showing a correspondence relationship between brightness information of an environment and a backlight value obtained by statistics. According to the corresponding relation, when the brightness information of the environment where the electronic equipment is located is detected, the corresponding backlight value can be found, and the electronic equipment adjusts the brightness of the electronic textbook through the backlight value, so that the page displayed by the electronic textbook is more similar to the page of the real textbook.
By adjusting the color, saturation and brightness of the electronic textbook displayed by the electronic device, the display effect of the electronic textbook shown in fig. 6 can be obtained. The comparison analysis can find that the reality and naturalness of the display are greatly improved through the electronic textbook with the adjusted parameters, and the comfort of reading by a user through the electronic textbook is improved.
It can be understood that by monitoring the motion state of the electronic device, when new brightness information and color temperature information are acquired by triggering, the color, saturation and backlight value of the electronic textbook displayed by the electronic device can be adjusted in sequence according to the newly acquired brightness information and color temperature information.
The corresponding display effect will change due to the different viewing angles of the electronic device. In order to further improve the display effect, in a possible implementation manner, the application can also detect the azimuth relation between the view angle of the user and the electronic equipment. When the visual angle of the user is determined, the picture comprising the user can be acquired through the electronic equipment, and the picture of the user is analyzed according to the azimuth relation between the user and the electronic equipment.
And based on the azimuth relation, further dynamically updating the target color of the blank area in the page to be displayed, the target saturation of the image area in the page to be displayed and the target backlight value.
For example, when the line of sight of the user is perpendicular to the screen or is in the first viewing angle range determined by the perpendicular angle, the electronic textbook may be displayed according to the display parameters determined by the color temperature information and the brightness information of the environment at the preferred viewing angle of the user. When the viewing angle of the user is further inclined, the screen light received by the user may be changed. The screen display parameters can be dynamically updated according to the attenuation relation between the screen display information and the viewing angle.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 7 is a schematic diagram of a paper-like display device for a page according to an embodiment of the present application, as shown in fig. 7, where the device includes:
a page information determining unit 701, configured to determine a blank area and an image area in a page to be displayed, and obtain color temperature information and brightness information of a current environment;
a target color determining unit 702, configured to determine, according to the color temperature information of the current environment, a target color of a blank area in the page to be displayed in combination with a preset corresponding relationship between the color temperature information and the color;
a target saturation determining unit 703, configured to determine, according to brightness information of a current environment, a target saturation of an image area in the page to be displayed;
and a target backlight value determining unit 704, configured to determine a target backlight value for displaying the page to be displayed according to the brightness information of the current environment and in combination with a preset correspondence between the brightness information and the backlight value.
The paper-like display device of the page shown in fig. 7 corresponds to the paper-like display method of the page shown in fig. 1.
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic device 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82, such as a paper-like display program of pages, stored in said memory 81 and executable on said processor 80. The processor 80, when executing the computer program 82, implements the steps of the paper-like display method embodiment for each page described above. Alternatively, the processor 80, when executing the computer program 82, performs the functions of the modules/units of the apparatus embodiments described above.
By way of example, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used to describe the execution of the computer program 82 in the electronic device 8.
The electronic device may include, but is not limited to, a processor 80, a memory 81. It will be appreciated by those skilled in the art that fig. 8 is merely an example of an electronic device 8 and is not meant to be limiting as to the electronic device 8, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The processor 80 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the electronic device 8, such as a hard disk or a memory of the electronic device 8. The memory 81 may also be an external storage device of the electronic device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the electronic device 8. The memory 81 is used for storing the computer program and other programs and data required by the electronic device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on this understanding, the present application may also be implemented by implementing all or part of the procedures in the methods of the above embodiments, and the computer program may be stored in a computer readable storage medium, where the computer program when executed by a processor may implement the steps of the respective method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium may include content that is subject to appropriate increases and decreases as required by jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is not included as electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (10)
1. A paper-like display method for a page, the method comprising:
determining blank areas and image areas in a page to be displayed, and acquiring color temperature information and brightness information of a current environment;
determining a target color of a blank area in the page to be displayed according to the color temperature information of the current environment and combining a preset corresponding relation between the color temperature information and the color;
determining target saturation of an image area in the page to be displayed according to brightness information of the current environment;
and according to the brightness information of the current environment, determining a target backlight value for displaying the page to be displayed by combining the preset corresponding relation between the brightness information and the backlight value.
2. The method of claim 1, wherein prior to determining the target color for displaying the blank area in the page to be displayed, the method further comprises:
setting color temperature information in a test environment, wherein paper and electronic equipment for testing are arranged in the test environment, and the electronic equipment displays an electronic page corresponding to the paper;
collecting the color of a blank area of paper in the test environment and the color of a corresponding blank area in the electronic equipment under the set color temperature information;
when the color of the blank area in the electronic equipment is consistent with the color of the corresponding area of the paper, establishing the corresponding relation between the color temperature information and the color of the blank area of the page of the electronic equipment.
3. The method of claim 1, wherein prior to determining the target backlight value for displaying the page to be displayed, the method further comprises:
setting brightness information in a test environment, wherein paper and electronic equipment for testing are arranged in the test environment, and the electronic equipment displays an electronic page corresponding to the paper;
collecting brightness values of blank areas of paper in the test environment under the set brightness information;
and determining the corresponding relation between the backlight value and the ambient brightness according to the corresponding relation between the brightness value of the blank area and the backlight value of the electronic equipment.
4. The method of claim 1, wherein obtaining color temperature information and brightness information of the current environment comprises:
when a paper-like display instruction is received, acquiring color temperature information and brightness information of the current environment;
or when the motion amplitude of the electronic equipment is detected to be larger than a preset amplitude threshold value, acquiring color temperature information and brightness information of the current environment.
5. The method of claim 4, wherein detecting that the magnitude of motion of the electronic device is greater than a preset magnitude threshold comprises:
detecting that the moving distance of the electronic equipment is larger than a preset distance threshold value;
or detecting that the rotation angle of the electronic device is larger than a preset angle threshold.
6. The method of claim 5, wherein prior to detecting that the rotational angle of the electronic device is greater than a preset angle threshold, the method further comprises:
acquiring the azimuth relation between a light source and electronic equipment in the current environment;
and determining the angle threshold according to the azimuth relation between the light source and the electronic equipment in the current environment.
7. The method of claim 1, wherein after determining a target backlight value for displaying the page to be displayed, the method further comprises:
acquiring the azimuth relation between the visual angle of the user and the electronic equipment;
and updating the target color of the blank area in the page to be displayed, the target saturation of the image area in the page to be displayed and the target backlight value according to the azimuth relation.
8. A paper-like display device for a page, the device comprising:
the page information determining unit is used for determining blank areas and image areas in the page to be displayed and acquiring color temperature information and brightness information of the current environment;
the target color determining unit is used for determining target colors of blank areas in the page to be displayed according to the color temperature information of the current environment and combining preset corresponding relations between the color temperature information and the colors;
the target saturation determining unit is used for determining target saturation of an image area in the page to be displayed according to brightness information of the current environment;
and the target backlight value determining unit is used for determining the target backlight value for displaying the page to be displayed according to the brightness information of the current environment and combining the preset corresponding relation between the brightness information and the backlight value.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210415975.5A CN116959380A (en) | 2022-04-20 | 2022-04-20 | Page class paper display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210415975.5A CN116959380A (en) | 2022-04-20 | 2022-04-20 | Page class paper display method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116959380A true CN116959380A (en) | 2023-10-27 |
Family
ID=88447920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210415975.5A Pending CN116959380A (en) | 2022-04-20 | 2022-04-20 | Page class paper display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116959380A (en) |
-
2022
- 2022-04-20 CN CN202210415975.5A patent/CN116959380A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20190266966A1 (en) | Gray scale adjustment method and device for display panel | |
US8238640B2 (en) | Display testing apparatus and method | |
CN107886920B (en) | Method and system for obtaining correct Mura compensation data | |
CN107346653B (en) | GAMMA curve adjusting method and device based on deep learning | |
CN114203087B (en) | Configuration of compensation lookup table, compensation method, device, equipment and storage medium | |
CN104240674A (en) | Method for adjusting display unit and electronic equipment | |
CN113391779B (en) | Parameter adjusting method, device and equipment for paper-like screen | |
CN107065252A (en) | A kind of flicker debugging method and device of liquid crystal display panel | |
CN110211518A (en) | Circuit device and electronic equipment | |
CN109598299A (en) | A kind of image similarity determines method, apparatus and electronic equipment | |
CN103067743A (en) | Quick adjustment system and method for liquid crystal display television | |
US20230214989A1 (en) | Defect detection method, electronic device and readable storage medium | |
CN110164341A (en) | Circuit device, electronic equipment and error-detecting method | |
CN112419214A (en) | Method and device for generating labeled image, readable storage medium and terminal equipment | |
CN105825819B (en) | The brightness adjusting method of display module and display module | |
CN106226033A (en) | Method and device for detecting transmittance of transparent substrate | |
CN113989394A (en) | Image processing method and system for color temperature of automatic driving simulation environment | |
CN109600604B (en) | Contrast testing method, device and computer readable storage medium | |
CN116959380A (en) | Page class paper display method and device, electronic equipment and storage medium | |
CN116863138A (en) | Verification system and method for material identification result of color sorter | |
CN116413009A (en) | Method and equipment for testing electronic rearview mirror | |
CN108781280B (en) | Test method, test device and terminal | |
CN111784607B (en) | Image tone mapping method, device, terminal equipment and storage medium | |
CN115705807A (en) | Method, device, equipment and medium for testing low-gray display effect of display screen | |
CN110992883A (en) | Display compensation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |