Screen color filter system and method based on graph acceleration
By introducing a core rendering module and dynamic control module based on graphics acceleration into the screen color filter system, combined with an intuitive user setting interface, the problems of insufficient support, poor flexibility and large performance overhead in the existing technology are solved, and efficient and flexible screen color filter effects are achieved.
Patent Information
- Application Number
- CN202510272466.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2045-03-10
AI Technical Summary
The existing screen color filter technology cannot support multiple filters at the same time, lacks flexibility and customization options, and has high performance overhead, resulting in complex operation and slow switching speed.
Provides a screen color filter system based on graphics acceleration, including a core rendering module, a control module and a user setting interface. The core rendering module is accelerated to run in the GPU based on hardware acceleration, the control module dynamically adjusts the color correction matrix, and the user settings interface supports switching of multiple filter types and custom settings.
It realizes unified support for many different types of screen color filters, improves flexibility and customization capabilities, significantly reduces system load, and realizes fast switching and efficient rendering.
Smart Images

Figure CN119781892A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image display technology, and specifically provides a screen color filter system and method based on graphics acceleration. Background Art
[0002] With the popularization of modern electronic devices, the use of devices such as smart phones, computers, and tablets is becoming more and more frequent. For user groups with special visual needs such as color blindness and color weakness, traditional display screens have obvious obstacles in color recognition. In daily life, work or entertainment, these users cannot correctly distinguish certain colors, which makes it difficult to obtain information, thus affecting the user experience and work efficiency. In order to solve the color recognition problems encountered by color-blind and color-weak users in the process of using electronic devices, the market demand for technologies that can optimize screen color performance and improve color differentiation is increasing. At the same time, color differentiation is also critical in scenarios such as design, image processing, and map reading. Some users have special visual needs, such as the need to enhance contrast or adjust the display effect of specific colors in specific environments or light to ensure clear communication of information.
[0003] Existing screen display technologies are mostly standardized color presentations, lacking flexibility, and have limitations in dealing with color recognition issues for color-blind and color-weak users. They cannot be effectively adjusted according to different visual impairments and are difficult to meet these personalized needs. Therefore, there is an urgent need for a technology that can flexibly adapt to different visual needs and enhance color recognition capabilities to improve the experience of color-blind, color-weak and other special needs people when using electronic devices.
[0004] Screen color filter technology changes the color performance of images by adjusting the color parameters of screen display, such as brightness, contrast, saturation, etc., which does play a certain role in enhancing the user's color recognition ability. However, the existing screen color filter technology in Linux system has the following main disadvantages: 1. Unable to support multiple filters at the same time Most of the existing algorithms for different types of screen color filters are implemented independently, and each filter effect needs to be developed separately, without being implemented through a unified method. When users need to switch different color filters (such as grayscale mode, inverted color mode, and multiple color blindness modes, etc.), the system usually needs to switch to different software paths. This means that each filter must be processed separately and cannot be applied to multiple filter effects at the same time. During the switching process, users may need to manually adjust or reload new filter configurations, which makes the operation complicated and the switching speed slow, affecting the user experience.
[0005] 2. Lack of flexibility and customization options The existing screen color filter functions are relatively fixed, and users can only use a few preset filter modes, and cannot customize settings according to their specific needs. For example, color-blind users may need to enhance or adjust specific colors, but existing filters often only provide a few general color adjustment modes and cannot accurately adapt to individual visual needs. This limits the actual application scope of color filters and makes it difficult to meet the personalized needs of different user groups.
[0006] 3. High performance overhead Many existing screen color filters increase the computational burden of the system when applied, especially on resource-constrained devices (such as old computers or low-performance hardware), running filters may cause significant performance degradation, screen freezes or delays. This is mainly because the filter needs to process colors in real time at the display level, especially on high refresh rate displays, which places high demands on the system's image processing capabilities. Summary of the invention
[0007] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least partially solve the technical problems of the existing screen color filter technology, such as poor flexibility, high performance requirements, complex operation and slow switching speed when applied to various filter effects.
[0008] In a first aspect, the present invention provides a screen color filter system based on graphics acceleration, comprising a core rendering module, a control module and a user setting interface. The core rendering module is used to receive the color correction matrix and the screen image to be displayed input by the upper control module, process the screen image to be displayed according to the color correction matrix, and display the processed screen image; The control module is used to dynamically adjust the color correction matrix of the core rendering module. The control module exposes a portion of the D-bus service interface for screen color filter settings. The D-bus service interface is used when responding to operations on the user setting interface to switch the color filter type or turn on / off the color filter; The user setting interface has a color filter switch function, a color filter type switch function, a color filter shortcut key function switch and a color filter effect preview function, which is used for users to turn on / off the screen color filter, switch the color filter type, and set the color filter shortcut key switch according to needs, and display the real-time changing filter effects.
[0009] Furthermore, the operation of the user setting interface also includes shortcut key operation, and both the shortcut key operation and the user setting interface serve as user input. When the shortcut key operation is in the state where the color filter shortcut key function is turned on, when the color filter is turned on / off by the preset shortcut key, the system shortcut key manager notifies the control module.
[0010] Furthermore, the core rendering module is implemented based on hardware acceleration and runs in the GPU, and the control module and the core rendering module run in the same process.
[0011] Furthermore, the control module is also preset with a screen color correction matrix corresponding to a variety of color filter types.
[0012] Furthermore, the D-bus service interface may also be used by a time manager in the system to dynamically adjust the color filter type according to time.
[0013] In a second aspect, the present invention provides a screen color filter method based on graphics acceleration, which runs on the screen color filter system, and includes the following steps: S1. After the system is turned on, the hardware detection is initialized and the OpenGL Shader program required during the operation of the screen color filter system is compiled; S2, start and initialize the core rendering module, and guide the GPU to load the compiled OpenGL Shader program; S3, starting the control module, initializing the color correction matrix corresponding to a plurality of preset screen color filter types; S4, determining whether there is a user configuration file, if so, initializing the color filter state according to the user configuration file, if not, initializing the color filter state according to the system configuration file; after initializing the color filter state, starting screen color filter rendering; S5, the control module registers the system shortcut key, and responds to the system shortcut key by monitoring the shortcut key event; S6, the control module registers the D-bus service interface, associates the D-bus service interface with the screen color filter interface, and controls the core rendering module to respond to specific interface instructions by monitoring the D-bus service interface; S7, initialize the user setting interface, obtain the current screen color filter status through the D-bus service interface to complete the user setting interface initialization, monitor the user's operation in the user setting interface, and control the change of the screen color filter status through the D-bus service interface.
[0014] Furthermore, the method also includes synchronously updating the configuration file when the screen color filter state is changed, Determine whether the new color correction matrix is consistent with the system configuration file: (1) If yes, then end directly; (2) If not, determine whether there is a user configuration file: ① If not, create a blank user configuration file and write the current parameters into the user configuration file; ② If yes, determine whether the new color correction matrix is consistent with the user configuration file: if yes, end directly; if not, write the new color correction matrix into the user configuration file.
[0015] Furthermore, the preset screen color filter types include a red-blindness filter, a green-blindness filter, a tritanopia filter, a grayscale filter, and an inverted color filter.
[0016] Working principle and beneficial effects of the present invention: In the technical solution of the present invention, the unification of the implementation schemes of various types of screen color filters is achieved, and the natural and smooth switching between different types of screen color filters is supported. An intuitive and user-friendly setting interface is provided to support users to control the screen color filter through the interface, support the input of a customized screen color correction matrix, achieve a customized screen color filter effect, and improve the flexibility of the screen color filter. The screen color filter algorithm is integrated into the rendering process of the Linux system display server, and all the core rendering modules are placed in the GPU for operation, which can achieve zero copy in the core rendering process, optimize the color filter calculation method, pre-calculate the screen color correction matrix, improve the efficiency of the color filter, and achieve the screen color filter effect with extremely low system load. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which: Figure 1 It is a structural block diagram of a screen color filter system based on graphics acceleration of the present invention; Figure 2 It is a schematic diagram of the implementation process of the custom screen color filter function of the present invention; Figure 3 The present invention is a schematic flow chart of the main steps of a screen color filter method based on graphics acceleration. DETAILED DESCRIPTION
[0018] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention. Example 1
[0019] In an embodiment of the present invention, a screen color filter system based on graphics acceleration is proposed, which supports multiple color filters and can be freely expanded, optimizes the performance of traditional screen color filters, and enables the computer system to better serve users with color blindness, color weakness and other special visual needs. Figure 1FIG. 1 is a structural block diagram of a screen color filter system based on graphics acceleration according to the present invention. Figure 1 As shown, a screen color filter system based on graphics acceleration in this embodiment includes the following three modules.
[0020] 1. Screen color filter core rendering module The core rendering module of the screen color filter is the core functional module of the screen color filter and is the underlying foundation of the entire screen color filter system. The core rendering module is all implemented based on hardware acceleration and runs in the GPU.
[0021] The screen color filter core rendering module involves three sub-modules: The main function of the input module is to receive the screen color filter parameters (i.e. the four-dimensional screen color correction matrix) input by the upper control module and the original screen image to be displayed; The hardware acceleration calculation module processes the original screen image to be displayed according to the screen color filter parameters (corresponding to Figure 1 Rendering color filter effects); The output module sends the screen image processed by the color filter to the display (corresponding to Figure 1 Output color filter rendered image).
[0022] In this embodiment, the core rendering module dynamically adjusts the screen color through a four-dimensional screen color correction matrix, can support stepless adjustment of the screen color, and realize any variety of different types of screen color filter effects. It supports upper-level custom color filters, unifies multiple screen color filter solutions, avoids the problem of one filter and one solution, can easily complete the expansion of color filter types, improves the flexibility of screen color filters, can significantly reduce the software volume of screen color filters, and can realize natural and smooth switching between different types of screen color filters. At the same time, the core rendering module runs in the GPU, can directly access the video memory content and output image data to the video memory, all based on hardware acceleration, and the color filter rendering process does not involve mutual copying between memory and video memory, which improves rendering efficiency. At the same time, the screen color correction matrix is pre-calculated by the optimized color filter algorithm and GPU accelerated calculation, which significantly reduces the CPU load during the operation of the screen color filter. During the operation, the new screen color correction matrix only needs to be transmitted from the upper control module to the core rendering module. The intermediate process does not involve CPU calculation, which greatly reduces the operation load. Even when running on a machine with poor performance, it will not cause obvious performance degradation, thereby improving the performance of the screen color filter.
[0023] In one implementation, the principle of controlling the core rendering module based on a four-dimensional color correction matrix to achieve a color filter effect is as follows: In computer systems, colors are usually represented by three channels: R, G, and B (i.e. red channel, green channel, and blue channel). By adjusting the values of these three channels, a specific screen color effect can be achieved. Taking the red, green, and blue color blindness modes as an example, the red, green, and blue color blindness mode color filters map the color values that color blind patients cannot perceive to the color channels they can perceive in some way.
[0024] Usually, the color value is represented by a vec4 type variable in the OpenGL Shader program. The input color of the screen color filter can be represented by a three-dimensional vector [R, G, B]. However, in order to facilitate calculation in the OpenGL Shader program, it is expanded to a four-dimensional vector [R, G, B, 1]. The four-dimensional color correction matrix is represented by a mat4 type variable in the OpenGL shader program. Assume that the four-dimensional color correction matrix value is [m 11 ,m 12 ,m 13 ,m 14 ;m 21 ,m 22 ,m 23 ,m 24 ;m 31 ,m 32 ,m 33 ,m 34 ;m 41 ,m 42 ,m 43 ,m 44 ], multiply the 4D color correction matrix by the input color value: ; The output of matrix multiplication is a four-dimensional vector [R', G', B', N] (where N is a meaningless value, and the screen color filter core rendering module will replace the fourth channel N with 1 when outputting), where: ; ; ; [R', G', B'] is the color value finally output by the core rendering module.
[0025] Based on this principle, the core rendering module based on the four-dimensional color correction matrix can be compatible with various color filter effects. Taking the grayscale filter effect as an example, according to the grayscale conversion formula, Gray=0.39 R+0.5 G+0.11 B, the following color correction matrix can be constructed to achieve grayscale effect: ; 2. Screen color filter control module The screen color filter control module and the core rendering module run in the same process. The function of the control module is to dynamically adjust the screen color correction matrix of the core rendering module (that is, output the corresponding filter parameters to the core rendering module) to achieve dynamic adjustment of the screen color filter effect (corresponding to Figure 1 The control module will preset the screen color correction matrix corresponding to several common color filters, so that users who do not have personalized customization requirements can easily and quickly set the screen color filter (corresponding to Figure 1 The control module will expose some screen color filter setting interfaces (i.e., D-bus service interfaces) to the outside world. These interfaces are used in response to the operation of the user setting interface to control the switching of screen color filters or customize screen color filters. These interfaces can also be used by other components in the system, such as the time manager in the system to dynamically adjust the screen color filter according to time.
[0026] In one implementation, the control module has a shortcut key function. By providing a shortcut key interface, the user can directly use the shortcut key to turn on and off the color filter function.
[0027] 3. User settings interface The user settings interface has a color filter switch function, a color filter type switch function, a color filter shortcut key function switch and a color filter effect preview function, allowing users to switch screen color filters, switch screen color filters, personalize color filters and set color filter shortcut key switches through the human-computer interaction interface according to personal needs, and display the real-time changing filter effects.
[0028] The color filter switch is used to control the filter startup, and the color filter shortcut key function switch is used to control the start and stop of the shortcut key. The color filter switch on the user setting interface is realized by calling the D-bus interface, and the color filter shortcut key function switch is directly responded by the core control module. When the color filter shortcut key function switch is turned off, the user can only call the D-bus interface to turn on or off the color filter through the color filter switch on the user setting interface.
[0029] In this embodiment, the user setting interface supports users to freely define screen color filters and supports users to adjust specific colors. Figure 2 FIG. 1 is a schematic diagram of the implementation process of the custom screen color filter function of the present invention. Figure 2As shown, the user can select several preset color filter types through the user setting interface, or input a customized screen color filter through the user setting interface to generate a corresponding configuration file, which is sent to the control module through the D-bus interface. The control module reads and writes the configuration file to obtain the corresponding screen color correction matrix as the screen color parameter, which is input into the core rendering module together with the original screen image to be displayed to achieve a customized screen color filter effect.
[0030] Figure 2 In the example, user input represents all keyboard and mouse touch operations of the user, including shortcut key operations and input of the user setting interface. The input of the user setting interface represents the user's operation on the color filter front-end interface and the call of the D-bus interface provided by the core control module; shortcut key operation only supports the user to press the keyboard key combination that can be responded by the color filter to control the color filter switch, and the shortcut key operation can only be used to control the color filter switch when the shortcut key function is turned on. The rest requires the user to operate the color filter interface or call the D-bus interface provided by the core control module.
[0031] When operating the user setting interface, the user setting interface will notify the control module through D-bus. When the shortcut key is operated (the shortcut key operation currently only includes switching the color filter), the system shortcut key manager notifies the control module and the control module responds directly, so it does not need to go through D-bus.
[0032] A screen color filter system based on graphics acceleration based on the above architecture realizes the unification of implementation plans for multiple different types of screen color filters and supports natural and smooth switching between different types of screen color filters. An intuitive and user-friendly setting interface is provided to support users to control the screen color filter through the interface, support the input of a customized screen color correction matrix, achieve customized screen color filter effects, and improve the flexibility of the screen color filter. The screen color filter algorithm is integrated into the rendering process of the Linux system display server, and all core rendering modules are placed in the GPU for operation, which can achieve zero copy in the core rendering process, optimize the color filter calculation method, pre-calculate the screen color correction matrix, improve the efficiency of the color filter, and achieve the screen color filter effect with extremely low system load. Example 2
[0033] In an embodiment of the present invention, a screen color filter method based on graphics acceleration is proposed, which is implemented based on the system shown in Example 1. Figure 3 FIG. 1 is a flow chart of the main steps of a screen color filter method based on graphics acceleration according to the present invention. Figure 3 As shown, a screen color filter method based on graphics acceleration in this embodiment mainly includes the following steps S1 to S7.
[0034] S1. After the system is turned on, the hardware detection is initialized and the OpenGL Shader program required during the operation of the screen color filter system is compiled.
[0035] After the system is powered on, the screen color filter system will start along with the graphics system, and will first initialize the screen color filter core rendering module, including but not limited to the OpenGL Shader program required during the operation of the precompiled color filter. The OpenGL Shader program is a computing program that runs on the GPU. It uses the parallel computing power of the GPU to efficiently process the rendering tasks of the screen color filter. Compared with the CPU performing a large number of matrix operations, this method not only reduces the CPU load, but also greatly improves the rendering efficiency. By receiving the original screen color data and color correction matrix of the screen image as input, the color filter OpenGL Shader program can output colors with color filter effects attached, thereby realizing screen color filter effects based on graphics acceleration.
[0036] S2, start and initialize the core rendering module, and guide the GPU to load the compiled OpenGL Shader program; S3, start the control module, and initialize the color correction matrices corresponding to several preset screen color filter types (red blindness filter, green blindness filter, blue blindness filter, grayscale filter, and inverted color filter).
[0037] S4. Determine whether there is a user configuration file. If so, initialize the color filter state according to the user configuration file. If not, initialize the color filter state according to the system configuration file. Then start the screen color filter rendering, including the type of the current color filter, the on / off state of the color filter, and the on / off state of the shortcut key function of the color filter. According to the screen color filter type specified in the configuration file, send the corresponding screen color correction matrix to the core rendering module.
[0038] In this embodiment, the user configuration file and the system configuration file are located in different directories. The system configuration file is located in the system directory, and the user configuration file is located in its own user directory. The read and write permissions are different. The system configuration file supports modification by administrator users, and ordinary users only have read permissions. Ordinary users have read and write permissions for their own user configuration files. There is no difference in the content of the two, but there is a priority order. When the user configuration file exists, the color filter will automatically ignore the system configuration file.
[0039] In this embodiment, the configuration file is directly read and written by the core control module of the color filter, the user setting interface input is notified to the control module via D-bus and the control module responds, and the shortcut key function is sent by the shortcut key manager to the control module by the shortcut key pressing message and then the control module directly responds.
[0040] S5. The control module registers a system shortcut key, and responds to the system shortcut key by monitoring the shortcut key event, thereby supporting the user to quickly enable the screen color filter through the shortcut key.
[0041] In one implementation, a Win+C system shortcut key is registered for the color filter switch, and the shortcut key is monitored. When the Win+C shortcut key is pressed, it is determined whether the shortcut key function is turned on. If it is turned on, the control module changes the screen color filter state and sends a color filter state change signal. The control module writes a new color correction matrix to the core rendering module and performs a full-screen refresh.
[0042] S6. The control module registers the D-bus service interface, associates the D-bus service interface with the screen color filter interface, and controls the core rendering module to respond to specific interface instructions by monitoring the D-bus service interface.
[0043] As a convenient cross-process communication method, D-bus service can realize cross-process function interface calls. Through this binding mechanism, the user setting interface can indirectly call the screen color filter function interface provided by the control module by accessing the D-bus service interface registered by the control module. When the user setting interface calls the D-bus interface, the control module changes the screen color filter state and sends a color filter state change signal. The control module writes a new color correction matrix to the core rendering module and performs a full-screen refresh.
[0044] Specifically, the control module will control the core rendering module to perform operations including screen color filter on / off control, type switching, shortcut key start / stop function control, and filter parameter adjustment according to the specific interface instructions called. The color filter on / off, type switching, and parameter adjustment are all achieved by adjusting the screen color correction matrix of the core rendering module, while the shortcut key start / stop function is achieved within the control module.
[0045] At the same time, when the color filter status changes, the control module will also notify the user setting interface through D-bus to update the color filter effect preview displayed on the interface.
[0046] S7, initialize the user setting interface, obtain the current screen color filter status through the D-bus service interface to complete the user setting interface initialization, monitor the user's operation in the user setting interface, and control the change of the screen color filter status through the D-bus service interface.
[0047] At the same time, the D-bus interface is monitored, and when the shortcut key function is disabled, the state is synchronized when determining whether the shortcut key function is enabled.
[0048] When the screen color filter state is changed by any of the above conditions S5-S7, including turning on / off the color filter by monitoring the shortcut key events, monitoring the user operation of the D-bus service interface (color filter switch, color filter type switch), and synchronously updating the configuration file, specifically including: Determine whether the current parameters (new color correction matrix) are consistent with the system configuration file. (1) If yes, then end directly; (2) If not, determine whether the user configuration file exists (it will not exist when the user logs out): ① If not, create a blank user configuration file and write the current parameters into the user configuration file; ② If yes, determine whether the current parameters are consistent with the user configuration file: if yes, end directly; if not, write the current parameters into the user configuration file.
[0049] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0050] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A screen color filter system based on graphics acceleration, characterized in that: Including core rendering module, control module and user setting interface, The core rendering module is used to receive the color correction matrix and the screen image to be displayed input by the upper control module, process the screen image to be displayed according to the color correction matrix, and display the processed screen image; The control module is used to dynamically adjust the color correction matrix of the core rendering module. The control module exposes a portion of the D-bus service interface for screen color filter settings. The D-bus service interface is used when responding to operations on the user setting interface to switch the color filter type or turn on / off the color filter; The user setting interface has a color filter switch function, a color filter type switch function, a color filter shortcut key function switch and a color filter effect preview function, which is used for users to turn on / off the screen color filter, switch the color filter type, and set the color filter shortcut key switch according to needs, and display the real-time changing filter effects.
2. A screen color filter system based on graphics acceleration according to claim 1, characterized in that: The operation of the user setting interface also includes shortcut key operation. Both the shortcut key operation and the user setting interface serve as user input. When the shortcut key function of the color filter is turned on, the system shortcut key manager notifies the control module when the color filter is turned on / off by the preset shortcut key.
3. The screen color filter system based on graphics acceleration according to claim 1, characterized in that: The core rendering module is implemented based on hardware acceleration and runs in the GPU. The control module and the core rendering module run in the same process.
4. The screen color filter system based on graphics acceleration according to claim 1, characterized in that: The control module is also preset with a screen color correction matrix corresponding to various color filter types.
5. The screen color filter system based on graphics acceleration according to claim 1, characterized in that: The D-bus service interface can also be used by a time manager in the system to dynamically adjust the color filter type according to time.
6. A screen color filter method based on graphics acceleration, running on the screen color filter system according to any one of claims 1 to 5, characterized in that: The following steps are involved: S1. After the system is turned on, the hardware detection is initialized and the OpenGL Shader program required during the operation of the screen color filter system is compiled; S2, start and initialize the core rendering module, and guide the GPU to load the compiled OpenGL Shader program; S3, starting the control module, initializing the color correction matrix corresponding to a plurality of preset screen color filter types; S4, determining whether there is a user configuration file, if so, initializing the color filter state according to the user configuration file, if not, initializing the color filter state according to the system configuration file; after initializing the color filter state, starting screen color filter rendering; S5, the control module registers the system shortcut key, and responds to the system shortcut key by monitoring the shortcut key event; S6, the control module registers the D-bus service interface, associates the D-bus service interface with the screen color filter interface, and controls the core rendering module to respond to specific interface instructions by monitoring the D-bus service interface; S7, initialize the user setting interface, obtain the current screen color filter status through the D-bus service interface to complete the user setting interface initialization, monitor the user's operation in the user setting interface, and control the change of the screen color filter status through the D-bus service interface.
7. The screen color filter method based on graphics acceleration according to claim 6, characterized in that: It also includes synchronously updating the configuration file when changing the screen color filter status. Determine whether the new color correction matrix is consistent with the system configuration file: (1) If yes, then end directly; (2) If not, determine whether there is a user configuration file: ① If not, create a blank user configuration file and write the current parameters into the user configuration file; ② If yes, determine whether the new color correction matrix is consistent with the user configuration file: if yes, end directly; if not, write the new color correction matrix into the user configuration file.
8. The screen color filter method based on graphics acceleration according to claim 6, characterized in that: The preset screen color filter types include a red-blindness filter, a green-blindness filter, a tritanopia filter, a grayscale filter, and an inverted color filter.
Citation Information
Patent Citations
Modularized real-time video and image processing method base on GPU
CN104869323A
Picture processing method and device
CN105528802A
Filter adjusting method and electronic equipment
CN111050050A
Terminal interface color correction method and device, electronic equipment and terminal
CN111796889A
Image processing method and device, equipment and storage medium
CN113810675A