WO2021213222A1 - Method and apparatus for processing reading content, computer device and storage medium - Google Patents

Method and apparatus for processing reading content, computer device and storage medium Download PDF

Info

Publication number
WO2021213222A1
WO2021213222A1 PCT/CN2021/087071 CN2021087071W WO2021213222A1 WO 2021213222 A1 WO2021213222 A1 WO 2021213222A1 CN 2021087071 W CN2021087071 W CN 2021087071W WO 2021213222 A1 WO2021213222 A1 WO 2021213222A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel data
color
reading mode
layer
matrix
Prior art date
Application number
PCT/CN2021/087071
Other languages
French (fr)
Chinese (zh)
Inventor
李超
Original Assignee
深圳市万普拉斯科技有限公司
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 深圳市万普拉斯科技有限公司 filed Critical 深圳市万普拉斯科技有限公司
Publication of WO2021213222A1 publication Critical patent/WO2021213222A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a reading content processing method, device, computer equipment, and storage medium.
  • the user terminal obtains the reading content (such as application layer), it mainly performs grayscale conversion on the reading content, and uses 256 gray levels to express the reading content, so that each pixel in the reading content has a 0 (black ) To 255 (white) grayscale value, and then the reading content can be changed to grayscale color mode, thereby reducing the damage to the eyeball.
  • the reading content such as application layer
  • the current reading content processing method uniformly converts the reading content into grayscale, which will cause only grayscale content to be displayed, resulting in a single reading and display effect, which has limitations.
  • the embodiment of the present disclosure provides a reading content processing method, the method includes:
  • the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
  • the content in the application layer is displayed.
  • the embodiment of the present disclosure also provides a reading content processing device, the device includes:
  • a receiving module configured to receive a reading mode selection instruction and determine a reading mode corresponding to the reading mode selection instruction
  • a determining module configured to determine the color matrix corresponding to the reading mode
  • the obtaining module is configured to obtain first pixel data of an application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
  • a generating module configured to generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than that in the first pixel data The color temperature and saturation;
  • the display module is configured to display the content in the application layer according to the second pixel data.
  • the embodiment of the present disclosure also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor executes the computer program to realize the reading of the embodiment of the present invention.
  • the steps of the content processing method are described in detail below.
  • the embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the reading content processing method in the embodiment of the present invention are realized.
  • the reading content processing method, device, computer equipment and storage medium of the embodiments of the present disclosure trigger the generated reading mode selection instruction according to the user's selection of the reading mode, and obtain the first pixel synthesized from the initial pixel data of more than one application layer data. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data .
  • the reading content in the displayed application layer is less irritating to human visual nerves , which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
  • FIG. 1 is an application scenario diagram of a reading content processing method in an embodiment of the disclosure
  • FIG. 2 is a schematic flowchart of a reading content processing method in an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of a process for synthesizing and displaying first pixel data in an embodiment of the disclosure
  • FIG. 4 is a schematic diagram of another process for synthesizing and displaying first pixel data in an embodiment of the disclosure
  • Fig. 5 is a structural block diagram of a reading content processing device in an embodiment of the disclosure.
  • Fig. 6 is an internal structure diagram of a computer device in an embodiment of the disclosure.
  • the reading content processing method provided by the embodiment of the present disclosure can be applied to the application environment as shown in FIG. 1.
  • the application environment includes a user terminal 102 and a server 104.
  • the user terminal 102 and the server 104 communicate through the network.
  • the user terminal 102 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, and a notebook computer.
  • the server 104 may be implemented as an independent server or a server cluster composed of multiple servers.
  • the user terminal 102 receives the reading mode selection instruction, and determines the reading mode corresponding to the reading mode selection instruction.
  • the user terminal 102 determines the color matrix corresponding to the reading mode.
  • the user terminal 102 obtains the first pixel data of the application layer from the server 104; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer.
  • the user terminal 102 generates second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data.
  • the user terminal 102 displays the content in the application layer obtained from the server 104 according to the second pixel data.
  • an embodiment of the present disclosure provides a method for processing reading content. Taking the method applied to the user terminal 102 in FIG. 1 as an example for description, the method includes the following steps:
  • S202 Receive a reading mode selection instruction, and determine a reading mode corresponding to the reading mode selection instruction.
  • the reading mode selection instruction is an instruction that is triggered by the user when using the user terminal, and is used to determine the reading mode of the user terminal.
  • the reading mode may include, for example, at least one of reading modes such as a color reading mode, a black-and-white reading mode, a night mode, and an eye protection mode.
  • a reading display interface can be set on the user terminal, and a control for selecting a reading mode can be set on the reading display interface.
  • the user can trigger an operation on the control of the reading display interface of the user terminal to make the user terminal generate a reading mode Select the instruction.
  • the user terminal detects a trigger operation acting on the control, the user terminal can generate a reading mode selection instruction and can receive the reading mode selection instruction. Since the user terminal has previously associated each reading mode selection instruction with the corresponding reading mode, and generated the associated information to be stored locally, when receiving the reading mode selection instruction generated by the user trigger, the user terminal can directly determine the reading mode Select the reading mode corresponding to the instruction.
  • the trigger operation may specifically be any one of a single-click operation, a double-click operation, a long-press operation, and a voice operation, or a combination of multiple operations.
  • the color reading mode can reduce the color temperature and color saturation while preserving the hue.
  • the user terminal can display the reading content in low-color temperature and low-saturation colors, which can be adapted to magazines, periodicals or shopping websites, which avoids stabs caused by excessively bright colors on the screen
  • the optic nerve can also retain color information to provide users with a more comfortable reading experience.
  • the black-and-white reading mode can reduce the color temperature and color saturation.
  • the user terminal can achieve a warm-toned black-and-white reading mode similar to that of old newspapers, making the screen close to the effect of paper prints. This mode will better protect the eyes.
  • the color matrix is a matrix corresponding to each pixel, and is used to control the color of the pixel.
  • the color matrix may specifically be a priori data, that is, obtained by R&D personnel through multiple experiments.
  • each reading mode of the user terminal can be controlled by a corresponding color matrix. It can be understood that each color matrix can correspondingly control a reading mode. After determining the reading mode selected by the user, the user terminal may determine the color matrix corresponding to the reading mode, so that the user terminal can display the corresponding reading content through the reading mode selected by the user.
  • each pixel can include four components of RGBA, where R (Red), G (Green, green) and B (Blue, blue) represent the three primary colors of color, and the three primary colors of color are industrial
  • RGBA Red
  • G Green, green
  • B Blue, blue
  • S206 Acquire first pixel data of an application layer; the first pixel data is obtained by synthesizing initial pixel data of more than one application layer.
  • the reading content displayed on the display interface of the user terminal may be implemented through more than one application layer.
  • the user terminal may specifically be a mobile phone, and the content displayed on the desktop of the mobile phone may be implemented through a background layer, an icon layer, and a menu button layer.
  • Each application layer corresponds to initial pixel data, and the first pixel data of the application layer is the pixel data synthesized from the initial pixel data of multiple application layers.
  • the user terminal may directly obtain (for example, obtain directly from a cache) the first pixel data that has been synthesized.
  • the user terminal may also obtain the initial pixel data of more than one application layer, and perform a synthesis process on the initial pixel data of more than one application layer to obtain the first pixel data.
  • the user terminal can obtain three application layers, and use the hardware composer (HWC) or the open graphics library (Open Graphics Library, OpenGL) to analyze the three application layers.
  • the pixel data of is synthesized into a block of pixel data, and the synthesized block of pixel data is sent to the frame buffer for display.
  • the frame buffer is the buffer area before the reading content is displayed.
  • the frame buffer may include a two-dimensional array of a large number of pixels. Each storage unit corresponds to a pixel on the screen, and the entire frame buffer corresponds to a frame of image, that is, the current screen image.
  • the frame buffer may generally include at least one of a color buffer, a depth buffer, a stencil buffer, and an accumulation buffer. Depending on the hardware, these buffers can be in a memory area, or they can be separate.
  • S208 Generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data.
  • the color temperature of the light source when a standard black body (such as platinum) is heated and the temperature rises to a certain level, the color will gradually change from black to red, yellow, and white, and finally emit blue light, gradually changing, using this light color change
  • the light color of the light source is the same as the light color of the black body, the current temperature of the black body is called the color temperature of the light source.
  • Saturation refers to the vividness of the color, also known as the purity of the color. Saturation depends on the ratio of the color component and the decolorizing component (gray) in the color. The greater the color component, the greater the saturation; the greater the achromatic component, the lower the saturation. Pure colors are highly saturated, such as bright red and bright green. Colors mixed with white, gray or other hues are unsaturated colors, such as purple, pink, yellowish brown, etc.
  • the user terminal determines the corresponding color matrix, and can directly generate the second pixel data according to the color matrix and the first pixel data.
  • the first pixel data and the second pixel data both include color temperature and saturation
  • the color temperature and saturation in the first pixel data are compared with the color temperature and saturation of the second pixel data
  • the second pixel data At least one of the color temperature and saturation is lower than the color temperature and saturation in the first pixel data.
  • the color temperature in the first pixel data is lower than the color temperature in the second pixel data, and the saturation in the first pixel data is lower than the saturation in the second pixel data; or it may also be the first pixel data
  • the color temperature in is lower than the color temperature in the second pixel data, or the saturation in the first pixel data is lower than the saturation in the second pixel data.
  • the process of generating the second pixel data by the user terminal according to the color matrix and the first pixel data reduces the color temperature and saturation of the reading content, so that the color of the reading content is not too bright and irritates the user's eyeballs, thereby protecting the user s eyes.
  • the user terminal may send the generated second pixel to the local frame buffer, and display the content in the application layer correspondingly according to the reading mode selected by the user through the frame buffer.
  • the content in the application layer can be text or pictures.
  • the first pixel data synthesized from the initial pixel data of more than one application layer is acquired according to the reading mode selection instruction generated when the user selects the reading mode. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data .
  • the reading content in the displayed application layer is less irritating to human visual nerves , which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
  • step S206 that is, the step of obtaining the first pixel data of the application layer, may include: determining the layer attribute corresponding to each of more than one application layer; the layer attribute includes layer transparency Information, layer level information and layer position information; according to the layer transparency information, layer level information and layer position information in the application layer, the initial pixel data of more than one application layer is synthesized to obtain The corresponding first pixel data.
  • the layer attribute is the data information describing the layer.
  • each application layer has its own layer attribute.
  • the layer attribute may include layer transparency information, layer layer information, and map information. Layer location information, etc.
  • the user terminal can obtain more than one application layer corresponding to the reading content, and determine the layer attribute corresponding to each of the more than one application layer. Furthermore, the user terminal can synthesize the initial pixel data of more than one application layer according to the layer transparency information, layer layer information and layer position information in the application layer to obtain the corresponding first pixel data.
  • the synthesis efficiency of the application layer is improved.
  • step S208 that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: determining the color component of each pixel in the first pixel data; The color components of are respectively multiplied by the color matrix to obtain the second pixel data; the color matrix is obtained by multiplying the preset saturation matrix and the preset color temperature matrix.
  • the first pixel data includes a large number of pixels, and each pixel may include a color component.
  • the user terminal may determine the color component of each pixel in the first pixel data, and multiply the color component of each pixel by the color matrix to generate the second pixel data.
  • the color matrix can be obtained by multiplying the preset saturation matrix and the preset color temperature matrix.
  • the preset saturation matrix and the preset color temperature matrix can be obtained through many experiments by the developers.
  • the saturation matrix and the preset color temperature matrix can reduce the color temperature and saturation in the reading content while presenting the best display state. Users provide a better reading experience.
  • the user terminal may obtain the initial pixel data of the three application layers, and synthesize the initial pixel data of the three application layers through HWC or OpenGL to obtain the first pixel data. Furthermore, in the frame buffer area, the color components of each pixel in the first pixel data are respectively multiplied by the preset color temperature matrix and the preset saturation matrix to obtain the second pixel data, and the second pixel data is passed through the screen To display.
  • the R&D personnel can obtain the color preset color temperature matrix and the color preset saturation matrix corresponding to the color reading mode, and the black and white preset color temperature matrix and the black and white preset corresponding to the black and white reading mode through multiple experiments.
  • the saturation matrix and further, multiply the color preset color temperature matrix and the color preset saturation matrix to obtain the color color matrix corresponding to the color reading mode, and multiply the black and white preset color temperature matrix and the black and white preset saturation matrix to obtain The black and white color matrix corresponding to the black and white reading mode.
  • the color matrix and the black and white color matrix can be expressed as the following forms:
  • the above-mentioned color matrix and black-and-white color matrix are both 4*4 matrices.
  • the first three rows and the first three columns of the two matrices respectively represent the RGB color components, and the fourth row and fourth column represent the transparency components, and the transparency is 0f It means completely transparent, which can be understood as hidden.
  • this embodiment does not limit the color color matrix and the black and white color matrix.
  • step S208 that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: when the reading mode is a color reading mode, according to the color corresponding to the color reading mode The color matrix and the first pixel data generate second pixel data; the hue of the second pixel data compared to the first pixel data remains unchanged.
  • the user terminal is set with a color reading mode, and the color reading mode corresponds to a color color matrix.
  • the user terminal can generate the second pixel data according to the color color matrix and the first pixel data corresponding to the color reading mode.
  • the user terminal can control the reading mode through the color color matrix to adjust the reading mode to the corresponding color reading mode, and display the reading content in color.
  • the first pixel data has its own color temperature, saturation and hue.
  • the second pixel data generated by the color color matrix and the first pixel data only reduces the color temperature and saturation, but does not change the hue, that is, retains the color information.
  • the color color matrix corresponding to the color reading mode is determined, and the second pixel matrix is generated according to the first pixel data and the black and white color matrix, so that the reading content reduces the color temperature and saturation while maintaining the hue constant. In this way, users can not only see the rich colors in the reading content, but also protect their eyes.
  • step S208 that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: when the reading mode is a black-and-white reading mode, according to the black-and-white reading mode corresponding to the black-and-white reading mode.
  • the color matrix and the first pixel data generate second pixel data; the second pixel data is used to display the content in the application layer in black and white.
  • the user terminal is set with a black and white reading mode, and the black and white reading mode corresponds to a black and white color matrix.
  • the user terminal can generate the second pixel data according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data. It can be understood that the user terminal can control the reading mode through the black and white color matrix to adjust the reading mode to the corresponding black and white reading mode, and display the reading content in black and white tones.
  • the color temperature and saturation of the reading content are reduced. In this way, when the reading content is text, the user can protect his eyes more efficiently through the black-and-white reading mode.
  • step S210 that is, the step of displaying the content in the application layer according to the second pixel data, may include: sending the second pixel data to the frame buffer, and using the sent second pixel data Instructs the frame buffer to perform rendering processing on the corresponding second pixel data to obtain the rendering result; the rendering result is exchanged on the screen through the swap chain to display the content in the application layer.
  • the swap chain is a series of virtual frame buffers, which are used to display a collection of frame buffers to users.
  • the swap chain can exist in the graphics memory or in the system memory. Using the swap chain can make rendering smoother.
  • the user terminal includes a frame buffer, and after acquiring the second pixel data, the user terminal may send the second pixel data to the local frame buffer. After the frame buffer receives the second pixel, the second pixel data may be rendered through a rendering function to obtain a rendering result. Furthermore, the frame buffer can exchange the rendering result to the screen through the swap chain to display the content in the application layer, and the user can read the reading content through the screen of the user terminal.
  • the second pixel is rendered in the frame buffer, and then the rendering result is exchanged on the screen for display, which improves the display efficiency.
  • an embodiment of the present disclosure further provides a reading content processing apparatus 500, including: a receiving module 501, a determining module 502, an acquiring module 503, a generating module 504, and a display module 505, wherein:
  • the receiving module 501 is configured to receive a reading mode selection instruction and determine a reading mode corresponding to the reading mode selection instruction.
  • the determining module 502 is configured to determine the color matrix corresponding to the reading mode.
  • the obtaining module 503 is configured to obtain the first pixel data of the application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer.
  • the generating module 504 is configured to generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data.
  • the display module 505 is configured to display the content in the application layer according to the second pixel data.
  • the obtaining module 503 is configured to determine the corresponding layer attributes of more than one application layer; the layer attributes include layer transparency information, layer layer information, and layer position information; The layer transparency information, layer level information, and layer position information of the layer are synthesized, and the initial pixel data of more than one application layer is synthesized to obtain the corresponding first pixel data.
  • the generating module 504 is configured to determine the color component of each pixel in the first pixel data; the color components of each pixel are respectively multiplied by the color matrix to obtain the second pixel data; the color matrix is saturated by preset The degree matrix is multiplied by the preset color temperature matrix.
  • the generating module 504 is configured to generate the second pixel data according to the color color matrix and the first pixel data corresponding to the color reading mode when the reading mode is the color reading mode; the second pixel data is compared with the first pixel data. The hue of one pixel data remains unchanged.
  • the generating module 504 is configured to generate the second pixel data according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data when the reading mode is the black and white reading mode; the second pixel data is configured to apply The content in the layer is displayed in black and white.
  • the display module 505 is configured to send the second pixel data to the frame buffer, and the sent second pixel data is used to instruct the frame buffer to render the corresponding second pixel data to obtain the rendering result;
  • the swap chain swaps the rendering results to the screen to display the content in the application layer.
  • the reading content processing device described above obtains the first pixel data synthesized from the initial pixel data of more than one application layer according to the reading mode selection instruction generated when the user selects the reading mode. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data . Since at least one of the color temperature and saturation of the generated second pixel data is lower than the color temperature and saturation in the first pixel data, the content in the displayed application layer is less irritating to human visual nerves , Which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
  • Each module in the reading content processing device described above can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • the embodiments of the present disclosure also provide a computer device.
  • the computer device may be the user terminal 102 in FIG. 1 described above, and its internal structure diagram may be as shown in FIG. 6.
  • the computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a reading content processing method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touch pad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 6 is only a block diagram of part of the structure related to the embodiments of the present disclosure, and does not constitute a limitation on the computer equipment to which the embodiments of the present disclosure are applied.
  • the specific computer The device may include more or fewer parts than shown in the figures, or combine certain parts, or have a different arrangement of parts.
  • the computer device includes a memory and a processor, and the memory stores a computer program.
  • the processor executes the steps of the method for processing reading content.
  • the steps of the reading content processing method may be the steps in the reading content processing method of each of the foregoing embodiments.
  • the embodiment of the present disclosure also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method for processing reading content.
  • the steps of the reading content processing method may be the steps in the reading content processing method of each of the foregoing embodiments.
  • any reference to memory, storage, database or other media used in the various embodiments provided in the present disclosure may include non-volatile and/or volatile memory.
  • Non-volatile memory can include read only memory (Read Only Memory, ROM), programmable ROM (Programmable Read-Only Memory, PROM), electrically programmable ROM (Erasable Programmable Read-Only Memory, EPROM), and electrically erasable Programmable ROM (Electrically Erasable Programmable Read-Only Memory, EEPROM) or flash memory.
  • Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (Static Random Access Memory, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (Synchronous Dynamic Random Access Memory, SDRAM), dual Data rate SDRAM (Double Data Rate Synchronous Access Memory, DDRSDRAM), Enhanced SDRAM (Enhanced Synchronous Dynamic Access Memory, ESDRAM), Synchronous Link (Synchlink) DRAM (SyncLink Dynamic Random Access Memory, SLDRAM), memory bus ( Rambus) Direct RAM (RDRAM), Direct Rambus Dynamic Random Access Memory (DRDRAM), and Bus Dynamic RAM (Rambus Dynamic Random Access Memory, RDRAM), etc.
  • SRAM static RAM
  • DRAM Dynamic Random Access Memory
  • SDRAM synchronous DRAM
  • SDRAM Synchronous Dynamic Random Access Memory
  • SDRAM dual Data rate SDRAM (Double Data Rate Synchronous Access Memory, DDRSDRAM)
  • Enhanced SDRAM Enhanced Synchronous Dynamic Access Memory, ESDRAM
  • the method disclosed in the foregoing embodiment of the present invention may be applied to a processor or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software.
  • the foregoing processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and so on.
  • the processor may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention.
  • the general-purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention can be directly embodied as execution and completion by a hardware decoding processor, or execution and completion by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in a memory.
  • the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the processor may be configured by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), DSP, programmable logic device (Programmable Logic Device, PLD), complex programmable logic device (Complex Programmable Logic Device, CPLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller (Micro Controller Unit, MCU), microprocessor (Microprocessor), or other electronic components Implementation, used to perform the aforementioned method.
  • ASIC Application Specific Integrated Circuit
  • DSP programmable logic device
  • PLD programmable Logic Device
  • complex programmable logic device Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • controller microcontroller
  • MCU Micro Controller Unit
  • MCU microprocessor
  • Microprocessor Microprocessor

Abstract

Disclosed in the embodiments of the present disclosure are a method and apparatus for processing reading content, a computer device, and a storage medium. The method comprises: receiving a reading mode selection instruction, and determining a reading mode corresponding to the reading mode selection instruction; determining a color matrix corresponding to the reading mode; acquiring first pixel data of an application image layer, the first pixel data being obtained by combining initial pixel data of more than one application image layer; generating second pixel data according to the color matrix and the first pixel data, at least one among the color temperature and the saturation of the second pixel data being lower than the color temperature and the saturation of the first pixel data; and displaying the content in the application image layer according to the second pixel data.

Description

阅读内容处理方法、装置、计算机设备和存储介质Reading content processing method, device, computer equipment and storage medium
相关申请的交叉引用Cross-references to related applications
本公开基于申请号为202010327460.0、申请日为2020年04月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本公开。The present disclosure is filed based on a Chinese patent application with an application number of 202010327460.0 and an application date of April 23, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into the present disclosure by way of introduction.
技术领域Technical field
本公开涉及计算机技术领域,特别涉及一种阅读内容处理方法、装置、计算机设备和存储介质。The present disclosure relates to the field of computer technology, and in particular to a reading content processing method, device, computer equipment, and storage medium.
背景技术Background technique
随着计算机技术的发展,人们对用户终端的显示效果有着越来越高的要求。由于人眼对色温较高、色调偏冷的事物比较敏感,因此,当用户终端显示的内容色温较高、色调偏冷时,对人的视觉神经刺激较大,不利于对眼球的保护。目前,用户终端在获取到阅读内容(如应用图层)之后,主要是对阅读内容进行灰度转换,使用256级灰度来表现阅读内容,使得阅读内容中的每个像素有一个0(黑色)到255(白色)之间的灰度值,进而可将阅读内容变为灰度色彩模式,从而减少对眼球的伤害。With the development of computer technology, people have higher and higher requirements for the display effect of user terminals. Human eyes are more sensitive to things with higher color temperature and colder tones. Therefore, when the color temperature of the content displayed on the user terminal is higher and the tones are colder, the visual nerve stimulation of the human is greater, which is not conducive to the protection of the eyeballs. At present, after the user terminal obtains the reading content (such as application layer), it mainly performs grayscale conversion on the reading content, and uses 256 gray levels to express the reading content, so that each pixel in the reading content has a 0 (black ) To 255 (white) grayscale value, and then the reading content can be changed to grayscale color mode, thereby reducing the damage to the eyeball.
然而,目前的阅读内容处理方法,将阅读内容统一转换为灰度,这样就会导致只能显示灰度的内容,从而造成阅读显示效果过于单一,具有局限性。However, the current reading content processing method uniformly converts the reading content into grayscale, which will cause only grayscale content to be displayed, resulting in a single reading and display effect, which has limitations.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种能够提高显示效果的阅 读内容处理方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a reading content processing method, device, computer equipment, and storage medium that can improve the display effect in response to the above technical problems.
本公开实施例提供了一种阅读内容处理方法,所述方法包括:The embodiment of the present disclosure provides a reading content processing method, the method includes:
接收阅读模式选择指令,并确定与所述阅读模式选择指令对应的阅读模式;Receiving a reading mode selection instruction, and determining a reading mode corresponding to the reading mode selection instruction;
确定所述阅读模式所对应的颜色矩阵;Determining the color matrix corresponding to the reading mode;
获取应用图层的第一像素数据;所述第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到;Acquiring first pixel data of an application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
根据所述颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据的色温和饱和度中的至少一项,低于所述第一像素数据中的色温和饱和度;Generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data ;
按照所述第二像素数据,显示所述应用图层中的内容。According to the second pixel data, the content in the application layer is displayed.
本公开实施例还提供了一种阅读内容处理装置,所述装置包括:The embodiment of the present disclosure also provides a reading content processing device, the device includes:
接收模块,配置为接收阅读模式选择指令,并确定与所述阅读模式选择指令对应的阅读模式;A receiving module configured to receive a reading mode selection instruction and determine a reading mode corresponding to the reading mode selection instruction;
确定模块,配置为确定所述阅读模式所对应的颜色矩阵;A determining module, configured to determine the color matrix corresponding to the reading mode;
获取模块,配置为获取应用图层的第一像素数据;所述第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到;The obtaining module is configured to obtain first pixel data of an application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
生成模块,配置为根据所述颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据的色温和饱和度中的至少一项,低于所述第一像素数据中的色温和饱和度;A generating module configured to generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than that in the first pixel data The color temperature and saturation;
显示模块,配置为按照所述第二像素数据,显示所述应用图层中的内容。The display module is configured to display the content in the application layer according to the second pixel data.
本公开实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本发明实施例的阅读内容处理方法的步骤。The embodiment of the present disclosure also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor. The processor executes the computer program to realize the reading of the embodiment of the present invention. The steps of the content processing method.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例的阅读内容处理方法的步骤。The embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the reading content processing method in the embodiment of the present invention are realized.
本公开实施例的阅读内容处理方法、装置、计算机设备和存储介质,根据用户选择阅读模式而触发生成的阅读模式选择指令,获取由多于一个的应用图层的初始像素数据合成的第一像素数据。由于阅读模式有多种,因此,用户所选择的阅读模式不同,可触发生成不同的阅读模式选择指令。通过判断用户所选择的阅读模式,确定所述阅读模式所对应的颜色矩阵,进而根据颜色矩阵和第一像素数据,生成第二像素数据,并根据第二像素数据,显示应用图层中的内容。由于生成的第二像素数据的色温和饱和度中的至少一项,比第一像素数据中的色温和饱和度低,因此,显示的应用图层中的内容,对人的视觉神经刺激较小,有利于对人的眼球的保护。从而在保护眼球的前提下,能够根据用户选择的阅读模式,对阅读内容进行适应性显示,相较于传统局限地进行灰度显示而言,提高了显示效果,满足了不同客户的个性化需求。The reading content processing method, device, computer equipment and storage medium of the embodiments of the present disclosure trigger the generated reading mode selection instruction according to the user's selection of the reading mode, and obtain the first pixel synthesized from the initial pixel data of more than one application layer data. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data . Since at least one of the color temperature and saturation of the generated second pixel data is lower than the color temperature and saturation in the first pixel data, the content in the displayed application layer is less irritating to human visual nerves , Which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
附图说明Description of the drawings
图1为本公开实施例中阅读内容处理方法的应用场景图;FIG. 1 is an application scenario diagram of a reading content processing method in an embodiment of the disclosure;
图2为本公开实施例中阅读内容处理方法的流程示意图;FIG. 2 is a schematic flowchart of a reading content processing method in an embodiment of the disclosure;
图3为本公开实施例中第一像素数据合成送显的一种流程示意图;FIG. 3 is a schematic diagram of a process for synthesizing and displaying first pixel data in an embodiment of the disclosure;
图4为本公开实施例中第一像素数据合成送显的另一种流程示意图;4 is a schematic diagram of another process for synthesizing and displaying first pixel data in an embodiment of the disclosure;
图5为本公开实施例中阅读内容处理装置的结构框图;Fig. 5 is a structural block diagram of a reading content processing device in an embodiment of the disclosure;
图6为本公开实施例中计算机设备的内部结构图。Fig. 6 is an internal structure diagram of a computer device in an embodiment of the disclosure.
具体实施方式Detailed ways
为了使本公开的目的、技术方案及优点更加清楚明白,以下结合附图 及实施例,对本公开进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。In order to make the objectives, technical solutions, and advantages of the present disclosure clearer, the following further describes the present disclosure in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure, but not used to limit the present disclosure.
本公开实施例提供的阅读内容处理方法,可以应用于如图1所示的应用环境中。该应用环境包括用户终端102和服务器104。用户终端102与服务器104通过网络进行通信。其中,用户终端102具体可以是台式终端或移动终端,移动终端具体可以手机、平板电脑、笔记本电脑等中的至少一种。服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图1中示出的应用环境,仅仅是与本公开实施例相关的部分场景,并不构成对本公开实施例应用环境的限定。The reading content processing method provided by the embodiment of the present disclosure can be applied to the application environment as shown in FIG. 1. The application environment includes a user terminal 102 and a server 104. The user terminal 102 and the server 104 communicate through the network. The user terminal 102 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, and a notebook computer. The server 104 may be implemented as an independent server or a server cluster composed of multiple servers. Those skilled in the art can understand that the application environment shown in FIG. 1 is only a partial scenario related to the embodiment of the present disclosure, and does not constitute a limitation on the application environment of the embodiment of the present disclosure.
用户终端102接收阅读模式选择指令,并确定与阅读模式选择指令对应的阅读模式。用户终端102确定阅读模式所对应的颜色矩阵。用户终端102从服务器104中获取应用图层的第一像素数据;第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到。用户终端102根据颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据的色温和饱和度中的至少一项,低于第一像素数据中的色温和饱和度。用户终端102按照第二像素数据,显示从服务器104中获取的应用图层中的内容。The user terminal 102 receives the reading mode selection instruction, and determines the reading mode corresponding to the reading mode selection instruction. The user terminal 102 determines the color matrix corresponding to the reading mode. The user terminal 102 obtains the first pixel data of the application layer from the server 104; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer. The user terminal 102 generates second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data. The user terminal 102 displays the content in the application layer obtained from the server 104 according to the second pixel data.
如图2所示,本公开实施例提供了一种阅读内容处理方法,以该方法应用于图1中的用户终端102为例进行说明,包括以下步骤:As shown in FIG. 2, an embodiment of the present disclosure provides a method for processing reading content. Taking the method applied to the user terminal 102 in FIG. 1 as an example for description, the method includes the following steps:
S202,接收阅读模式选择指令,并确定与阅读模式选择指令对应的阅读模式。S202: Receive a reading mode selection instruction, and determine a reading mode corresponding to the reading mode selection instruction.
在一些可选实施例中,阅读模式选择指令是用户在使用用户终端时触发生成的指令,用于确定用户终端的阅读模式。阅读模式例如可以包括彩色阅读模式、黑白阅读模式、夜间模式和护眼模式等阅读模式中的至少一种。In some optional embodiments, the reading mode selection instruction is an instruction that is triggered by the user when using the user terminal, and is used to determine the reading mode of the user terminal. The reading mode may include, for example, at least one of reading modes such as a color reading mode, a black-and-white reading mode, a night mode, and an eye protection mode.
示例性的,用户终端上可设定有阅读显示界面,阅读显示界面上设定 有选择阅读模式的控件,用户可在用户终端的阅读显示界面的控件上,通过触发操作使得用户终端生成阅读模式选择指令。当用户终端检测到作用于该控件的触发操作时,用户终端可生成阅读模式选择指令并可接收该阅读模式选择指令。由于用户终端预先已将各阅读模式选择指令与对应得阅读模式进行关联,并生成关联信息存储在本地,因此,当接收到用户触发生成的阅读模式选择指令时,用户终端可直接确定与阅读模式选择指令对应的阅读模式。其中,触发操作具体可以是单击操作、双击操作、长按操作和语音操作等中的任意一种操作或多种操作的结合。Exemplarily, a reading display interface can be set on the user terminal, and a control for selecting a reading mode can be set on the reading display interface. The user can trigger an operation on the control of the reading display interface of the user terminal to make the user terminal generate a reading mode Select the instruction. When the user terminal detects a trigger operation acting on the control, the user terminal can generate a reading mode selection instruction and can receive the reading mode selection instruction. Since the user terminal has previously associated each reading mode selection instruction with the corresponding reading mode, and generated the associated information to be stored locally, when receiving the reading mode selection instruction generated by the user trigger, the user terminal can directly determine the reading mode Select the reading mode corresponding to the instruction. Among them, the trigger operation may specifically be any one of a single-click operation, a double-click operation, a long-press operation, and a voice operation, or a combination of multiple operations.
在一个实施例中,彩色阅读模式可在降低色温和色彩饱和度的同时,保留色相。用户在选择了彩色阅读模式后,用户终端可将阅读内容显示为低色温和低饱和度的彩色,可适应阅读内容为杂志、期刊或购物网站时,既避免了过于鲜艳色彩的屏幕会刺伤视神经,也可以保留色彩信息,为用户提供一种更舒适的阅读体验。In one embodiment, the color reading mode can reduce the color temperature and color saturation while preserving the hue. After the user selects the color reading mode, the user terminal can display the reading content in low-color temperature and low-saturation colors, which can be adapted to magazines, periodicals or shopping websites, which avoids stabs caused by excessively bright colors on the screen The optic nerve can also retain color information to provide users with a more comfortable reading experience.
在一个实施例中,黑白阅读模式可降低色温和色彩饱和度,通过黑白阅读模式,用户终端可实现类似于旧报纸的暖色调黑白阅读模式,使屏幕接近于纸质印刷品的效果,在浏览文字时该模式会更好的保护眼睛。In one embodiment, the black-and-white reading mode can reduce the color temperature and color saturation. Through the black-and-white reading mode, the user terminal can achieve a warm-toned black-and-white reading mode similar to that of old newspapers, making the screen close to the effect of paper prints. This mode will better protect the eyes.
S204,确定阅读模式所对应的颜色矩阵。S204: Determine the color matrix corresponding to the reading mode.
在一些可选实施例中,颜色矩阵是每个像素点对应的矩阵,用于控制像素点的颜色。颜色矩阵具体可以是先验数据,即由研发人员通过多次试验得到的。In some optional embodiments, the color matrix is a matrix corresponding to each pixel, and is used to control the color of the pixel. The color matrix may specifically be a priori data, that is, obtained by R&D personnel through multiple experiments.
示例性的,用户终端的各阅读模式,可通过对应的颜色矩阵来控制实现,可以理解,每一个颜色矩阵,可对应控制一种阅读模式。用户终端在确定了用户所选择的阅读模式之后,可确定该阅读模式所对应的颜色矩阵,以实现用户终端通过用户选择的阅读模式,显示对应的阅读内容。Exemplarily, each reading mode of the user terminal can be controlled by a corresponding color matrix. It can be understood that each color matrix can correspondingly control a reading mode. After determining the reading mode selected by the user, the user terminal may determine the color matrix corresponding to the reading mode, so that the user terminal can display the corresponding reading content through the reading mode selected by the user.
在一个实施例中,每一个像素点都可包括RGBA四个分量,其中R (Red,红色)、G(Green,绿色)和B(Blue,蓝色)表示色彩三原色,色彩三原色是工业界的一种颜色标准,可通过对红(R)、绿(G)、蓝(B)三个颜色通道的变化以及它们相互之间的叠加来得到各式各样的颜色。这个标准几乎包括了人类视力所能感知的所有颜色,是运用最广的颜色系统之一。红(R)、绿(G)、蓝(B)它们各自的值在0至255之间。另外,A(Alpha,透明度)表示颜色的透明度,取值也在0至255之间。颜色矩阵可对每一个像素点进行控制,通过控制每一个像素点,可实现多种阅读模式。In an embodiment, each pixel can include four components of RGBA, where R (Red), G (Green, green) and B (Blue, blue) represent the three primary colors of color, and the three primary colors of color are industrial A color standard that can obtain a variety of colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them with each other. This standard includes almost all colors that human vision can perceive, and is one of the most widely used color systems. Red (R), green (G), and blue (B) have their respective values between 0 and 255. In addition, A (Alpha, transparency) represents the transparency of the color, and the value is also between 0 and 255. The color matrix can control each pixel. By controlling each pixel, multiple reading modes can be realized.
S206,获取应用图层的第一像素数据;第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到。S206: Acquire first pixel data of an application layer; the first pixel data is obtained by synthesizing initial pixel data of more than one application layer.
在一些可选实施例中,用户终端的显示界面上显示的阅读内容,可通过多于一个的应用图层实现。比如,用户终端具体可以是手机,手机的桌面上显示的内容,可通过背景图层、图标图层和菜单按钮图层等实现。每一个应用图层都对应有初始像素数据,则应用图层的第一像素数据,即为由多个应用图层的初始像素数据合成得到的像素数据。In some optional embodiments, the reading content displayed on the display interface of the user terminal may be implemented through more than one application layer. For example, the user terminal may specifically be a mobile phone, and the content displayed on the desktop of the mobile phone may be implemented through a background layer, an icon layer, and a menu button layer. Each application layer corresponds to initial pixel data, and the first pixel data of the application layer is the pixel data synthesized from the initial pixel data of multiple application layers.
在一个实施例中,用户终端可以直接获取(比如,直接从缓存中获取)已经合成得到的第一像素数据。In an embodiment, the user terminal may directly obtain (for example, obtain directly from a cache) the first pixel data that has been synthesized.
在一个实施例中,用户终端也可以获取多于一个的应用图层的初始像素数据,并将多于一个的应用图层的初始像素数据进行合成处理,得到第一像素数据。In an embodiment, the user terminal may also obtain the initial pixel data of more than one application layer, and perform a synthesis process on the initial pixel data of more than one application layer to obtain the first pixel data.
在一个实施例中,如图3所示,用户终端可获取三个应用图层,并通过硬件合成器(Hardware Composer,HWC)或开放图形库(Open Graphics Library,OpenGL)对三个应用图层的像素数据合成为一块像素数据,并将合成的一整块像素数据送到帧缓冲区进行显示。其中,帧缓冲区是阅读内容显示之前的缓冲区域,帧缓冲区可包括大量像素点的二维数组,每一个存储单元对应屏幕上的一个像素,整个帧缓冲对应一帧图像即当前屏幕画 面。帧缓冲通常可包括:颜色缓冲、深度缓冲、模板缓冲和累积缓冲中的至少一种。根据硬件不同,这些缓冲区可以是在一块内存区域中,也可以是单独分开的。In one embodiment, as shown in FIG. 3, the user terminal can obtain three application layers, and use the hardware composer (HWC) or the open graphics library (Open Graphics Library, OpenGL) to analyze the three application layers. The pixel data of is synthesized into a block of pixel data, and the synthesized block of pixel data is sent to the frame buffer for display. Among them, the frame buffer is the buffer area before the reading content is displayed. The frame buffer may include a two-dimensional array of a large number of pixels. Each storage unit corresponds to a pixel on the screen, and the entire frame buffer corresponds to a frame of image, that is, the current screen image. The frame buffer may generally include at least one of a color buffer, a depth buffer, a stencil buffer, and an accumulation buffer. Depending on the hardware, these buffers can be in a memory area, or they can be separate.
S208,根据颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据的色温和饱和度中的至少一项,低于第一像素数据中的色温和饱和度。S208: Generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data.
可以理解,将一标准黑体(例如铂)加热,温度升高至某一程度时,颜色开始逐渐由黑变红、转黄、发白,最后发出蓝色光,逐渐改变,利用这种光色变化的特性,其光源的光色与黑体的光色相同时,将黑体当时的温度称之为该光源的色温。It can be understood that when a standard black body (such as platinum) is heated and the temperature rises to a certain level, the color will gradually change from black to red, yellow, and white, and finally emit blue light, gradually changing, using this light color change When the light color of the light source is the same as the light color of the black body, the current temperature of the black body is called the color temperature of the light source.
饱和度是指色彩的鲜艳程度,也称色彩的纯度。饱和度取决于该色中含色成分和消色成分(灰色)的比例。含色成分越大,饱和度越大;消色成分越大,饱和度越小。纯的颜色都是高度饱和的,如鲜红,鲜绿。混杂上白色,灰色或其他色调的颜色,是不饱和的颜色,如绛紫,粉红,黄褐等。Saturation refers to the vividness of the color, also known as the purity of the color. Saturation depends on the ratio of the color component and the decolorizing component (gray) in the color. The greater the color component, the greater the saturation; the greater the achromatic component, the lower the saturation. Pure colors are highly saturated, such as bright red and bright green. Colors mixed with white, gray or other hues are unsaturated colors, such as purple, pink, yellowish brown, etc.
示例性的,用户终端在确定了用户选择的阅读模式之后,确定对应的颜色矩阵,并可根据该颜色矩阵和第一像素数据,直接生成第二像素数据。其中,第一像素数据中和第二像素数据中均包括色温和饱和度,将第一像素数据中的色温和饱和度分别与第二像素数据的色温和饱和度进行比对,第二像素数据的色温和饱和度中的至少一项,低于第一像素数据中的色温和饱和度。Exemplarily, after determining the reading mode selected by the user, the user terminal determines the corresponding color matrix, and can directly generate the second pixel data according to the color matrix and the first pixel data. Wherein, the first pixel data and the second pixel data both include color temperature and saturation, the color temperature and saturation in the first pixel data are compared with the color temperature and saturation of the second pixel data, and the second pixel data At least one of the color temperature and saturation is lower than the color temperature and saturation in the first pixel data.
例如可以是,第一像素数据中的色温低于第二像素数据中的色温,并且第一像素数据中的饱和度均低于第二像素数据中的饱和度;或者也可以是第一像素数据中的色温低于第二像素数据中的色温,或者,第一像素数据中的饱和度低于第二像素数据中的饱和度。For example, it may be that the color temperature in the first pixel data is lower than the color temperature in the second pixel data, and the saturation in the first pixel data is lower than the saturation in the second pixel data; or it may also be the first pixel data The color temperature in is lower than the color temperature in the second pixel data, or the saturation in the first pixel data is lower than the saturation in the second pixel data.
可以理解,用户终端根据颜色矩阵和第一像素数据,生成第二像素数 据的过程,降低了阅读内容的色温和饱和度,使得阅读内容的颜色不会过于鲜艳而刺激用户的眼球,保护了用户的眼睛。It can be understood that the process of generating the second pixel data by the user terminal according to the color matrix and the first pixel data reduces the color temperature and saturation of the reading content, so that the color of the reading content is not too bright and irritates the user's eyeballs, thereby protecting the user s eyes.
S210,按照第二像素数据,显示应用图层中的内容。S210: Display the content in the application layer according to the second pixel data.
示例性的,用户终端可将生成的第二像素发送至本地的帧缓冲区,通过帧缓冲区,根据用户所选择的阅读模式,将应用图层中的内容进行对应的显示。应用图层中的内容具体可以是文字或者图片等。Exemplarily, the user terminal may send the generated second pixel to the local frame buffer, and display the content in the application layer correspondingly according to the reading mode selected by the user through the frame buffer. The content in the application layer can be text or pictures.
上述阅读内容处理方法中,根据用户选择阅读模式而触发生成的阅读模式选择指令,获取由多于一个的应用图层的初始像素数据合成的第一像素数据。由于阅读模式有多种,因此,用户所选择的阅读模式不同,可触发生成不同的阅读模式选择指令。通过判断用户所选择的阅读模式,确定所述阅读模式所对应的颜色矩阵,进而根据颜色矩阵和第一像素数据,生成第二像素数据,并根据第二像素数据,显示应用图层中的内容。由于生成的第二像素数据的色温和饱和度中的至少一项,比第一像素数据中的色温和饱和度低,因此,显示的应用图层中的内容,对人的视觉神经刺激较小,有利于对人的眼球的保护。从而在保护眼球的前提下,能够根据用户选择的阅读模式,对阅读内容进行适应性显示,相较于传统局限地进行灰度显示而言,提高了显示效果,满足了不同客户的个性化需求。In the reading content processing method described above, the first pixel data synthesized from the initial pixel data of more than one application layer is acquired according to the reading mode selection instruction generated when the user selects the reading mode. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data . Since at least one of the color temperature and saturation of the generated second pixel data is lower than the color temperature and saturation in the first pixel data, the content in the displayed application layer is less irritating to human visual nerves , Which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
在一些可选实施例中,步骤S206,也即获取应用图层的第一像素数据的步骤,可包括:确定多于一个的应用图层各自对应的图层属性;图层属性包括图层透明度信息、图层层次信息和图层位置信息;根据应用图层中的图层透明度信息、图层层次信息和图层位置信息,对多于一个的应用图层的初始像素数据进行合成处理,得到对应的第一像素数据。In some optional embodiments, step S206, that is, the step of obtaining the first pixel data of the application layer, may include: determining the layer attribute corresponding to each of more than one application layer; the layer attribute includes layer transparency Information, layer level information and layer position information; according to the layer transparency information, layer level information and layer position information in the application layer, the initial pixel data of more than one application layer is synthesized to obtain The corresponding first pixel data.
其中,图层属性是描述图层的数据信息,在一些可选实施例中,每一个应用图层都自带有图层属性,图层属性可包括图层透明度信息、图层层次信息和图层位置信息等。用户终端可获取与阅读内容对应的多于一个的 应用图层,并确定多于一个的应用图层各自对应的图层属性。进而,用户终端可根据应用图层中的图层透明度信息、图层层次信息和图层位置信息,对多于一个的应用图层的初始像素数据进行合成处理,得到对应的第一像素数据。Among them, the layer attribute is the data information describing the layer. In some optional embodiments, each application layer has its own layer attribute. The layer attribute may include layer transparency information, layer layer information, and map information. Layer location information, etc. The user terminal can obtain more than one application layer corresponding to the reading content, and determine the layer attribute corresponding to each of the more than one application layer. Furthermore, the user terminal can synthesize the initial pixel data of more than one application layer according to the layer transparency information, layer layer information and layer position information in the application layer to obtain the corresponding first pixel data.
上述实施例中,通过确定各应用图层的图层属性,并根据各应用图层对应的图层属性,对各图层进行合成处理,提升了应用图层的合成效率。In the above embodiment, by determining the layer attribute of each application layer, and performing synthesis processing on each layer according to the layer attribute corresponding to each application layer, the synthesis efficiency of the application layer is improved.
在一些可选实施例中,步骤S208,也即根据颜色矩阵和第一像素数据,生成第二像素数据的步骤,可包括:确定第一像素数据中各像素点的颜色分量;将各像素点的颜色分量分别与颜色矩阵相乘,得到第二像素数据;颜色矩阵通过预设饱和度矩阵与预设色温矩阵相乘得到。In some optional embodiments, step S208, that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: determining the color component of each pixel in the first pixel data; The color components of are respectively multiplied by the color matrix to obtain the second pixel data; the color matrix is obtained by multiplying the preset saturation matrix and the preset color temperature matrix.
示例性的,第一像素数据中包含大量的像素点,每一个像素点可包括颜色分量。用户终端可确定第一像素数据中的每一个像素点的颜色分量,并将每一个像素点的颜色分量分别于颜色矩阵相乘,以生成第二像素数据。其中,颜色矩阵可通过预设饱和度矩阵与预设色温矩阵相乘得到。预设饱和度矩阵与预设色温矩阵可通过研发人员的多次试验得到,饱和度矩阵与预设色温矩阵可使得阅读内容中的色温和饱和度降低的同时,呈现最佳的显示状态,给用户提供更优的阅读体验。Exemplarily, the first pixel data includes a large number of pixels, and each pixel may include a color component. The user terminal may determine the color component of each pixel in the first pixel data, and multiply the color component of each pixel by the color matrix to generate the second pixel data. The color matrix can be obtained by multiplying the preset saturation matrix and the preset color temperature matrix. The preset saturation matrix and the preset color temperature matrix can be obtained through many experiments by the developers. The saturation matrix and the preset color temperature matrix can reduce the color temperature and saturation in the reading content while presenting the best display state. Users provide a better reading experience.
在一个实施例中,如图4所示,用户终端可获取三个应用图层的初始像素数据,并通过HWC或者OpenGL将三个应用图层的初始像素数据进行合成,得到第一像素数据。进而,在帧缓存区中,将第一像素数据中的各像素点的颜色分量,分别乘以预设色温矩阵和预设饱和度矩阵,得到第二像素数据,并将第二像素数据通过屏幕进行显示。In one embodiment, as shown in FIG. 4, the user terminal may obtain the initial pixel data of the three application layers, and synthesize the initial pixel data of the three application layers through HWC or OpenGL to obtain the first pixel data. Furthermore, in the frame buffer area, the color components of each pixel in the first pixel data are respectively multiplied by the preset color temperature matrix and the preset saturation matrix to obtain the second pixel data, and the second pixel data is passed through the screen To display.
在一个实施例中,研发人员可经过多次试验,得到与彩色阅读模式对应的彩色预设色温矩阵和彩色预设饱和度矩阵,以及与黑白阅读模式对应的黑白预设色温矩阵和黑白预设饱和度矩阵,进而,将彩色预设色温矩阵 和彩色预设饱和度矩阵相乘,得到与彩色阅读模式对应的彩色颜色矩阵,将黑白预设色温矩阵和黑白预设饱和度矩阵相乘,得到与黑白阅读模式对应的黑白颜色矩阵。比如,彩色颜色矩阵和黑白颜色矩阵可分别表示为如下形式:In one embodiment, the R&D personnel can obtain the color preset color temperature matrix and the color preset saturation matrix corresponding to the color reading mode, and the black and white preset color temperature matrix and the black and white preset corresponding to the black and white reading mode through multiple experiments. The saturation matrix, and further, multiply the color preset color temperature matrix and the color preset saturation matrix to obtain the color color matrix corresponding to the color reading mode, and multiply the black and white preset color temperature matrix and the black and white preset saturation matrix to obtain The black and white color matrix corresponding to the black and white reading mode. For example, the color matrix and the black and white color matrix can be expressed as the following forms:
Figure PCTCN2021087071-appb-000001
Figure PCTCN2021087071-appb-000001
Figure PCTCN2021087071-appb-000002
Figure PCTCN2021087071-appb-000002
上述彩色颜色矩阵和黑白颜色矩阵均为4*4的矩阵,其中两个矩阵中的前三行和前三列,分别表示RGB颜色分量,第四行和第四列表示透明度分量,透明度为0f表示完全透明,完全透明可以理解成隐藏。另外,此实施例对彩色颜色矩阵和黑白颜色矩阵均不做限定。The above-mentioned color matrix and black-and-white color matrix are both 4*4 matrices. The first three rows and the first three columns of the two matrices respectively represent the RGB color components, and the fourth row and fourth column represent the transparency components, and the transparency is 0f It means completely transparent, which can be understood as hidden. In addition, this embodiment does not limit the color color matrix and the black and white color matrix.
上述实施例中,通过将第一像素数据中各像素点的颜色分量与颜色矩阵相乘,降低原第一像素数据中的色温和饱和度,避免阅读内容的显示过度刺激用户的眼球,保护了用户的眼睛。In the above-mentioned embodiment, by multiplying the color component of each pixel in the first pixel data by the color matrix, the color temperature and saturation in the original first pixel data are reduced, and the display of the reading content is prevented from excessively stimulating the user's eyeballs, which protects The user's eyes.
在一些可选实施例中,步骤S208,也即根据颜色矩阵和第一像素数据,生成第二像素数据的步骤,可包括:当阅读模式为彩色阅读模式时,根据彩色阅读模式所对应的彩色颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据相较于第一像素数据的色相保持不变。In some optional embodiments, step S208, that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: when the reading mode is a color reading mode, according to the color corresponding to the color reading mode The color matrix and the first pixel data generate second pixel data; the hue of the second pixel data compared to the first pixel data remains unchanged.
示例性的,用户终端设定有彩色阅读模式,彩色阅读模式对应有彩色颜色矩阵。当监测到用户在用户终端上选择了彩色阅读模式时,用户终端可根据彩色阅读模式所对应的彩色颜色矩阵和第一像素数据,生成第二像素数据。可以理解,用户终端可通过彩色颜色矩阵控制阅读模式调整为对应的彩色阅读模式,并将阅读内容显示为彩色。其中,第一像素数据自带 有色温、饱和度和色相。然而,通过彩色颜色矩阵和第一像素数据生成的第二像素数据,只降低了色温和饱和度,并没有改变色相,即保留了颜色信息。Exemplarily, the user terminal is set with a color reading mode, and the color reading mode corresponds to a color color matrix. When it is detected that the user selects the color reading mode on the user terminal, the user terminal can generate the second pixel data according to the color color matrix and the first pixel data corresponding to the color reading mode. It can be understood that the user terminal can control the reading mode through the color color matrix to adjust the reading mode to the corresponding color reading mode, and display the reading content in color. Among them, the first pixel data has its own color temperature, saturation and hue. However, the second pixel data generated by the color color matrix and the first pixel data only reduces the color temperature and saturation, but does not change the hue, that is, retains the color information.
上述实施例中,通过确定与彩色阅读模式对应的彩色颜色矩阵,并根据第一像素数据和黑白彩色矩阵,生成第二像素矩阵,使得阅读内容在降低色温和饱和度的同时,也保持了色相不变。这样,用户即可以看到阅读内容中丰富的色彩,又能保护眼睛。In the above embodiment, the color color matrix corresponding to the color reading mode is determined, and the second pixel matrix is generated according to the first pixel data and the black and white color matrix, so that the reading content reduces the color temperature and saturation while maintaining the hue constant. In this way, users can not only see the rich colors in the reading content, but also protect their eyes.
在一些可选实施例中,步骤S208,也即根据颜色矩阵和第一像素数据,生成第二像素数据的步骤,可包括:当阅读模式为黑白阅读模式时,根据黑白阅读模式所对应的黑白颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据用于将应用图层中的内容进行黑白显示。In some optional embodiments, step S208, that is, the step of generating second pixel data according to the color matrix and the first pixel data, may include: when the reading mode is a black-and-white reading mode, according to the black-and-white reading mode corresponding to the black-and-white reading mode. The color matrix and the first pixel data generate second pixel data; the second pixel data is used to display the content in the application layer in black and white.
示例性的,用户终端设定有黑白阅读模式,黑白阅读模式对应有黑白颜色矩阵。当监测到用户在用户终端上选择了黑白阅读模式时,用户终端可根据黑白阅读模式所对应的黑白颜色矩阵和第一像素数据,生成第二像素数据。可以理解,用户终端可通过黑白颜色矩阵控制阅读模式调整为对应的黑白阅读模式,并将阅读内容显示为黑白色调。Exemplarily, the user terminal is set with a black and white reading mode, and the black and white reading mode corresponds to a black and white color matrix. When it is detected that the user selects the black and white reading mode on the user terminal, the user terminal can generate the second pixel data according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data. It can be understood that the user terminal can control the reading mode through the black and white color matrix to adjust the reading mode to the corresponding black and white reading mode, and display the reading content in black and white tones.
上述实施例中,通过确定与黑白阅读模式对应的黑白颜色矩阵,并根据第一像素数据和黑白彩色矩阵,生成第二像素矩阵,使得阅读内容降低了色温和饱和度。这样,当阅读内容为文字时,用户可通过黑白阅读模式更高效的保护眼睛。In the above embodiment, by determining the black and white color matrix corresponding to the black and white reading mode, and generating the second pixel matrix according to the first pixel data and the black and white color matrix, the color temperature and saturation of the reading content are reduced. In this way, when the reading content is text, the user can protect his eyes more efficiently through the black-and-white reading mode.
在一些可选实施例中,步骤S210,也即按照第二像素数据,显示应用图层中的内容的步骤,可包括:将第二像素数据发送至帧缓冲区,发送的第二像素数据用于指示帧缓冲区对相应的第二像素数据进行渲染处理,得到渲染结果;通过交换链将渲染结果交换至屏幕上,以显示应用图层中的内容。In some optional embodiments, step S210, that is, the step of displaying the content in the application layer according to the second pixel data, may include: sending the second pixel data to the frame buffer, and using the sent second pixel data Instructs the frame buffer to perform rendering processing on the corresponding second pixel data to obtain the rendering result; the rendering result is exchanged on the screen through the swap chain to display the content in the application layer.
其中,交换链是一系列虚拟的帧缓冲区,用于向用户显示帧缓冲区集合。交换链具体可存在于图形内存中,也可以存在于系统内存中,使用交换链可使渲染更顺畅。Among them, the swap chain is a series of virtual frame buffers, which are used to display a collection of frame buffers to users. The swap chain can exist in the graphics memory or in the system memory. Using the swap chain can make rendering smoother.
示例性的,用户终端中包括帧缓冲区,用户终端在获取到第二像素数据之后,可将第二像素数据发送至本地的帧缓冲区。帧缓冲区在接收到第二像素之后,可通过渲染函数对第二像素数据进行渲染,得到渲染结果。进而,帧缓冲区可通过交换链将渲染结果交换至屏幕上,以显示应用图层中的内容,用户可通过用户终端的屏幕对阅读内容进行阅读。Exemplarily, the user terminal includes a frame buffer, and after acquiring the second pixel data, the user terminal may send the second pixel data to the local frame buffer. After the frame buffer receives the second pixel, the second pixel data may be rendered through a rendering function to obtain a rendering result. Furthermore, the frame buffer can exchange the rendering result to the screen through the swap chain to display the content in the application layer, and the user can read the reading content through the screen of the user terminal.
上述实施例中,通过将第二像素数据发送至帧缓冲区,在帧缓冲区对第二像素进行渲染处理,进而将渲染结果交换至屏幕上进行显示,提升了显示效率。In the above embodiment, by sending the second pixel data to the frame buffer, the second pixel is rendered in the frame buffer, and then the rendering result is exchanged on the screen for display, which improves the display efficiency.
应该理解的是,虽然图2的各个步骤按照顺序依次显示,但是这些步骤并不是必然按照顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in FIG. 2 are shown in sequence, these steps are not necessarily performed in sequence. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figure 2 above may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
基于前述实施例,如图5所示,本公开实施例还提供了一种阅读内容处理装置500,包括:接收模块501、确定模块502、获取模块503、生成模块504和显示模块505,其中:Based on the foregoing embodiment, as shown in FIG. 5, an embodiment of the present disclosure further provides a reading content processing apparatus 500, including: a receiving module 501, a determining module 502, an acquiring module 503, a generating module 504, and a display module 505, wherein:
接收模块501,配置为接收阅读模式选择指令,并确定与阅读模式选择指令对应的阅读模式。The receiving module 501 is configured to receive a reading mode selection instruction and determine a reading mode corresponding to the reading mode selection instruction.
确定模块502,配置为确定阅读模式所对应的颜色矩阵。The determining module 502 is configured to determine the color matrix corresponding to the reading mode.
获取模块503,配置为获取应用图层的第一像素数据;第一像素数据, 是将多于一个的应用图层的初始像素数据进行合成得到。The obtaining module 503 is configured to obtain the first pixel data of the application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer.
生成模块504,配置为根据颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据的色温和饱和度中的至少一项,低于第一像素数据中的色温和饱和度。The generating module 504 is configured to generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data.
显示模块505,配置为按照第二像素数据,显示应用图层中的内容。The display module 505 is configured to display the content in the application layer according to the second pixel data.
在一个实施例中,获取模块503配置为确定多于一个的应用图层各自对应的图层属性;图层属性包括图层透明度信息、图层层次信息和图层位置信息;根据应用图层中的图层透明度信息、图层层次信息和图层位置信息,对多于一个的应用图层的初始像素数据进行合成处理,得到对应的第一像素数据。In one embodiment, the obtaining module 503 is configured to determine the corresponding layer attributes of more than one application layer; the layer attributes include layer transparency information, layer layer information, and layer position information; The layer transparency information, layer level information, and layer position information of the layer are synthesized, and the initial pixel data of more than one application layer is synthesized to obtain the corresponding first pixel data.
在一个实施例中,生成模块504配置为确定第一像素数据中各像素点的颜色分量;将各像素点的颜色分量分别与颜色矩阵相乘,得到第二像素数据;颜色矩阵通过预设饱和度矩阵与预设色温矩阵相乘得到。In one embodiment, the generating module 504 is configured to determine the color component of each pixel in the first pixel data; the color components of each pixel are respectively multiplied by the color matrix to obtain the second pixel data; the color matrix is saturated by preset The degree matrix is multiplied by the preset color temperature matrix.
在一个实施例中,生成模块504配置为当阅读模式为彩色阅读模式时,根据彩色阅读模式所对应的彩色颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据相较于第一像素数据的色相保持不变。In one embodiment, the generating module 504 is configured to generate the second pixel data according to the color color matrix and the first pixel data corresponding to the color reading mode when the reading mode is the color reading mode; the second pixel data is compared with the first pixel data. The hue of one pixel data remains unchanged.
在一个实施例中,生成模块504配置为当阅读模式为黑白阅读模式时,根据黑白阅读模式所对应的黑白颜色矩阵和第一像素数据,生成第二像素数据;第二像素数据配置为将应用图层中的内容进行黑白显示。In one embodiment, the generating module 504 is configured to generate the second pixel data according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data when the reading mode is the black and white reading mode; the second pixel data is configured to apply The content in the layer is displayed in black and white.
在一个实施例中,显示模块505配置为将第二像素数据发送至帧缓冲区,发送的第二像素数据用于指示帧缓冲区对相应的第二像素数据进行渲染处理,得到渲染结果;通过交换链将渲染结果交换至屏幕上,以显示应用图层中的内容。In one embodiment, the display module 505 is configured to send the second pixel data to the frame buffer, and the sent second pixel data is used to instruct the frame buffer to render the corresponding second pixel data to obtain the rendering result; The swap chain swaps the rendering results to the screen to display the content in the application layer.
上述阅读内容处理装置,根据用户选择阅读模式而触发生成的阅读模式选择指令,获取由多于一个的应用图层的初始像素数据合成的第一像素 数据。由于阅读模式有多种,因此,用户所选择的阅读模式不同,可触发生成不同的阅读模式选择指令。通过判断用户所选择的阅读模式,确定所述阅读模式所对应的颜色矩阵,进而根据颜色矩阵和第一像素数据,生成第二像素数据,并根据第二像素数据,显示应用图层中的内容。由于生成的第二像素数据的色温和饱和度中的至少一项,比第一像素数据中的色温和饱和度低,因此,显示的应用图层中的内容,对人的视觉神经刺激较小,有利于对人的眼球的保护。从而在保护眼球的前提下,能够根据用户选择的阅读模式,对阅读内容进行适应性显示,相较于传统局限地进行灰度显示而言,提高了显示效果,满足了不同客户的个性化需求。The reading content processing device described above obtains the first pixel data synthesized from the initial pixel data of more than one application layer according to the reading mode selection instruction generated when the user selects the reading mode. Since there are multiple reading modes, different reading modes selected by the user can trigger the generation of different reading mode selection instructions. Determine the color matrix corresponding to the reading mode by judging the reading mode selected by the user, and then generate second pixel data according to the color matrix and the first pixel data, and display the content in the application layer according to the second pixel data . Since at least one of the color temperature and saturation of the generated second pixel data is lower than the color temperature and saturation in the first pixel data, the content in the displayed application layer is less irritating to human visual nerves , Which is conducive to the protection of people's eyeballs. Therefore, under the premise of protecting the eyes, the reading content can be adaptively displayed according to the reading mode selected by the user. Compared with the traditional limited gray-scale display, the display effect is improved and the individual needs of different customers are met. .
关于阅读内容处理装置的具体限定可以参见上文中对于阅读内容处理方法的限定,在此不再赘述。上述阅读内容处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the reading content processing device, please refer to the above limitation on the reading content processing method, which will not be repeated here. Each module in the reading content processing device described above can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
基于前述实施例,本公开实施例还提供了一种计算机设备,该计算机设备可以是上述图1中的用户终端102,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种阅读内容处理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键 盘、触控板或鼠标等。Based on the foregoing embodiments, the embodiments of the present disclosure also provide a computer device. The computer device may be the user terminal 102 in FIG. 1 described above, and its internal structure diagram may be as shown in FIG. 6. The computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to realize a reading content processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touch pad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本公开实施例相关的部分结构的框图,并不构成对本公开实施例所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of part of the structure related to the embodiments of the present disclosure, and does not constitute a limitation on the computer equipment to which the embodiments of the present disclosure are applied. The specific computer The device may include more or fewer parts than shown in the figures, or combine certain parts, or have a different arrangement of parts.
本公开实施例提供的计算机设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述阅读内容处理方法的步骤。此处阅读内容处理方法的步骤可以是上述各个实施例的阅读内容处理方法中的步骤。The computer device provided by the embodiments of the present disclosure includes a memory and a processor, and the memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of the method for processing reading content. Here, the steps of the reading content processing method may be the steps in the reading content processing method of each of the foregoing embodiments.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时,使得处理器执行上述阅读内容处理方法的步骤。此处阅读内容处理方法的步骤可以是上述各个实施例的阅读内容处理方法中的步骤。The embodiment of the present disclosure also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method for processing reading content. Here, the steps of the reading content processing method may be the steps in the reading content processing method of each of the foregoing embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本公开所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(Read Only Memory,ROM)、可编程ROM(Programmable Read-Only Memory,PROM)、电可编程ROM(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程ROM(Electrically Erasable Programmable Read-Only Memory,EEPROM)或闪存。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(Static Random Access Memory,SRAM)、 动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(Synchronous Dynamic Random Access Memory,SDRAM)、双数据率SDRAM(Double Data Rate Synchronous Dynamic Random Access Memory,DDRSDRAM)、增强型SDRAM(Enhanced Synchronous Dynamic Random Access Memory,ESDRAM)、同步链路(Synchlink)DRAM(SyncLink Dynamic Random Access Memory,SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接总线动态RAM(Direct Rambus Dynamic Random Access Memory,DRDRAM)、以及总线动态RAM(Rambus Dynamic Random Access Memory,RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in the present disclosure may include non-volatile and/or volatile memory. Non-volatile memory can include read only memory (Read Only Memory, ROM), programmable ROM (Programmable Read-Only Memory, PROM), electrically programmable ROM (Erasable Programmable Read-Only Memory, EPROM), and electrically erasable Programmable ROM (Electrically Erasable Programmable Read-Only Memory, EEPROM) or flash memory. Volatile memory may include random access memory (Random Access Memory, RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (Static Random Access Memory, SRAM), dynamic RAM (Dynamic Random Access Memory, DRAM), synchronous DRAM (Synchronous Dynamic Random Access Memory, SDRAM), dual Data rate SDRAM (Double Data Rate Synchronous Access Memory, DDRSDRAM), Enhanced SDRAM (Enhanced Synchronous Dynamic Access Memory, ESDRAM), Synchronous Link (Synchlink) DRAM (SyncLink Dynamic Random Access Memory, SLDRAM), memory bus ( Rambus) Direct RAM (RDRAM), Direct Rambus Dynamic Random Access Memory (DRDRAM), and Bus Dynamic RAM (Rambus Dynamic Random Access Memory, RDRAM), etc.
上述本发明实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the foregoing embodiment of the present invention may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The foregoing processor may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and so on. The processor may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as execution and completion by a hardware decoding processor, or execution and completion by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in a memory. The processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,处理器可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、DSP、可编程逻辑器件(Programmable Logic Device,PLD)、复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器(Micro Controller Unit, MCU)、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the processor may be configured by one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), DSP, programmable logic device (Programmable Logic Device, PLD), complex programmable logic device (Complex Programmable Logic Device, CPLD), Field-Programmable Gate Array (FPGA), general-purpose processor, controller, microcontroller (Micro Controller Unit, MCU), microprocessor (Microprocessor), or other electronic components Implementation, used to perform the aforementioned method.
本公开所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in the several method or device embodiments provided in the present disclosure can be combined arbitrarily without conflict to obtain a new method embodiment or device embodiment.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本公开的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本公开实施例保护范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本公开实施例构思的前提下,还可以做出若干变形和改进,这些都属于本公开实施例的保护范围。因此,本公开实施例的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present disclosure, and the description is relatively specific and detailed, but it should not be understood as a limitation to the protection scope of the embodiments of the present disclosure. It should be noted that for those of ordinary skill in the art, without departing from the concept of the embodiments of the present disclosure, several modifications and improvements can be made, and these all fall within the protection scope of the embodiments of the present disclosure. Therefore, the protection scope of the embodiments of the present disclosure should be subject to the appended claims.

Claims (14)

  1. 一种阅读内容处理方法,所述方法包括:A reading content processing method, the method includes:
    接收阅读模式选择指令,并确定与所述阅读模式选择指令对应的阅读模式;Receiving a reading mode selection instruction, and determining a reading mode corresponding to the reading mode selection instruction;
    确定所述阅读模式所对应的颜色矩阵;Determining the color matrix corresponding to the reading mode;
    获取应用图层的第一像素数据;所述第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到;Acquiring first pixel data of an application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
    根据所述颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据的色温和饱和度中的至少一项,低于所述第一像素数据中的色温和饱和度;Generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than the color temperature and saturation in the first pixel data ;
    按照所述第二像素数据,显示所述应用图层中的内容。According to the second pixel data, the content in the application layer is displayed.
  2. 根据权利要求1所述的方法,其中,所述获取应用图层的第一像素数据,包括:The method according to claim 1, wherein said obtaining the first pixel data of the application layer comprises:
    确定多于一个的所述应用图层各自对应的图层属性;所述图层属性包括图层透明度信息、图层层次信息和图层位置信息;Determining the layer attributes corresponding to more than one of the application layers; the layer attributes include layer transparency information, layer hierarchy information, and layer position information;
    根据所述应用图层中的图层透明度信息、图层层次信息和图层位置信息,对多于一个的所述应用图层的初始像素数据进行合成处理,得到对应的第一像素数据。According to the layer transparency information, layer level information, and layer position information in the application layer, the initial pixel data of more than one application layer is synthesized to obtain the corresponding first pixel data.
  3. 根据权利要求1所述的方法,其中,所述根据所述颜色矩阵和所述第一像素数据,生成第二像素数据,包括:The method according to claim 1, wherein said generating second pixel data according to said color matrix and said first pixel data comprises:
    确定所述第一像素数据中各像素点的颜色分量;Determining the color component of each pixel in the first pixel data;
    将各所述像素点的颜色分量分别与所述颜色矩阵相乘,得到第二像素数据;所述颜色矩阵通过预设饱和度矩阵与预设色温矩阵相乘得到。The color components of each pixel are respectively multiplied by the color matrix to obtain second pixel data; the color matrix is obtained by multiplying a preset saturation matrix and a preset color temperature matrix.
  4. 根据权利要求1所述的方法,其中,所述根据所述颜色矩阵和所述第一像素数据,生成第二像素数据,包括:The method according to claim 1, wherein said generating second pixel data according to said color matrix and said first pixel data comprises:
    当所述阅读模式为彩色阅读模式时,根据所述彩色阅读模式所对应的彩色颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据相较于所述第一像素数据的色相保持不变。When the reading mode is a color reading mode, second pixel data is generated according to the color color matrix corresponding to the color reading mode and the first pixel data; the second pixel data is compared with the first pixel data The hue of the pixel data remains unchanged.
  5. 根据权利要求1所述的方法,其中,所述根据所述颜色矩阵和所述第一像素数据,生成第二像素数据,包括:The method according to claim 1, wherein said generating second pixel data according to said color matrix and said first pixel data comprises:
    当所述阅读模式为黑白阅读模式时,根据黑白阅读模式所对应的黑白颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据用于将所述应用图层中的内容进行黑白显示。When the reading mode is a black and white reading mode, according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data, second pixel data is generated; the second pixel data is used to use the application layer in The content is displayed in black and white.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述按照所述第二像素数据,显示所述应用图层中的内容,包括:The method according to any one of claims 1 to 5, wherein the displaying the content in the application layer according to the second pixel data comprises:
    将所述第二像素数据发送至帧缓冲区,发送的所述第二像素数据用于指示所述帧缓冲区对相应的所述第二像素数据进行渲染处理,得到渲染结果;Sending the second pixel data to a frame buffer, and the sent second pixel data is used to instruct the frame buffer to perform rendering processing on the corresponding second pixel data to obtain a rendering result;
    通过交换链将所述渲染结果交换至屏幕上,以显示所述应用图层中的内容。The rendering result is exchanged on the screen through the exchange chain to display the content in the application layer.
  7. 一种阅读内容处理装置,所述装置包括:A reading content processing device, the device comprising:
    接收模块,配置为接收阅读模式选择指令,并确定与所述阅读模式选择指令对应的阅读模式;A receiving module configured to receive a reading mode selection instruction and determine a reading mode corresponding to the reading mode selection instruction;
    确定模块,配置为确定所述阅读模式所对应的颜色矩阵;A determining module, configured to determine the color matrix corresponding to the reading mode;
    获取模块,配置为获取应用图层的第一像素数据;所述第一像素数据,是将多于一个的应用图层的初始像素数据进行合成得到;The obtaining module is configured to obtain first pixel data of an application layer; the first pixel data is obtained by synthesizing the initial pixel data of more than one application layer;
    生成模块,配置为根据所述颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据的色温和饱和度中的至少一项,低于所述第一像素数据中的色温和饱和度;A generating module configured to generate second pixel data according to the color matrix and the first pixel data; at least one of the color temperature and saturation of the second pixel data is lower than that in the first pixel data The color temperature and saturation;
    显示模块,配置为按照所述第二像素数据,显示所述应用图层中的内 容。The display module is configured to display the content in the application layer according to the second pixel data.
  8. 根据权利要求7所述的装置,其中,所述获取模块,配置为确定多于一个的所述应用图层各自对应的图层属性;所述图层属性包括图层透明度信息、图层层次信息和图层位置信息;根据所述应用图层中的图层透明度信息、图层层次信息和图层位置信息,对多于一个的所述应用图层的初始像素数据进行合成处理,得到对应的第一像素数据。7. The device according to claim 7, wherein the acquiring module is configured to determine the layer attribute corresponding to more than one of the application layers; the layer attribute includes layer transparency information and layer layer information And layer position information; according to the layer transparency information, layer layer information, and layer position information in the application layer, synthesize the initial pixel data of more than one application layer to obtain the corresponding The first pixel data.
  9. 根据权利要求7所述的装置,其中,所述生成模块,配置为确定所述第一像素数据中各像素点的颜色分量;将各所述像素点的颜色分量分别与所述颜色矩阵相乘,得到第二像素数据;所述颜色矩阵通过预设饱和度矩阵与预设色温矩阵相乘得到。7. The device according to claim 7, wherein the generating module is configured to determine the color component of each pixel in the first pixel data; and multiply the color component of each pixel by the color matrix. , Obtain the second pixel data; the color matrix is obtained by multiplying the preset saturation matrix and the preset color temperature matrix.
  10. 根据权利要求7所述的装置,其中,所述生成模块,配置为当所述阅读模式为彩色阅读模式时,根据所述彩色阅读模式所对应的彩色颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据相较于所述第一像素数据的色相保持不变。8. The device according to claim 7, wherein the generating module is configured to generate a color matrix corresponding to the color reading mode and the first pixel data when the reading mode is a color reading mode The second pixel data; compared with the first pixel data, the hue of the second pixel data remains unchanged.
  11. 根据权利要求7所述的装置,其中,所述生成模块,配置为当所述阅读模式为黑白阅读模式时,根据黑白阅读模式所对应的黑白颜色矩阵和所述第一像素数据,生成第二像素数据;所述第二像素数据用于将所述应用图层中的内容进行黑白显示。8. The device according to claim 7, wherein the generating module is configured to generate a second pixel data according to the black and white color matrix corresponding to the black and white reading mode and the first pixel data when the reading mode is the black and white reading mode. Pixel data; the second pixel data is used to display the content in the application layer in black and white.
  12. 根据权利要求7至11中任一项所述的装置,其中,所述显示模块,配置为将所述第二像素数据发送至帧缓冲区,发送的所述第二像素数据用于指示所述帧缓冲区对相应的所述第二像素数据进行渲染处理,得到渲染结果;通过交换链将所述渲染结果交换至屏幕上,以显示所述应用图层中的内容。The device according to any one of claims 7 to 11, wherein the display module is configured to send the second pixel data to a frame buffer, and the sent second pixel data is used to indicate the The frame buffer performs rendering processing on the corresponding second pixel data to obtain a rendering result; the rendering result is exchanged on the screen through a swap chain to display the content in the application layer.
  13. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现权利 要求1至6中任一项所述的方法的步骤。A computer device, comprising a memory, a processor, and a computer program stored on the memory and capable of running on the processor. The processor implements the method according to any one of claims 1 to 6 when the processor executes the computer program A step of.
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至6中任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are realized.
PCT/CN2021/087071 2020-04-23 2021-04-13 Method and apparatus for processing reading content, computer device and storage medium WO2021213222A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010327460.0 2020-04-23
CN202010327460.0A CN113553127B (en) 2020-04-23 2020-04-23 Reading content processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021213222A1 true WO2021213222A1 (en) 2021-10-28

Family

ID=78129336

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/087071 WO2021213222A1 (en) 2020-04-23 2021-04-13 Method and apparatus for processing reading content, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN113553127B (en)
WO (1) WO2021213222A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023225771A1 (en) * 2022-05-23 2023-11-30 Qualcomm Incorporated Concurrent frame buffer composition scheme

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104934014A (en) * 2015-06-29 2015-09-23 广东欧珀移动通信有限公司 Eyesight protection method and apparatus
CN107038037A (en) * 2017-05-22 2017-08-11 北京小米移动软件有限公司 Display mode switching method and device
CN107885435A (en) * 2017-11-27 2018-04-06 深圳市金立通信设备有限公司 A kind of display control method, terminal and computer-readable medium
US10331207B1 (en) * 2013-03-15 2019-06-25 John Castle Simmons Light management for image and data control

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102366230B1 (en) * 2015-03-30 2022-02-23 삼성전자 주식회사 Display apparatus and control method thereof
CN106022430B (en) * 2016-05-18 2022-01-07 北京鼎九信息工程研究院有限公司 Method and device for generating, recognizing and reading synthetic color two-dimensional graph code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10331207B1 (en) * 2013-03-15 2019-06-25 John Castle Simmons Light management for image and data control
CN104934014A (en) * 2015-06-29 2015-09-23 广东欧珀移动通信有限公司 Eyesight protection method and apparatus
CN107038037A (en) * 2017-05-22 2017-08-11 北京小米移动软件有限公司 Display mode switching method and device
CN107885435A (en) * 2017-11-27 2018-04-06 深圳市金立通信设备有限公司 A kind of display control method, terminal and computer-readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023225771A1 (en) * 2022-05-23 2023-11-30 Qualcomm Incorporated Concurrent frame buffer composition scheme

Also Published As

Publication number Publication date
CN113553127B (en) 2023-04-11
CN113553127A (en) 2021-10-26

Similar Documents

Publication Publication Date Title
US11373275B2 (en) Method for generating high-resolution picture, computer device, and storage medium
CN109472839B (en) Image generation method and device, computer equipment and computer storage medium
US5870100A (en) Filling of graphical regions
WO2021169307A1 (en) Makeup try-on processing method and apparatus for face image, computer device, and storage medium
CN105955687B (en) Image processing method, device and system
WO2019119791A1 (en) Driving method and driving apparatus for display apparatus
CA3154893C (en) Image color transferring method, device, computer equipment and storage medium
WO2019101005A1 (en) Pixel compensation method and apparatus, and terminal device
CN110473282B (en) Dyeing processing method and device for object model, computer equipment and storage medium
US10110832B2 (en) Method and apparatus to reduce display lag using scaling
KR101993941B1 (en) Caching coverage values for rendering text using anti-aliasing techniques
KR20150121781A (en) Image display system
EP0690433A1 (en) General purpose computer display adaptor
CN110599564A (en) Image display method and device, computer equipment and storage medium
WO2021213222A1 (en) Method and apparatus for processing reading content, computer device and storage medium
JP2015523593A5 (en)
KR102206047B1 (en) Terminal and apparatus and method for reducing display lag
JP7463642B2 (en) Display effect enhancing method, device, and equipment
CN110457098B (en) Page local image sharing method, device, equipment and storage medium
CN112686939A (en) Depth image rendering method, device and equipment and computer readable storage medium
US20100194772A1 (en) Image display using a computer system, including, but not limited to, display of a reference image for comparison with a current image in image editing
CN108604367A (en) A kind of display methods and hand-hold electronic equipments
US11527023B2 (en) Image processing for increasing visibility of obscured patterns
WO2021103832A1 (en) Method and apparatus for adjusting display brightness, and electronic device, and storage medium
CN113869002A (en) Character display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21791978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21791978

Country of ref document: EP

Kind code of ref document: A1